|
|
@ -461,6 +461,11 @@ public:
|
|
|
|
bool canGetAddresses() override { return m_wallet->CanGetAddresses(); }
|
|
|
|
bool canGetAddresses() override { return m_wallet->CanGetAddresses(); }
|
|
|
|
bool hasExternalSigner() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER); }
|
|
|
|
bool hasExternalSigner() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER); }
|
|
|
|
bool privateKeysDisabled() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS); }
|
|
|
|
bool privateKeysDisabled() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS); }
|
|
|
|
|
|
|
|
bool taprootEnabled() override {
|
|
|
|
|
|
|
|
if (m_wallet->IsLegacy()) return false;
|
|
|
|
|
|
|
|
auto spk_man = m_wallet->GetScriptPubKeyMan(OutputType::BECH32M, /*internal=*/false);
|
|
|
|
|
|
|
|
return spk_man != nullptr;
|
|
|
|
|
|
|
|
}
|
|
|
|
OutputType getDefaultAddressType() override { return m_wallet->m_default_address_type; }
|
|
|
|
OutputType getDefaultAddressType() override { return m_wallet->m_default_address_type; }
|
|
|
|
CAmount getDefaultMaxTxFee() override { return m_wallet->m_default_max_tx_fee; }
|
|
|
|
CAmount getDefaultMaxTxFee() override { return m_wallet->m_default_max_tx_fee; }
|
|
|
|
void remove() override
|
|
|
|
void remove() override
|
|
|
|