|
| DescriptorScriptPubKeyMan (WalletStorage &storage, WalletDescriptor &descriptor) |
|
| DescriptorScriptPubKeyMan (WalletStorage &storage, bool internal) |
|
bool | GetNewDestination (const OutputType type, CTxDestination &dest, std::string &error) override |
|
isminetype | IsMine (const CScript &script) const override |
|
bool | CheckDecryptionKey (const CKeyingMaterial &master_key, bool accept_no_keys=false) override |
| Check that the given decryption key is valid for this ScriptPubKeyMan, i.e.
|
|
bool | Encrypt (const CKeyingMaterial &master_key, WalletBatch *batch) override |
|
bool | GetReservedDestination (const OutputType type, bool internal, CTxDestination &address, int64_t &index, CKeyPool &keypool) override |
|
void | ReturnDestination (int64_t index, bool internal, const CTxDestination &addr) override |
|
bool | TopUp (unsigned int size=0) override |
| Fills internal address pool.
|
|
void | MarkUnusedAddresses (const CScript &script) override |
| Mark unused addresses as being used.
|
|
bool | IsHDEnabled () const override |
|
bool | SetupDescriptorGeneration (const CExtKey &master_key, OutputType addr_type) |
| Setup descriptors based on the given CExtkey.
|
|
bool | HavePrivateKeys () const override |
|
int64_t | GetOldestKeyPoolTime () const override |
|
size_t | KeypoolCountExternalKeys () const override |
|
unsigned int | GetKeyPoolSize () const override |
|
int64_t | GetTimeFirstKey () const override |
|
std::unique_ptr< CKeyMetadata > | GetMetadata (const CTxDestination &dest) const override |
|
bool | CanGetAddresses (bool internal=false) const override |
| Returns true if the wallet can give out new addresses.
|
|
std::unique_ptr< SigningProvider > | GetSolvingProvider (const CScript &script) const override |
|
bool | CanProvide (const CScript &script, SignatureData &sigdata) override |
| Whether this ScriptPubKeyMan can provide a SigningProvider (via GetSolvingProvider) that, combined with sigdata, can produce solving data.
|
|
bool | SignTransaction (CMutableTransaction &tx, const std::map< COutPoint, Coin > &coins, SigHashType sighash, std::map< int, std::string > &input_errors) const override |
| Creates new signatures and adds them to the transaction.
|
|
SigningResult | SignMessage (const std::string &message, const PKHash &pkhash, std::string &str_sig) const override |
| Sign a message with the given script.
|
|
TransactionError | FillPSBT (PartiallySignedTransaction &psbt, SigHashType sighash_type=SigHashType().withForkId(), bool sign=true, bool bip32derivs=false) const override |
| Adds script and derivation path information to a PSBT, and optionally signs it.
|
|
uint256 | GetID () const override |
|
void | SetInternal (bool internal) override |
|
void | SetCache (const DescriptorCache &cache) |
|
bool | AddKey (const CKeyID &key_id, const CKey &key) |
|
bool | AddCryptedKey (const CKeyID &key_id, const CPubKey &pubkey, const std::vector< uint8_t > &crypted_key) |
|
bool | HasWalletDescriptor (const WalletDescriptor &desc) const |
|
void | UpdateWalletDescriptor (WalletDescriptor &descriptor) |
|
bool | CanUpdateToWalletDescriptor (const WalletDescriptor &descriptor, std::string &error) |
|
void | AddDescriptorKey (const CKey &key, const CPubKey &pubkey) |
|
void | WriteDescriptor () |
|
const WalletDescriptor | GetWalletDescriptor () const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man) |
|
const std::vector< CScript > | GetScriptPubKeys () const |
|
| ScriptPubKeyMan (WalletStorage &storage) |
|
virtual | ~ScriptPubKeyMan () |
|
virtual void | KeepDestination (int64_t index, const OutputType &type) |
|
virtual bool | SetupGeneration (bool force=false) |
| Sets up the key generation stuff, i.e.
|
|
virtual bool | Upgrade (int prev_version, bilingual_str &error) |
| Upgrades the wallet to the specified version.
|
|
virtual void | RewriteDB () |
| The action to do when the DB needs rewrite.
|
|
template<typename... Params> |
void | WalletLogPrintf (std::string fmt, Params... parameters) const |
| Prepends the wallet name in logging output to ease debugging in multi-wallet use cases.
|
|
Definition at line 654 of file scriptpubkeyman.h.
Fills internal address pool.
Use within ScriptPubKeyMan implementations should be used sparingly and only when something from the address pool is removed, excluding GetNewDestination and GetReservedDestination. External wallet code is primarily responsible for topping up prior to fetching new addresses
Reimplemented from ScriptPubKeyMan.
Definition at line 1801 of file scriptpubkeyman.cpp.