MCPcopy Create free account
hub / github.com/ElementsProject/elements / privateKeysDisabled

Method privateKeysDisabled

src/wallet/interfaces.cpp:476–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474 bool canGetAddresses() override { return m_wallet->CanGetAddresses(); }
475 bool hasExternalSigner() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER); }
476 bool privateKeysDisabled() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS); }
477 bool taprootEnabled() override {
478 if (m_wallet->IsLegacy()) return false;
479 auto spk_man = m_wallet->GetScriptPubKeyMan(OutputType::BECH32M, /*internal=*/false);

Callers 14

prepareTransactionMethod · 0.80
getEncryptionStatusMethod · 0.80
bumpFeeMethod · 0.80
updateWalletStatusMethod · 0.80
openWithPSBTMethod · 0.80
showTransactionStatusMethod · 0.80
setModelMethod · 0.80
PrepareSendTextMethod · 0.80
sendButtonClickedMethod · 0.80
setBalanceMethod · 0.80
useAvailableBalanceMethod · 0.80

Calls 1

IsWalletFlagSetMethod · 0.80

Tested by

no test coverage detected