Bitcoin Core  22.99.0
P2P Digital Currency
Functions
MapWallet

Functions

bool wallet::DummySignInput (const SigningProvider &provider, CTxIn &tx_in, const CTxOut &txout, bool use_max_sig)
 
bool wallet::FillInputToWeight (CTxIn &txin, int64_t target_weight)
 
const CWalletTxwallet::CWallet::GetWalletTx (const uint256 &hash) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
void wallet::CWallet::UpgradeKeyMetadata () EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 Upgrade stored CKeyMetadata objects to store key origin info as KeyOriginInfo. More...
 
void wallet::CWallet::UpgradeDescriptorCache () EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 Upgrade DescriptorCaches. More...
 
bool wallet::CWallet::Unlock (const SecureString &strWalletPassphrase, bool accept_no_keys=false)
 
bool wallet::CWallet::ChangeWalletPassphrase (const SecureString &strOldWalletPassphrase, const SecureString &strNewWalletPassphrase)
 
void wallet::CWallet::chainStateFlushed (const CBlockLocator &loc) override
 
void wallet::CWallet::SetMinVersion (enum WalletFeature, WalletBatch *batch_in=nullptr) override
 signify that a particular wallet feature is now used. More...
 
std::set< uint256wallet::CWallet::GetConflicts (const uint256 &txid) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 Get wallet transactions that conflict with given transaction (spend same outputs) More...
 
bool wallet::CWallet::HasWalletSpend (const uint256 &txid) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 Check if a given transaction has any of its outputs spent by another transaction in the wallet. More...
 
void wallet::CWallet::Flush ()
 Flush wallet (bitdb flush) More...
 
void wallet::CWallet::Close ()
 Close wallet database. More...
 
void wallet::CWallet::SyncMetaData (std::pair< TxSpends::iterator, TxSpends::iterator >) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::IsSpent (const uint256 &hash, unsigned int n) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 Outpoint is spent if any non-conflicted transaction spends it: More...
 
void wallet::CWallet::AddToSpends (const COutPoint &outpoint, const uint256 &wtxid, WalletBatch *batch=nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
void wallet::CWallet::AddToSpends (const uint256 &wtxid, WalletBatch *batch=nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::EncryptWallet (const SecureString &strWalletPassphrase)
 
DBErrors wallet::CWallet::ReorderTransactions ()
 
int64_t wallet::CWallet::IncOrderPosNext (WalletBatch *batch=nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 Increment the next transaction order id. More...
 
void wallet::CWallet::MarkDirty ()
 
bool wallet::CWallet::MarkReplaced (const uint256 &originalHash, const uint256 &newHash)
 Mark a transaction as replaced by another transaction (e.g., BIP 125). More...
 
void wallet::CWallet::SetSpentKeyState (WalletBatch &batch, const uint256 &hash, unsigned int n, bool used, std::set< CTxDestination > &tx_destinations) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::IsSpentKey (const uint256 &hash, unsigned int n) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
CWalletTxwallet::CWallet::AddToWallet (CTransactionRef tx, const TxState &state, const UpdateWalletTxFn &update_wtx=nullptr, bool fFlushOnClose=true, bool rescanning_old_block=false)
 
bool wallet::CWallet::LoadToWallet (const uint256 &hash, const UpdateWalletTxFn &fill_wtx) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::AddToWalletIfInvolvingMe (const CTransactionRef &tx, const SyncTxState &state, bool fUpdate, bool rescanning_old_block) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 Add a transaction to the wallet, or update it. More...
 
bool wallet::CWallet::TransactionCanBeAbandoned (const uint256 &hashTx) const
 Return whether transaction can be abandoned. More...
 
void wallet::CWallet::MarkInputsDirty (const CTransactionRef &tx) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 Mark a transaction's inputs dirty, thus forcing the outputs to be recomputed. More...
 
bool wallet::CWallet::AbandonTransaction (const uint256 &hashTx)
 
void wallet::CWallet::MarkConflicted (const uint256 &hashBlock, int conflicting_height, const uint256 &hashTx)
 Mark a transaction (and its in-wallet descendants) as conflicting with a particular block. More...
 
void wallet::CWallet::SyncTransaction (const CTransactionRef &tx, const SyncTxState &state, bool update_tx=true, bool rescanning_old_block=false) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
void wallet::CWallet::transactionAddedToMempool (const CTransactionRef &tx, uint64_t mempool_sequence) override
 
void wallet::CWallet::transactionRemovedFromMempool (const CTransactionRef &tx, MemPoolRemovalReason reason, uint64_t mempool_sequence) override
 
void wallet::CWallet::blockConnected (const CBlock &block, int height) override
 
void wallet::CWallet::blockDisconnected (const CBlock &block, int height) override
 
void wallet::CWallet::updatedBlockTip () override
 
CAmount wallet::CWallet::GetDebit (const CTxIn &txin, const isminefilter &filter) const
 Returns amount of debit if the input matches the filter, otherwise returns 0. More...
 
isminetype wallet::CWallet::IsMine (const CTxOut &txout) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
isminetype wallet::CWallet::IsMine (const CTxDestination &dest) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
isminetype wallet::CWallet::IsMine (const CScript &script) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::IsMine (const CTransaction &tx) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::IsFromMe (const CTransaction &tx) const
 should probably be renamed to IsRelevantToMe More...
 
CAmount wallet::CWallet::GetDebit (const CTransaction &tx, const isminefilter &filter) const
 
bool wallet::CWallet::IsHDEnabled () const
 
bool wallet::CWallet::CanGetAddresses (bool internal=false) const
 
void wallet::CWallet::UnsetWalletFlag (uint64_t flag)
 Unsets a single wallet flag. More...
 
void wallet::CWallet::UnsetWalletFlagWithDB (WalletBatch &batch, uint64_t flag)
 Unsets a wallet flag and saves it to disk. More...
 
void wallet::CWallet::UnsetBlankWalletFlag (WalletBatch &batch) override
 Unset the blank wallet flag and saves it to disk. More...
 
bool wallet::CWallet::IsWalletFlagSet (uint64_t flag) const override
 check if a certain wallet flag is set More...
 
bool wallet::CWallet::LoadWalletFlags (uint64_t flags)
 Loads the flags into the wallet. More...
 
bool wallet::CWallet::AddWalletFlags (uint64_t flags)
 overwrite all flags by the given uint64_t returns false if unknown, non-tolerable flags are present More...
 
bool wallet::CWallet::DummySignTx (CMutableTransaction &txNew, const std::vector< CTxOut > &txouts, const CCoinControl *coin_control=nullptr) const
 
bool wallet::CWallet::ImportScripts (const std::set< CScript > scripts, int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::ImportPrivKeys (const std::map< CKeyID, CKey > &privkey_map, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::ImportPubKeys (const std::vector< CKeyID > &ordered_pubkeys, const std::map< CKeyID, CPubKey > &pubkey_map, const std::map< CKeyID, std::pair< CPubKey, KeyOriginInfo >> &key_origins, const bool add_keypool, const bool internal, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::ImportScriptPubKeys (const std::string &label, const std::set< CScript > &script_pub_keys, const bool have_solving_data, const bool apply_label, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
int64_t wallet::CWallet::RescanFromTime (int64_t startTime, const WalletRescanReserver &reserver, bool update)
 Scan active chain for relevant transactions after importing keys. More...
 
ScanResult wallet::CWallet::ScanForWalletTransactions (const uint256 &start_block, int start_height, std::optional< int > max_height, const WalletRescanReserver &reserver, bool fUpdate)
 Scan the block chain (starting in start_block) for transactions from or to us. More...
 
void wallet::CWallet::ReacceptWalletTransactions () EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
 
bool wallet::CWallet::SubmitTxMemoryPoolAndRelay (CWalletTx &wtx, std::string &err_string, bool relay) const
 Pass this transaction to node for mempool insertion and relay to peers if flag set to true. More...
 
std::set< uint256wallet::CWallet::GetTxConflicts (const CWalletTx &wtx) const NO_THREAD_SAFETY_ANALYSIS
 
void wallet::CWallet::ResendWalletTransactions ()
 

Detailed Description

Function Documentation

◆ AbandonTransaction()

bool wallet::CWallet::AbandonTransaction ( const uint256 hashTx)

Definition at line 1143 of file wallet.cpp.

Here is the call graph for this function:

◆ AddToSpends() [1/2]

void wallet::CWallet::AddToSpends ( const COutPoint outpoint,
const uint256 wtxid,
WalletBatch batch = nullptr 
)
private

Definition at line 630 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddToSpends() [2/2]

void wallet::CWallet::AddToSpends ( const uint256 wtxid,
WalletBatch batch = nullptr 
)
private

Definition at line 647 of file wallet.cpp.

Here is the call graph for this function:

◆ AddToWallet()

CWalletTx * wallet::CWallet::AddToWallet ( CTransactionRef  tx,
const TxState state,
const UpdateWalletTxFn update_wtx = nullptr,
bool  fFlushOnClose = true,
bool  rescanning_old_block = false 
)

Definition at line 925 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddToWalletIfInvolvingMe()

bool wallet::CWallet::AddToWalletIfInvolvingMe ( const CTransactionRef tx,
const SyncTxState state,
bool  fUpdate,
bool  rescanning_old_block 
)
private

Add a transaction to the wallet, or update it.

confirm.block_* should be set when the transaction was known to be included in a block. When block_hash.IsNull(), then wallet state is not updated in AddToWallet, but notifications happen and cached balances are marked dirty.

If fUpdate is true, existing transactions will be updated. TODO: One exception to this is that the abandoned state is cleared under the assumption that any further notification of a transaction that was considered abandoned is an indication that it is not safe to be considered abandoned. Abandoned state should probably be more carefully tracked via different chain notifications or by checking mempool presence when necessary.

Should be called with rescanning_old_block set to true, if the transaction is not discovered in real time, but during a rescan of old blocks.

Definition at line 1066 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddWalletFlags()

bool wallet::CWallet::AddWalletFlags ( uint64_t  flags)

overwrite all flags by the given uint64_t returns false if unknown, non-tolerable flags are present

Definition at line 1481 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ blockConnected()

void wallet::CWallet::blockConnected ( const CBlock block,
int  height 
)
overridevirtual

Reimplemented from interfaces::Chain::Notifications.

Definition at line 1304 of file wallet.cpp.

Here is the call graph for this function:

◆ blockDisconnected()

void wallet::CWallet::blockDisconnected ( const CBlock block,
int  height 
)
overridevirtual

Reimplemented from interfaces::Chain::Notifications.

Definition at line 1317 of file wallet.cpp.

Here is the call graph for this function:

◆ CanGetAddresses()

bool wallet::CWallet::CanGetAddresses ( bool  internal = false) const

Definition at line 1424 of file wallet.cpp.

Here is the call graph for this function:

◆ chainStateFlushed()

void wallet::CWallet::chainStateFlushed ( const CBlockLocator loc)
overridevirtual

Reimplemented from interfaces::Chain::Notifications.

Definition at line 506 of file wallet.cpp.

Here is the call graph for this function:

◆ ChangeWalletPassphrase()

bool wallet::CWallet::ChangeWalletPassphrase ( const SecureString strOldWalletPassphrase,
const SecureString strNewWalletPassphrase 
)

Definition at line 460 of file wallet.cpp.

Here is the call graph for this function:

◆ Close()

void wallet::CWallet::Close ( )

Close wallet database.

Definition at line 563 of file wallet.cpp.

Here is the call graph for this function:

◆ DummySignInput()

bool wallet::DummySignInput ( const SigningProvider provider,
CTxIn tx_in,
const CTxOut txout,
bool  use_max_sig 
)

Definition at line 1495 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DummySignTx()

bool wallet::CWallet::DummySignTx ( CMutableTransaction txNew,
const std::vector< CTxOut > &  txouts,
const CCoinControl coin_control = nullptr 
) const

Definition at line 1552 of file wallet.cpp.

Here is the call graph for this function:

◆ EncryptWallet()

bool wallet::CWallet::EncryptWallet ( const SecureString strWalletPassphrase)

Definition at line 659 of file wallet.cpp.

Here is the call graph for this function:

◆ FillInputToWeight()

bool wallet::FillInputToWeight ( CTxIn txin,
int64_t  target_weight 
)

Definition at line 1508 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Flush()

void wallet::CWallet::Flush ( )

Flush wallet (bitdb flush)

Definition at line 558 of file wallet.cpp.

Here is the call graph for this function:

◆ GetConflicts()

std::set< uint256 > wallet::CWallet::GetConflicts ( const uint256 txid) const

Get wallet transactions that conflict with given transaction (spend same outputs)

Definition at line 528 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDebit() [1/2]

CAmount wallet::CWallet::GetDebit ( const CTransaction tx,
const isminefilter filter 
) const

Definition at line 1401 of file wallet.cpp.

Here is the call graph for this function:

◆ GetDebit() [2/2]

CAmount wallet::CWallet::GetDebit ( const CTxIn txin,
const isminefilter filter 
) const

Returns amount of debit if the input matches the filter, otherwise returns 0.

Definition at line 1349 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTxConflicts()

std::set< uint256 > wallet::CWallet::GetTxConflicts ( const CWalletTx wtx) const

Definition at line 1845 of file wallet.cpp.

Here is the call graph for this function:

◆ GetWalletTx()

const CWalletTx * wallet::CWallet::GetWalletTx ( const uint256 hash) const

Definition at line 398 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasWalletSpend()

bool wallet::CWallet::HasWalletSpend ( const uint256 txid) const

Check if a given transaction has any of its outputs spent by another transaction in the wallet.

Definition at line 551 of file wallet.cpp.

Here is the call graph for this function:

◆ ImportPrivKeys()

bool wallet::CWallet::ImportPrivKeys ( const std::map< CKeyID, CKey > &  privkey_map,
const int64_t  timestamp 
)

Definition at line 1592 of file wallet.cpp.

Here is the call graph for this function:

◆ ImportPubKeys()

bool wallet::CWallet::ImportPubKeys ( const std::vector< CKeyID > &  ordered_pubkeys,
const std::map< CKeyID, CPubKey > &  pubkey_map,
const std::map< CKeyID, std::pair< CPubKey, KeyOriginInfo >> &  key_origins,
const bool  add_keypool,
const bool  internal,
const int64_t  timestamp 
)

Definition at line 1602 of file wallet.cpp.

Here is the call graph for this function:

◆ ImportScriptPubKeys()

bool wallet::CWallet::ImportScriptPubKeys ( const std::string &  label,
const std::set< CScript > &  script_pub_keys,
const bool  have_solving_data,
const bool  apply_label,
const int64_t  timestamp 
)

Definition at line 1612 of file wallet.cpp.

Here is the call graph for this function:

◆ ImportScripts()

bool wallet::CWallet::ImportScripts ( const std::set< CScript scripts,
int64_t  timestamp 
)

Definition at line 1582 of file wallet.cpp.

Here is the call graph for this function:

◆ IncOrderPosNext()

int64_t wallet::CWallet::IncOrderPosNext ( WalletBatch batch = nullptr)

Increment the next transaction order id.

Returns
next transaction order id

Definition at line 818 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsFromMe()

bool wallet::CWallet::IsFromMe ( const CTransaction tx) const

should probably be renamed to IsRelevantToMe

Definition at line 1396 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsHDEnabled()

bool wallet::CWallet::IsHDEnabled ( ) const

Definition at line 1413 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsMine() [1/4]

isminetype wallet::CWallet::IsMine ( const CScript script) const

Definition at line 1377 of file wallet.cpp.

Here is the call graph for this function:

◆ IsMine() [2/4]

bool wallet::CWallet::IsMine ( const CTransaction tx) const

Definition at line 1387 of file wallet.cpp.

Here is the call graph for this function:

◆ IsMine() [3/4]

isminetype wallet::CWallet::IsMine ( const CTxDestination dest) const

Definition at line 1371 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsMine() [4/4]

isminetype wallet::CWallet::IsMine ( const CTxOut txout) const

Definition at line 1365 of file wallet.cpp.

Here is the call graph for this function:

◆ IsSpent()

bool wallet::CWallet::IsSpent ( const uint256 hash,
unsigned int  n 
) const

Outpoint is spent if any non-conflicted transaction spends it:

Definition at line 611 of file wallet.cpp.

Here is the call graph for this function:

◆ IsSpentKey()

bool wallet::CWallet::IsSpentKey ( const uint256 hash,
unsigned int  n 
) const

Definition at line 890 of file wallet.cpp.

Here is the call graph for this function:

◆ IsWalletFlagSet()

bool wallet::CWallet::IsWalletFlagSet ( uint64_t  flag) const
overridevirtual

check if a certain wallet flag is set

Implements wallet::WalletStorage.

Definition at line 1464 of file wallet.cpp.

Here is the caller graph for this function:

◆ LoadToWallet()

bool wallet::CWallet::LoadToWallet ( const uint256 hash,
const UpdateWalletTxFn fill_wtx 
)

Definition at line 1023 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadWalletFlags()

bool wallet::CWallet::LoadWalletFlags ( uint64_t  flags)

Loads the flags into the wallet.

(used by LoadWallet)

Definition at line 1469 of file wallet.cpp.

Here is the caller graph for this function:

◆ MarkConflicted()

void wallet::CWallet::MarkConflicted ( const uint256 hashBlock,
int  conflicting_height,
const uint256 hashTx 
)
private

Mark a transaction (and its in-wallet descendants) as conflicting with a particular block.

Definition at line 1197 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MarkDirty()

void wallet::CWallet::MarkDirty ( )

Definition at line 830 of file wallet.cpp.

Here is the caller graph for this function:

◆ MarkInputsDirty()

void wallet::CWallet::MarkInputsDirty ( const CTransactionRef tx)
private

Mark a transaction's inputs dirty, thus forcing the outputs to be recomputed.

Definition at line 1133 of file wallet.cpp.

Here is the caller graph for this function:

◆ MarkReplaced()

bool wallet::CWallet::MarkReplaced ( const uint256 originalHash,
const uint256 newHash 
)

Mark a transaction as replaced by another transaction (e.g., BIP 125).

Definition at line 839 of file wallet.cpp.

Here is the call graph for this function:

◆ ReacceptWalletTransactions()

void wallet::CWallet::ReacceptWalletTransactions ( )

Definition at line 1789 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReorderTransactions()

DBErrors wallet::CWallet::ReorderTransactions ( )

Definition at line 761 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RescanFromTime()

int64_t wallet::CWallet::RescanFromTime ( int64_t  startTime,
const WalletRescanReserver reserver,
bool  update 
)

Scan active chain for relevant transactions after importing keys.

This should be called whenever new keys are added to the wallet, with the oldest key creation time.

Returns
Earliest timestamp that could be successfully scanned from. Timestamp returned will be higher than startTime if relevant blocks could not be read.

Definition at line 1643 of file wallet.cpp.

Here is the call graph for this function:

◆ ResendWalletTransactions()

void wallet::CWallet::ResendWalletTransactions ( )

Definition at line 1865 of file wallet.cpp.

Here is the call graph for this function:

◆ ScanForWalletTransactions()

CWallet::ScanResult wallet::CWallet::ScanForWalletTransactions ( const uint256 start_block,
int  start_height,
std::optional< int >  max_height,
const WalletRescanReserver reserver,
bool  fUpdate 
)

Scan the block chain (starting in start_block) for transactions from or to us.

If fUpdate is true, found transactions that already exist in the wallet will be updated.

Parameters
[in]start_blockScan starting block. If block is not on the active chain, the scan will return SUCCESS immediately.
[in]start_heightHeight of start_block
[in]max_heightOptional max scanning height. If unset there is no maximum and scanning can continue to the tip
Returns
ScanResult returning scan information and indicating success or failure. Return status will be set to SUCCESS if scan was successful. FAILURE if a complete rescan was not possible (due to pruning or corruption). USER_ABORT if the rescan was aborted before it could complete.
Precondition
Caller needs to make sure start_block (and the optional stop_block) are on the main chain after to the addition of any new keys you want to detect transactions for.

Definition at line 1686 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMinVersion()

void wallet::CWallet::SetMinVersion ( enum WalletFeature  nVersion,
WalletBatch batch_in = nullptr 
)
overridevirtual

signify that a particular wallet feature is now used.

Implements wallet::WalletStorage.

Definition at line 512 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSpentKeyState()

void wallet::CWallet::SetSpentKeyState ( WalletBatch batch,
const uint256 hash,
unsigned int  n,
bool  used,
std::set< CTxDestination > &  tx_destinations 
)

Definition at line 871 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SubmitTxMemoryPoolAndRelay()

bool wallet::CWallet::SubmitTxMemoryPoolAndRelay ( CWalletTx wtx,
std::string &  err_string,
bool  relay 
) const

Pass this transaction to node for mempool insertion and relay to peers if flag set to true.

Definition at line 1817 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SyncMetaData()

void wallet::CWallet::SyncMetaData ( std::pair< TxSpends::iterator, TxSpends::iterator >  range)
private

Definition at line 568 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SyncTransaction()

void wallet::CWallet::SyncTransaction ( const CTransactionRef tx,
const SyncTxState state,
bool  update_tx = true,
bool  rescanning_old_block = false 
)
private

Definition at line 1246 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transactionAddedToMempool()

void wallet::CWallet::transactionAddedToMempool ( const CTransactionRef tx,
uint64_t  mempool_sequence 
)
overridevirtual

Reimplemented from interfaces::Chain::Notifications.

Definition at line 1257 of file wallet.cpp.

Here is the call graph for this function:

◆ TransactionCanBeAbandoned()

bool wallet::CWallet::TransactionCanBeAbandoned ( const uint256 hashTx) const

Return whether transaction can be abandoned.

Definition at line 1126 of file wallet.cpp.

Here is the call graph for this function:

◆ transactionRemovedFromMempool()

void wallet::CWallet::transactionRemovedFromMempool ( const CTransactionRef tx,
MemPoolRemovalReason  reason,
uint64_t  mempool_sequence 
)
overridevirtual

Reimplemented from interfaces::Chain::Notifications.

Definition at line 1267 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unlock()

bool wallet::CWallet::Unlock ( const SecureString strWalletPassphrase,
bool  accept_no_keys = false 
)

Definition at line 435 of file wallet.cpp.

Here is the call graph for this function:

◆ UnsetBlankWalletFlag()

void wallet::CWallet::UnsetBlankWalletFlag ( WalletBatch batch)
overrideprivatevirtual

Unset the blank wallet flag and saves it to disk.

Implements wallet::WalletStorage.

Definition at line 1459 of file wallet.cpp.

Here is the call graph for this function:

◆ UnsetWalletFlag()

void wallet::CWallet::UnsetWalletFlag ( uint64_t  flag)

Unsets a single wallet flag.

Definition at line 1445 of file wallet.cpp.

Here is the call graph for this function:

◆ UnsetWalletFlagWithDB()

void wallet::CWallet::UnsetWalletFlagWithDB ( WalletBatch batch,
uint64_t  flag 
)
private

Unsets a wallet flag and saves it to disk.

Definition at line 1451 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updatedBlockTip()

void wallet::CWallet::updatedBlockTip ( )
overridevirtual

Reimplemented from interfaces::Chain::Notifications.

Definition at line 1332 of file wallet.cpp.

Here is the call graph for this function:

◆ UpgradeDescriptorCache()

void wallet::CWallet::UpgradeDescriptorCache ( )

Upgrade DescriptorCaches.

Definition at line 422 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpgradeKeyMetadata()

void wallet::CWallet::UpgradeKeyMetadata ( )

Upgrade stored CKeyMetadata objects to store key origin info as KeyOriginInfo.

Definition at line 407 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: