CWallet [constructor] | Construct wallet with specified name and database implementation. |
~CWallet [destructor] [virtual] | Destroy the wallet; asserts no unload slots remain connected. |
AbandonTransaction | AbandonTransaction overloads |
AbortRescan | Request that any in-progress rescan abort. |
AddActiveScriptPubKeyMan | Adds the active ScriptPubKeyMan for the specified type and internal. Writes it to the wallet file |
AddToWallet | Add the transaction to the wallet, wrapping it up inside a CWalletTx |
AddWalletDescriptor | Add a descriptor to the wallet, return a ScriptPubKeyMan & associated output type |
ApplyMigrationData | Adds the ScriptPubKeyMans from MigrationData to this wallet, removes the LegacyDataSPKM, and moves transaction and address book entries to watchonly_wallet or solvable_wallet as needed. |
BackupWallet | Copy the wallet database file to a backup path. |
BlockUntilSyncedToCurrentChain | Blocks until the wallet state is up-to-date to /at least/ the current chain at the time this function is entered Obviously holding cs_main/cs_wallet when going into this call may cause deadlock |
CacheNewScriptPubKeys | Add scriptPubKeys for this ScriptPubKeyMan into the scriptPubKey cache |
CanGetAddresses | Returns true if the wallet can give out new addresses. This means it has keys in the keypool or can generate new keys |
CanGrindR | Whether the (external) signer performs R-value signature grinding |
ChangeWalletPassphrase | Change the wallet's encryption passphrase. |
Close | Close wallet database |
CommitTransaction | Submit the transaction to the node's mempool and then relay to peers. Should be called after CreateTransaction unless you want to abort broadcasting the transaction. |
ComputeTimeSmart | Estimate a smart timestamp for a transaction from block and receive times. |
ConnectScriptPubKeyManNotifiers | Connect the signals from ScriptPubKeyMans to the signals in CWallet |
DeactivateScriptPubKeyMan | Remove specified ScriptPubKeyMan from set of active SPK managers. Writes the change to the wallet file. |
DelAddressBook | Remove a destination from the address book. |
DelAddressBookWithDB | Remove a destination from the address book within a database batch. |
DisconnectChainNotifications | Disconnect chain notifications and wait for all notifications to be processed |
DisplayAddress | Display address on an external signer. |
DisplayName | Return wallet name for display, like LogName() but translates "default wallet" string. |
EncryptWallet | Encrypt an unencrypted wallet with the given passphrase. |
EraseAddressReceiveRequest | Erase a stored receive request for a destination. |
FillPSBT | Fills out a PSBT with information from the wallet. Fills in UTXOs if we have them. Tries to sign if options.sign=true. Sets complete if the PSBT is now complete (i.e. has all required signatures or signature-parts, and is ready to finalize.) |
FindAddressBookEntry | Look up an address book entry for a destination. |
ForEachAddrBookEntry | Invoke a callback for each address book entry until it returns false. |
GetActiveScriptPubKeyMans | Returns all unique ScriptPubKeyMans in m_internal_spk_managers and m_external_spk_managers |
GetAddressReceiveRequests | Return the identifiers of all stored receive requests. |
GetAllScriptPubKeyMans | Returns all unique ScriptPubKeyMans |
GetBirthTime | Returns the time of the first created key or, in case of an import, it could be the time of the first received transaction |
GetBroadcastTransactions | Inquire whether this wallet broadcasts transactions. |
GetConflicts | Get wallet transactions that conflict with given transaction (spend same outputs) |
GetDatabase [virtual] | Access the wallet's database backend. |
GetDebit | GetDebit overloads |
GetDescriptorScriptPubKeyMan | Return the DescriptorScriptPubKeyMan for a WalletDescriptor if it is already in the wallet |
GetDescriptorsForLegacy | Get all of the descriptors from a legacy wallet |
GetExtKey | Reconstruct the extended private key for an HD xpub. Returns nullopt when no descriptor has the private key, or the wallet is locked. |
GetHDPubKeys | Retrieve descriptor xpubs matching the requested filter. |
GetKey | Find the private key for the given key id from the wallet's descriptors, if available Returns nullopt when no descriptor has the key or if the wallet is locked. |
GetKeyPoolSize | Count the keys currently available in the keypool. |
GetLastBlockHash | Get the hash of the last block processed by the wallet. |
GetLastBlockHeight | Get last block processed height |
GetLegacyDataSPKM | Get the LegacyDataSPKM used for all legacy output types and both internal and external chains. |
GetName | Get a name for this wallet for logging/debugging purposes. |
GetNewChangeDestination | Generate a new change destination of the given type. |
GetNewDestination | Generate a new receiving destination of the given type. |
GetOrCreateLegacyDataSPKM | Return the legacy data ScriptPubKeyMan, creating it if it does not exist. |
GetScriptPubKeyMan | GetScriptPubKeyMan overloads |
GetScriptPubKeyMans | Get all the ScriptPubKeyMans for a script |
GetSolvingProvider | GetSolvingProvider overloads |
GetTXO | Look up a single wallet output by outpoint. |
GetTXOs | Access the cache of transaction outputs owned by this wallet. |
GetTxBlocksToMaturity | Return the number of blocks until a coinbase transaction matures. |
GetTxConflicts | Find wallet transactions that conflict with the given transaction. |
GetTxDepthInMainChain | Return depth of transaction in blockchain: <0 : conflicts with a transaction this deep in the blockchain 0 : in memory pool, waiting to be included in a block >=1 : this many blocks deep in the main chain |
GetWalletDescriptors | Get the wallet descriptors for a script. |
GetWalletFlags | Retrieve all of the wallet's flags |
GetWalletTx | Look up a wallet transaction by its txid. |
HasEncryptionKeys [virtual] | Report whether the wallet holds any encryption keys. |
HasWalletSpend | Check if a given transaction has any of its outputs spent by another transaction in the wallet |
HaveChain | Interface to assert chain access |
HaveCryptedKeys | Report whether the wallet holds any encrypted private keys. |
HowSpent | Determine how an output has been spent. |
IncOrderPosNext | Increment the next transaction order id |
InitWalletFlags | overwrite all flags by the given uint64_t flags must be uninitialised (or 0) only known flags may be present |
IsAbortingRescan | Report whether a rescan abort has been requested. |
IsActiveScriptPubKeyMan | Report whether a ScriptPubKeyMan is one of the wallet's active managers. |
IsAddressPreviouslySpent | Report whether a destination has been marked as previously spent. |
IsFromMe | should probably be renamed to IsRelevantToMe |
IsHDEnabled | Returns true if HD is enabled |
IsInternalScriptPubKeyMan | Returns whether the provided ScriptPubKeyMan is internal |
IsLocked [virtual] | Report whether the wallet's keys are currently locked (encrypted and unavailable). |
IsLockedCoin | Report whether an output is locked against spending. |
IsMine | IsMine overloads |
IsScanning | Report whether a rescan is running. |
IsScanningWithPassphrase | Report whether the running rescan holds the wallet passphrase. |
IsSpent | Report whether an output is spent by any known transaction. |
IsSpentKey | Whether this or any known scriptPubKey with the same single key has been spent. |
IsTxImmatureCoinBase | Report whether a transaction is an immature coinbase output. |
IsWalletFlagSet [virtual] | check if a certain wallet flag is set |
KeypoolCountExternalKeys | Count the external (receiving) keys available in the keypool. |
ListAddrBookAddresses | Filter and retrieve destinations stored in the addressbook |
ListAddrBookLabels | Retrieve all the known labels in the address book |
ListLockedCoins | List all currently locked outputs. |
LoadActiveScriptPubKeyMan | Loads an active ScriptPubKeyMan for the specified type and internal. (used by LoadWallet) |
LoadAddressPreviouslySpent | Marks destination as previously spent. |
LoadAddressReceiveRequest | Appends payment request to destination. |
LoadDescriptorScriptPubKeyMan | Instantiate a descriptor ScriptPubKeyMan from the WalletDescriptor and load it |
LoadLockedCoin | Load a locked coin from the database into memory. |
LoadToWallet | Load a wallet transaction read from the database into memory. |
LoadWalletFlags | Loads the flags into the wallet. (used by LoadWallet) |
Lock | Lock the wallet, clearing the decrypted master key from memory. |
LockCoin | Lock an output so it is not selected for spending. |
LogName [virtual] | Return wallet name for use in logs, will return "default wallet" if the wallet has no name. |
LogStats | Write summary statistics about the wallet to the log. |
MarkDestinationsDirty | Marks all outputs in each one of the destinations dirty, so their cache is reset and does not return outdated information. |
MarkDirty | Mark cached balances dirty so they are recomputed on next access. |
MarkReplaced | Mark a transaction as replaced by another transaction. |
MaybeUpdateBirthTime | Updates wallet birth time if 'time' is below it |
MigrateToSQLite | Move all records from the BDB database to a new SQLite database for storage. The original BDB file will be deleted and replaced with a new SQLite file. A backup is not created. May crash if something unexpected happens in the filesystem. |
PopulateWalletFromDB | Load wallet records from the database into memory. |
RefreshAllTXOs | Cache outputs that belong to the wallet for all transactions in the wallet |
RefreshTXOsFromTx | Cache outputs that belong to the wallet from a single transaction |
RemoveTxs | RemoveTxs overloads |
ReorderTransactions | Reassign order positions to all wallet transactions. |
RescanFromTime | Rescan the chain for wallet transactions from a given start time. |
ResubmitWalletTransactions | Resubmit unconfirmed wallet transactions to the mempool and peers. |
ScanForWalletTransactions | Scan a range of blocks for transactions relevant to this wallet. |
ScanningDuration | Measure how long the running rescan has been in progress. |
ScanningProgress | Report the progress of the running rescan. |
SetAddressBook | Set the address book label and purpose for a destination. |
SetAddressPreviouslySpent | Record whether a destination has been previously spent. |
SetAddressReceiveRequest | Store or update a receive request for a destination. |
SetBroadcastTransactions | Set whether this wallet broadcasts transactions. |
SetLastBlockProcessed | Set last block processed height, and write to database |
SetNextResend | Set the next time this wallet should resend transactions to 12-36 hours from now, ~1 day on average. |
SetSpentKeyState | Record whether the key behind a transaction output has been spent. |
SetWalletFlag | set a single wallet flag |
SetupDescriptorScriptPubKeyMan | Create new DescriptorScriptPubKeyMan and add it to the wallet |
SetupDescriptorScriptPubKeyMans | SetupDescriptorScriptPubKeyMans overloads |
SetupLegacyDataSPKM | Create a LegacyDataSPKM and set it for all legacy output types and both internal and external chains. |
SetupOwnDescriptorScriptPubKeyMans | Create new seed and default DescriptorScriptPubKeyMans for this wallet |
SetupWalletGeneration | Setup new descriptors or seed for new address generation |
ShouldResend | Return true if all conditions for periodically resending transactions are met. |
SignMessage | Sign an arbitrary message with the key for a public key hash. |
SignTransaction | SignTransaction overloads |
SubmitTxMemoryPoolAndRelay | Pass this transaction to node for optional mempool insertion and relay to peers. |
TopUpCallback | TopUpCallback overloads |
TopUpKeyPool | Refill the keypool up to the target size. |
TransactionCanBeAbandoned | Return whether transaction can be abandoned |
TransactionChangeType | Choose the change output type for a transaction. |
Unlock | Unlock the wallet using the given passphrase. |
UnlockAllCoins | Unlock every locked output. |
UnlockCoin | Unlock a previously locked output. |
UnsetBlankWalletFlag [virtual] | Clears the "blank wallet" flag, recording the change in the given batch. |
UnsetWalletFlag | Unsets a single wallet flag |
UpgradeDescriptorCache | Upgrade DescriptorCaches |
WalletLogPrintf | Prepends the wallet name in logging output to ease debugging in multi-wallet use cases |
WithEncryptionKey [virtual] | Invoke a callback with the decrypted master key while holding the encryption lock. |
WriteBestBlock | Write the current best block to database |
blockConnected | Handle a block being connected to the chain tip. |
blockDisconnected | Handle a block being disconnected from the chain tip. |
chain | Interface for accessing chain state. |
chainStateFlushed [virtual] | |
postInitProcess | Wallet post-init setup Gives the wallet a chance to register repetitive tasks and complete post-init tasks |
transactionAddedToMempool [virtual] | Handle a transaction being added to the node's mempool. |
transactionRemovedFromMempool [virtual] | Handle a transaction being removed from the node's mempool. |
updatedBlockTip [virtual] | Handle the chain tip being updated. |