MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / privateKeysDisabled

Method privateKeysDisabled

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

Source from the content-addressed store, hash-verified

482 bool canGetAddresses() override { return m_wallet->CanGetAddresses(); }
483 bool hasExternalSigner() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER); }
484 bool privateKeysDisabled() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS); }
485 bool taprootEnabled() override {
486 auto spk_man = m_wallet->GetScriptPubKeyMan(OutputType::BECH32M, /*internal=*/false);
487 return spk_man != nullptr;

Callers 10

prepareTransactionMethod · 0.80
getEncryptionStatusMethod · 0.80
requestUnlockMethod · 0.80
bumpFeeMethod · 0.80
updateWalletStatusMethod · 0.80
openWithPSBTMethod · 0.80
showTransactionStatusMethod · 0.80
setModelMethod · 0.80
PrepareSendTextMethod · 0.80
sendButtonClickedMethod · 0.80

Calls 1

IsWalletFlagSetMethod · 0.80

Tested by

no test coverage detected