|
| std::map< CKeyID, CKeyMetadata > mapKeyMetadata | GUARDED_BY (cs_KeyStore) |
| |
| std::map< CScriptID, CKeyMetadata > m_script_metadata | GUARDED_BY (cs_KeyStore) |
| |
| bool | CheckDecryptionKey (const CKeyingMaterial &master_key) override |
| | Check that the given decryption key is valid for this ScriptPubKeyMan, i.e. it decrypts all of the keys handled by it. More...
|
| |
| std::unordered_set< CScript, SaltedSipHasher > | GetScriptPubKeys () const override |
| | Returns a set of all the scriptPubKeys that this ScriptPubKeyMan watches. More...
|
| |
| std::unique_ptr< SigningProvider > | GetSolvingProvider (const CScript &script) const override |
| |
| uint256 | GetID () const override |
| |
| bool | HaveKey (const CKeyID &address) const override |
| |
| bool | GetKey (const CKeyID &address, CKey &keyOut) const override |
| |
| bool | GetPubKey (const CKeyID &address, CPubKey &vchPubKeyOut) const override |
| |
| bool | GetKeyOrigin (const CKeyID &keyid, KeyOriginInfo &info) const override |
| |
| virtual void | LoadKeyMetadata (const CKeyID &keyID, const CKeyMetadata &metadata) |
| | Load metadata (used by LoadWallet) More...
|
| |
| virtual void | LoadScriptMetadata (const CScriptID &script_id, const CKeyMetadata &metadata) |
| |
| bool | LoadWatchOnly (const CScript &dest) |
| | Adds a watch-only address to the store, without saving it to disk (used by LoadWallet) More...
|
| |
| bool | HaveWatchOnly (const CScript &dest) const |
| | Returns whether the watch-only script is in the wallet. More...
|
| |
| bool | LoadKey (const CKey &key, const CPubKey &pubkey) |
| | Adds a key to the store, without saving it to disk (used by LoadWallet) More...
|
| |
| bool | LoadCryptedKey (const CPubKey &vchPubKey, const std::vector< unsigned char > &vchCryptedSecret, bool checksum_valid) |
| | Adds an encrypted key to the store, without saving it to disk (used by LoadWallet) More...
|
| |
| bool | LoadCScript (const CScript &redeemScript) |
| | Adds a CScript to the store. More...
|
| |
| void | LoadHDChain (const CHDChain &chain) |
| | Load a HD chain model (used by LoadWallet) More...
|
| |
| void | AddInactiveHDChain (const CHDChain &chain) |
| |
| const CHDChain & | GetHDChain () const |
| |
| bool | GetWatchPubKey (const CKeyID &address, CPubKey &pubkey_out) const |
| | Fetches a pubkey from mapWatchKeys if it exists there. More...
|
| |
| std::unordered_set< CScript, SaltedSipHasher > | GetNotMineScriptPubKeys () const |
| | Retrieves scripts that were imported by bugs into the legacy spkm and are simply invalid, such as a sh(sh(pkh())) script, or not watched. More...
|
| |
| std::optional< MigrationData > | MigrateToDescriptor () |
| | Get the DescriptorScriptPubKeyMans (with private keys) that have the same scriptPubKeys as this LegacyDataSPKM. More...
|
| |
| bool | DeleteRecordsWithDB (WalletBatch &batch) |
| | Delete the legacy wallet records from disk. More...
|
| |
| | ScriptPubKeyMan (WalletStorage &storage) |
| |
| | ScriptPubKeyMan (WalletStorage &storage) |
| |
| virtual | ~ScriptPubKeyMan ()=default |
| |
| virtual util::Result< CTxDestination > | GetNewDestination (const OutputType type) |
| |
| virtual bool | IsMine (const CScript &script) const |
| |
| virtual bool | CheckDecryptionKey (const CKeyingMaterial &master_key) |
| | Check that the given decryption key is valid for this ScriptPubKeyMan, i.e. it decrypts all of the keys handled by it. More...
|
| |
| virtual bool | Encrypt (const CKeyingMaterial &master_key, WalletBatch *batch) |
| | Encrypt keys and write them to a batch with an active transaction. Update in-memory keys only after the transaction commits. More...
|
| |
| virtual util::Result< CTxDestination > | GetReservedDestination (const OutputType type, bool internal, int64_t &index) |
| |
| virtual void | KeepDestination (int64_t index, const OutputType &type) |
| |
| virtual void | ReturnDestination (int64_t index, bool internal, const CTxDestination &addr) |
| |
| virtual bool | TopUp (unsigned int size=0) |
| | Fills internal address pool. More...
|
| |
| virtual std::vector< WalletDestination > | MarkUnusedAddresses (const CScript &script) |
| | Mark unused addresses as being used Affects all keys up to and including the one determined by provided script. More...
|
| |
| virtual bool | IsHDEnabled () const |
| |
| virtual bool | CanGetAddresses (bool internal=false) const |
| |
| virtual bool | HavePrivateKeys () const |
| |
| virtual bool | HaveCryptedKeys () const |
| |
| virtual unsigned int | GetKeyPoolSize () const |
| |
| virtual int64_t | GetTimeFirstKey () const |
| |
| virtual std::unique_ptr< CKeyMetadata > | GetMetadata (const CTxDestination &dest) const |
| |
| virtual std::unique_ptr< SigningProvider > | GetSolvingProvider (const CScript &script) const |
| |
| virtual bool | CanProvide (const CScript &script, SignatureData &sigdata) |
| | Whether this ScriptPubKeyMan can provide a SigningProvider (via GetSolvingProvider) that, combined with sigdata, can produce solving data. More...
|
| |
| virtual bool | SignTransaction (CMutableTransaction &tx, const std::map< COutPoint, Coin > &coins, int sighash, std::map< int, bilingual_str > &input_errors) const |
| | Creates new signatures and adds them to the transaction. More...
|
| |
| virtual SigningResult | SignMessage (const std::string &message, const PKHash &pkhash, std::string &str_sig) const |
| | Sign a message with the given script. More...
|
| |
| virtual std::optional< common::PSBTError > | FillPSBT (PartiallySignedTransaction &psbt, const PrecomputedTransactionData &txdata, const common::PSBTFillOptions &options, int *n_signed=nullptr) const |
| | Adds script and derivation path information to a PSBT, and optionally signs it. More...
|
| |
| virtual uint256 | GetID () const |
| |
| virtual std::unordered_set< CScript, SaltedSipHasher > | GetScriptPubKeys () const |
| | Returns a set of all the scriptPubKeys that this ScriptPubKeyMan watches. More...
|
| |
| template<typename... Params> |
| void | WalletLogPrintf (util::ConstevalFormatString< sizeof...(Params)> wallet_fmt, const Params &... params) const |
| | Prepends the wallet name in logging output to ease debugging in multi-wallet use cases. More...
|
| |
| virtual bool | AddKeyPubKey (const CKey &key, const CPubKey &pubkey) |
| |
| virtual bool | AddKey (const CKey &key) |
| |
| virtual bool | GetPubKey (const CKeyID &address, CPubKey &vchPubKeyOut) const override |
| |
| virtual bool | HaveKey (const CKeyID &address) const override |
| |
| virtual std::set< CKeyID > | GetKeys () const |
| |
| virtual bool | GetKey (const CKeyID &address, CKey &keyOut) const override |
| |
| virtual bool | AddCScript (const CScript &redeemScript) |
| |
| virtual bool | HaveCScript (const CScriptID &hash) const override |
| |
| virtual std::set< CScriptID > | GetCScripts () const |
| |
| virtual bool | GetCScript (const CScriptID &hash, CScript &redeemScriptOut) const override |
| |
| virtual | ~SigningProvider ()=default |
| |
| virtual bool | GetCScript (const CScriptID &scriptid, CScript &script) const |
| |
| virtual bool | HaveCScript (const CScriptID &scriptid) const |
| |
| virtual bool | GetPubKey (const CKeyID &address, CPubKey &pubkey) const |
| |
| virtual bool | GetKey (const CKeyID &address, CKey &key) const |
| |
| virtual bool | HaveKey (const CKeyID &address) const |
| |
| virtual bool | GetKeyOrigin (const CKeyID &keyid, KeyOriginInfo &info) const |
| |
| virtual bool | GetTaprootSpendData (const XOnlyPubKey &output_key, TaprootSpendData &spenddata) const |
| |
| virtual bool | GetTaprootBuilder (const XOnlyPubKey &output_key, TaprootBuilder &builder) const |
| |
| virtual std::vector< CPubKey > | GetMuSig2ParticipantPubkeys (const CPubKey &pubkey) const |
| |
| virtual std::map< CPubKey, std::vector< CPubKey > > | GetAllMuSig2ParticipantPubkeys () const |
| |
| virtual void | SetMuSig2SecNonce (const uint256 &id, MuSig2SecNonce &&nonce) const |
| |
| virtual std::optional< std::reference_wrapper< MuSig2SecNonce > > | GetMuSig2SecNonce (const uint256 &session_id) const |
| |
| virtual void | DeleteMuSig2Session (const uint256 &session_id) const |
| |
| bool | GetKeyByXOnly (const XOnlyPubKey &pubkey, CKey &key) const |
| |
| bool | GetPubKeyByXOnly (const XOnlyPubKey &pubkey, CPubKey &out) const |
| |
| bool | GetKeyOriginByXOnly (const XOnlyPubKey &pubkey, KeyOriginInfo &info) const |
| |