![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Classes | |
| struct | CompareValueOnly |
| class | CAffectedKeysVisitor |
Functions | |
| std::string | COutput::ToString () const |
| std::vector< CKeyID > | CWallet::GetAffectedKeys (const CScript &spk) |
| bool | CWallet::SetupSPKM (bool newKeypool=true, bool memOnly=false) |
| Generates hd wallet //. More... | |
| bool | CWallet::ActivateSaplingWallet (bool memOnly=false) |
| bool | CWallet::IsHDEnabled () const |
| Whether the wallet is hd or not //. More... | |
| bool | CWallet::IsSaplingUpgradeEnabled () const |
| Whether the wallet supports Sapling or not //. More... | |
| const CWalletTx * | CWallet::GetWalletTx (const uint256 &hash) const |
| std::vector< CWalletTx > | CWallet::getWalletTxs () |
| CallResult< CTxDestination > | CWallet::getNewAddress (const std::string &label) |
| CallResult< CTxDestination > | CWallet::getNewStakingAddress (const std::string &label) |
| CallResult< CTxDestination > | CWallet::getNewAddress (const std::string &addressLabel, const std::string purpose, const CChainParams::Base58Type addrType=CChainParams::PUBKEY_ADDRESS) |
| int64_t | CWallet::GetKeyCreationTime (const CWDestination &dest) |
| int64_t | CWallet::GetKeyCreationTime (CPubKey pubkey) |
| int64_t | CWallet::GetKeyCreationTime (const CTxDestination &address) |
| int64_t | CWallet::GetKeyCreationTime (const libzcash::SaplingPaymentAddress &address) |
| bool | CWallet::AddKeyPubKey (const CKey &key, const CPubKey &pubkey) override |
| Adds a key to the store, and saves it to disk. More... | |
| bool | CWallet::AddCryptedKey (const CPubKey &vchPubKey, const std::vector< unsigned char > &vchCryptedSecret) override |
| Adds an encrypted key to the store, and saves it to disk. More... | |
| bool | CWallet::LoadKeyMetadata (const CPubKey &pubkey, const CKeyMetadata &metadata) |
| Load metadata (used by LoadWallet) More... | |
| bool | CWallet::LoadCryptedKey (const CPubKey &vchPubKey, const std::vector< unsigned char > &vchCryptedSecret) |
| Adds an encrypted key to the store, without saving it to disk (used by LoadWallet) More... | |
| void | CWallet::UpdateTimeFirstKey (int64_t nCreateTime) |
| Update wallet first key creation time. More... | |
| bool | CWallet::AddCScript (const CScript &redeemScript) override |
| Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki. More... | |
| bool | CWallet::LoadCScript (const CScript &redeemScript) |
| bool | CWallet::AddWatchOnly (const CScript &dest) override |
| Adds a watch-only address to the store, and saves it to disk. More... | |
| bool | CWallet::RemoveWatchOnly (const CScript &dest) override |
| bool | CWallet::LoadWatchOnly (const CScript &dest) |
| Adds a watch-only address to the store, without saving it to disk (used by LoadWallet) More... | |
| bool | CWallet::Unlock (const SecureString &strWalletPassphrase, bool anonimizeOnly=false) |
| bool | CWallet::Lock () |
| bool | CWallet::Unlock (const CKeyingMaterial &vMasterKeyIn) |
| bool | CWallet::ChangeWalletPassphrase (const SecureString &strOldWalletPassphrase, const SecureString &strNewWalletPassphrase) |
| void | CWallet::ChainTipAdded (const CBlockIndex *pindex, const CBlock *pblock, SaplingMerkleTree saplingTree) |
| void | CWallet::SetBestChain (const CBlockLocator &loc) override |
| Notifies listeners of the new active block chain on-disk. More... | |
| void | CWallet::SetBestChainInternal (WalletBatch &batch, const CBlockLocator &loc) |
| bool | CWallet::SetMinVersion (enum WalletFeature, WalletBatch *batch_in=nullptr, bool fExplicit=false) |
| signify that a particular wallet feature is now used. this may change nWalletVersion and nWalletMaxVersion if those are lower More... | |
| bool | CWallet::SetMaxVersion (int nVersion) |
| change which version we're allowed to upgrade to (note that this does not immediately imply upgrading to that format) More... | |
| std::set< uint256 > | CWallet::GetConflicts (const uint256 &txid) const |
| Get wallet transactions that conflict with given transaction (spend same outputs) More... | |
| void | CWallet::SyncMetaDataN (std::pair< TxSpendMap< uint256 >::iterator, TxSpendMap< uint256 >::iterator > range) |
| template<class T > | |
| void | CWallet::SyncMetaData (std::pair< typename TxSpendMap< T >::iterator, typename TxSpendMap< T >::iterator > range) |
| const CKeyingMaterial & | CWallet::GetEncryptionKey () const |
| bool | CWallet::HasEncryptionKeys () const |
| ScriptPubKeyMan * | CWallet::GetScriptPubKeyMan () const |
| Get spkm. More... | |
| bool | CWallet::HasSaplingSPKM () const |
| bool | CWallet::IsSaplingSpent (const SaplingOutPoint &op) const |
| bool | CWallet::IsSpent (const COutPoint &outpoint) const |
| Outpoint is spent if any non-conflicted transaction spends it: More... | |
| bool | CWallet::IsSpent (const uint256 &hash, unsigned int n) const |
| void | CWallet::AddToSpends (const COutPoint &outpoint, const uint256 &wtxid) |
| void | CWallet::AddToSpends (const uint256 &wtxid) |
| bool | CWallet::EncryptWallet (const SecureString &strWalletPassphrase) |
| int64_t | CWallet::IncOrderPosNext (WalletBatch *batch=nullptr) |
| Increment the next transaction order id. More... | |
| bool | CWallet::IsKeyUsed (const CPubKey &vchPubKey) const |
| void | CWallet::MarkDirty () |
| bool | CWallet::AddToWallet (const CWalletTx &wtxIn, bool fFlushOnClose=true) |
| bool | CWallet::LoadToWallet (CWalletTx &wtxIn) |
| bool | CWallet::FindNotesDataAndAddMissingIVKToKeystore (const CTransaction &tx, Optional< mapSaplingNoteData_t > &saplingNoteData) |
| void | CWallet::AddExternalNotesDataToTx (CWalletTx &wtx) const |
| bool | CWallet::AddToWalletIfInvolvingMe (const CTransactionRef &tx, const CWalletTx::Confirmation &confirm, bool fUpdate) |
| Add a transaction to the wallet, or update it. More... | |
| bool | CWallet::AbandonTransaction (const uint256 &hashTx) |
| void | CWallet::MarkConflicted (const uint256 &hashBlock, int conflicting_height, const uint256 &hashTx) |
| void | CWallet::SyncTransaction (const CTransactionRef &tx, const CWalletTx::Confirmation &confirm) |
| void | CWallet::TransactionAddedToMempool (const CTransactionRef &tx) override |
| Notifies listeners of a transaction having been added to mempool. More... | |
| void | CWallet::TransactionRemovedFromMempool (const CTransactionRef &ptx, MemPoolRemovalReason reason) override |
| Notifies listeners of a transaction leaving mempool. More... | |
| void | CWallet::BlockConnected (const std::shared_ptr< const CBlock > &pblock, const CBlockIndex *pindex) override |
| Notifies listeners of a block being connected. More... | |
| void | CWallet::BlockDisconnected (const std::shared_ptr< const CBlock > &pblock, const uint256 &blockHash, int nBlockHeight, int64_t blockTime) override |
| Notifies listeners of a block being disconnected. More... | |
| void | CWallet::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. More... | |
| void | CWallet::MarkAffectedTransactionsDirty (const CTransaction &tx) |
| void | CWallet::EraseFromWallet (const uint256 &hash) |
| isminetype | CWallet::IsMine (const CTxIn &txin) const |
| bool | CWallet::IsUsed (const CTxDestination address) const |
| bool | CWallet::IsUsed (const libzcash::SaplingPaymentAddress address) const |
| CAmount | CWallet::GetDebit (const CTxIn &txin, const isminefilter &filter) const |
| bool | CWallet::IsChange (const CTxOut &txout) const |
| bool | CWallet::IsChange (const CTxDestination &address) const |
| int64_t | CWalletTx::GetTxTime () const |
| void | CWalletTx::UpdateTimeSmart () |
| Update smart timestamp for a transaction being added to the wallet. More... | |
| CAmount | CWalletTx::GetCachableAmount (AmountType type, const isminefilter &filter, bool recalculate=false) const |
| bool | CWalletTx::IsAmountCached (AmountType type, const isminefilter &filter) const |
| CAmount | CWalletTx::GetDebit (const isminefilter &filter) const |
| filter decides which addresses will count towards the debit More... | |
| CAmount | CWalletTx::GetColdStakingDebit (bool fUseCache=true) const |
| CAmount | CWalletTx::GetStakeDelegationDebit (bool fUseCache=true) const |
| CAmount | CWalletTx::GetCredit (const isminefilter &filter, bool recalculate=false) const |
| CAmount | CWalletTx::GetImmatureCredit (bool fUseCache=true, const isminefilter &filter=ISMINE_SPENDABLE_ALL) const |
| CAmount | CWalletTx::GetAvailableCredit (bool fUseCache=true, const isminefilter &filter=ISMINE_SPENDABLE) const |
| CAmount | CWalletTx::GetColdStakingCredit (bool fUseCache=true) const |
| CAmount | CWalletTx::GetStakeDelegationCredit (bool fUseCache=true) const |
| CAmount | CWalletTx::GetLockedCredit () const |
| CAmount | CWalletTx::GetImmatureWatchOnlyCredit (const bool fUseCache=true) const |
| CAmount | CWalletTx::GetAvailableWatchOnlyCredit (const bool fUseCache=true) const |
| void | CWalletTx::GetAmounts (std::list< COutputEntry > &listReceived, std::list< COutputEntry > &listSent, CAmount &nFee, const isminefilter &filter) const |
| bool | CWallet::Upgrade (std::string &error, const int prevVersion) |
| Upgrade wallet to HD and Sapling if needed. More... | |
| int64_t | CWallet::RescanFromTime (int64_t startTime, const WalletRescanReserver &reserver, bool update) |
| Scan active chain for relevant transactions after importing keys. More... | |
| CBlockIndex * | CWallet::ScanForWalletTransactions (CBlockIndex *pindexStart, CBlockIndex *pindexStop, const WalletRescanReserver &reserver, bool fUpdate=false, bool fromStartup=false) |
| Scan the block chain (starting in pindexStart) for transactions from or to us. More... | |
| void | CWallet::ReacceptWalletTransactions (bool fFirstLoad=false) |
| bool | CWalletTx::InMempool () const |
| void | CWalletTx::RelayWalletTransaction (CConnman *connman) |
| std::set< uint256 > | CWalletTx::GetConflicts () const |
| void | CWallet::Flush (bool shutdown=false) |
| Flush wallet (bitdb flush) More... | |
| void | CWallet::ResendWalletTransactions (CConnman *connman) override |
| Tells listeners to broadcast their data. More... | |
| void | CWallet::UpdatedBlockTip (const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override |
| Notifies listeners when the block chain tip advances. More... | |
| bool CWallet::AbandonTransaction | ( | const uint256 & | hashTx | ) |
Definition at line 1144 of file wallet.cpp.
| bool CWallet::ActivateSaplingWallet | ( | bool | memOnly = false | ) |
|
overridevirtual |
Adds an encrypted key to the store, and saves it to disk.
Reimplemented from CCryptoKeyStore.
Definition at line 279 of file wallet.cpp.
|
overridevirtual |
Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki.
Reimplemented from CBasicKeyStore.
Definition at line 327 of file wallet.cpp.
| void CWallet::AddExternalNotesDataToTx | ( | CWalletTx & | wtx | ) | const |
Adds a key to the store, and saves it to disk.
Reimplemented from CCryptoKeyStore.
Definition at line 252 of file wallet.cpp.
|
private |
Definition at line 901 of file wallet.cpp.
| bool CWallet::AddToWalletIfInvolvingMe | ( | const CTransactionRef & | ptx, |
| const CWalletTx::Confirmation & | confirm, | ||
| bool | fUpdate | ||
| ) |
Add a transaction to the wallet, or update it.
pIndex and posInBlock should be set when the transaction was known to be included in a block. When pIndex == nullptr, 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 posInBlock signals or by checking mempool presence when necessary.
Definition at line 1077 of file wallet.cpp.
|
overridevirtual |
Adds a watch-only address to the store, and saves it to disk.
Reimplemented from CBasicKeyStore.
Definition at line 349 of file wallet.cpp.
|
overridevirtual |
Notifies listeners of a block being connected.
Provides a vector of transactions evicted from the mempool as a result.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 1319 of file wallet.cpp.
|
overridevirtual |
Notifies listeners of a block being disconnected.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 1360 of file wallet.cpp.
| void CWallet::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.
Definition at line 1383 of file wallet.cpp.
|
private |
Definition at line 503 of file wallet.cpp.
| bool CWallet::ChangeWalletPassphrase | ( | const SecureString & | strOldWalletPassphrase, |
| const SecureString & | strNewWalletPassphrase | ||
| ) |
Definition at line 457 of file wallet.cpp.
| bool CWallet::EncryptWallet | ( | const SecureString & | strWalletPassphrase | ) |
Definition at line 773 of file wallet.cpp.
| void CWallet::EraseFromWallet | ( | const uint256 & | hash | ) |
| bool CWallet::FindNotesDataAndAddMissingIVKToKeystore | ( | const CTransaction & | tx, |
| Optional< mapSaplingNoteData_t > & | saplingNoteData | ||
| ) |
Definition at line 1026 of file wallet.cpp.
| void CWallet::Flush | ( | bool | shutdown = false | ) |
Flush wallet (bitdb flush)
Definition at line 2063 of file wallet.cpp.
Definition at line 118 of file wallet.cpp.
| void CWalletTx::GetAmounts | ( | std::list< COutputEntry > & | listReceived, |
| std::list< COutputEntry > & | listSent, | ||
| CAmount & | nFee, | ||
| const isminefilter & | filter | ||
| ) | const |
Definition at line 1754 of file wallet.cpp.
| CAmount CWalletTx::GetAvailableCredit | ( | bool | fUseCache = true, |
| const isminefilter & | filter = ISMINE_SPENDABLE |
||
| ) | const |
Definition at line 1749 of file wallet.cpp.
| CAmount CWalletTx::GetCachableAmount | ( | AmountType | type, |
| const isminefilter & | filter, | ||
| bool | recalculate = false |
||
| ) | const |
Definition at line 1694 of file wallet.cpp.
Definition at line 1606 of file wallet.cpp.
| std::set< uint256 > CWalletTx::GetConflicts | ( | ) | const |
Get wallet transactions that conflict with given transaction (spend same outputs)
Definition at line 618 of file wallet.cpp.
| CAmount CWalletTx::GetCredit | ( | const isminefilter & | filter, |
| bool | recalculate = false |
||
| ) | const |
| CAmount CWallet::GetDebit | ( | const CTxIn & | txin, |
| const isminefilter & | filter | ||
| ) | const |
| CAmount CWalletTx::GetDebit | ( | const isminefilter & | filter | ) | const |
filter decides which addresses will count towards the debit
Definition at line 1580 of file wallet.cpp.
| const CKeyingMaterial & CWallet::GetEncryptionKey | ( | ) | const |
| CAmount CWalletTx::GetImmatureCredit | ( | bool | fUseCache = true, |
| const isminefilter & | filter = ISMINE_SPENDABLE_ALL |
||
| ) | const |
Definition at line 1740 of file wallet.cpp.
| int64_t CWallet::GetKeyCreationTime | ( | const CTxDestination & | address | ) |
| int64_t CWallet::GetKeyCreationTime | ( | const CWDestination & | dest | ) |
Definition at line 221 of file wallet.cpp.
| int64_t CWallet::GetKeyCreationTime | ( | const libzcash::SaplingPaymentAddress & | address | ) |
| int64_t CWallet::GetKeyCreationTime | ( | CPubKey | pubkey | ) |
| CAmount CWalletTx::GetLockedCredit | ( | ) | const |
Definition at line 1705 of file wallet.cpp.
| CallResult< CTxDestination > CWallet::getNewAddress | ( | const std::string & | addressLabel, |
| const std::string | purpose, | ||
| const CChainParams::Base58Type | addrType = CChainParams::PUBKEY_ADDRESS |
||
| ) |
Definition at line 196 of file wallet.cpp.
| CallResult< CTxDestination > CWallet::getNewAddress | ( | const std::string & | label | ) |
| CallResult< CTxDestination > CWallet::getNewStakingAddress | ( | const std::string & | label | ) |
Definition at line 191 of file wallet.cpp.
| ScriptPubKeyMan * CWallet::GetScriptPubKeyMan | ( | ) | const |
Definition at line 1699 of file wallet.cpp.
Definition at line 1611 of file wallet.cpp.
| int64_t CWalletTx::GetTxTime | ( | ) | const |
| std::vector< CWalletTx > CWallet::getWalletTxs | ( | ) |
| bool CWallet::HasEncryptionKeys | ( | ) | const |
| bool CWallet::HasSaplingSPKM | ( | ) | const |
Definition at line 706 of file wallet.cpp.
| int64_t CWallet::IncOrderPosNext | ( | WalletBatch * | batch = nullptr | ) |
Increment the next transaction order id.
Definition at line 866 of file wallet.cpp.
| bool CWalletTx::InMempool | ( | ) | const |
| bool CWalletTx::IsAmountCached | ( | AmountType | type, |
| const isminefilter & | filter | ||
| ) | const |
| bool CWallet::IsChange | ( | const CTxDestination & | address | ) | const |
| bool CWallet::IsChange | ( | const CTxOut & | txout | ) | const |
Definition at line 1515 of file wallet.cpp.
| bool CWallet::IsHDEnabled | ( | ) | const |
Whether the wallet is hd or not //.
Definition at line 156 of file wallet.cpp.
|
private |
| isminetype CWallet::IsMine | ( | const CTxIn & | txin | ) | const |
| bool CWallet::IsSaplingSpent | ( | const SaplingOutPoint & | op | ) | const |
| bool CWallet::IsSaplingUpgradeEnabled | ( | ) | const |
Whether the wallet supports Sapling or not //.
Definition at line 161 of file wallet.cpp.
| bool CWallet::IsSpent | ( | const COutPoint & | outpoint | ) | const |
Outpoint is spent if any non-conflicted transaction spends it:
Definition at line 720 of file wallet.cpp.
| bool CWallet::IsSpent | ( | const uint256 & | hash, |
| unsigned int | n | ||
| ) | const |
| bool CWallet::IsUsed | ( | const CTxDestination | address | ) | const |
Definition at line 1462 of file wallet.cpp.
| bool CWallet::IsUsed | ( | const libzcash::SaplingPaymentAddress | address | ) | const |
| bool CWallet::LoadCryptedKey | ( | const CPubKey & | vchPubKey, |
| const std::vector< unsigned char > & | vchCryptedSecret | ||
| ) |
Adds an encrypted key to the store, without saving it to disk (used by LoadWallet)
Definition at line 306 of file wallet.cpp.
| bool CWallet::LoadCScript | ( | const CScript & | redeemScript | ) |
| bool CWallet::LoadKeyMetadata | ( | const CPubKey & | pubkey, |
| const CKeyMetadata & | metadata | ||
| ) |
Load metadata (used by LoadWallet)
Definition at line 296 of file wallet.cpp.
| bool CWallet::LoadToWallet | ( | CWalletTx & | wtxIn | ) |
Definition at line 983 of file wallet.cpp.
| bool CWallet::LoadWatchOnly | ( | const CScript & | dest | ) |
Adds a watch-only address to the store, without saving it to disk (used by LoadWallet)
Definition at line 371 of file wallet.cpp.
| bool CWallet::Lock | ( | ) |
Definition at line 397 of file wallet.cpp.
| void CWallet::MarkAffectedTransactionsDirty | ( | const CTransaction & | tx | ) |
Definition at line 1408 of file wallet.cpp.
| void CWallet::MarkDirty | ( | ) |
| void CWallet::ReacceptWalletTransactions | ( | bool | fFirstLoad = false | ) |
Definition at line 2000 of file wallet.cpp.
| void CWalletTx::RelayWalletTransaction | ( | CConnman * | connman | ) |
|
overridevirtual |
Reimplemented from CBasicKeyStore.
Definition at line 358 of file wallet.cpp.
| int64_t 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.
Definition at line 1859 of file wallet.cpp.
|
overridevirtual |
Tells listeners to broadcast their data.
Reimplemented from CValidationInterface.
Definition at line 2068 of file wallet.cpp.
| CBlockIndex * CWallet::ScanForWalletTransactions | ( | CBlockIndex * | pindexStart, |
| CBlockIndex * | pindexStop, | ||
| const WalletRescanReserver & | reserver, | ||
| bool | fUpdate = false, |
||
| bool | fromStartup = false |
||
| ) |
Scan the block chain (starting in pindexStart) for transactions from or to us.
If fUpdate is true, found transactions that already exist in the wallet will be updated.
Returns null if scan was successful. Otherwise, if a complete rescan was not possible (due to pruning or corruption), returns pointer to the most recent block that could not be scanned.
If pindexStop is not a nullptr, the scan will stop at the block-index defined by pindexStop
Caller needs to make sure pindexStop (and the optional pindexStart) are on the main chain after to the addition of any new keys you want to detect transactions for.
Definition at line 1896 of file wallet.cpp.
|
overridevirtual |
Notifies listeners of the new active block chain on-disk.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 511 of file wallet.cpp.
| void CWallet::SetBestChainInternal | ( | WalletBatch & | batch, |
| const CBlockLocator & | loc | ||
| ) |
Definition at line 517 of file wallet.cpp.
| bool CWallet::SetMaxVersion | ( | int | nVersion | ) |
change which version we're allowed to upgrade to (note that this does not immediately imply upgrading to that format)
Definition at line 606 of file wallet.cpp.
| bool CWallet::SetMinVersion | ( | enum WalletFeature | nVersion, |
| WalletBatch * | batch_in = nullptr, |
||
| bool | fExplicit = false |
||
| ) |
signify that a particular wallet feature is now used. this may change nWalletVersion and nWalletMaxVersion if those are lower
Definition at line 580 of file wallet.cpp.
Generates hd wallet //.
Definition at line 133 of file wallet.cpp.
|
private |
Definition at line 652 of file wallet.cpp.
| void CWallet::SyncMetaDataN | ( | std::pair< TxSpendMap< uint256 >::iterator, TxSpendMap< uint256 >::iterator > | range | ) |
|
private |
Definition at line 1260 of file wallet.cpp.
| std::string COutput::ToString | ( | ) | const |
|
overridevirtual |
Notifies listeners of a transaction having been added to mempool.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 1269 of file wallet.cpp.
|
overridevirtual |
Notifies listeners of a transaction leaving mempool.
This notification fires for transactions that are removed from the mempool for the following reasons:
This does not fire for transactions that are removed from the mempool because they have been included in a block. Any client that is interested in transactions removed from the mempool for inclusion in a block can learn about those transactions from the BlockConnected notification.
Transactions that are removed from the mempool because they conflict with a transaction in the new block will have TransactionRemovedFromMempool events fired before the BlockConnected event is fired. If multiple blocks are connected in one step, then the ordering could be:
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 1281 of file wallet.cpp.
| bool CWallet::Unlock | ( | const CKeyingMaterial & | vMasterKeyIn | ) |
| bool CWallet::Unlock | ( | const SecureString & | strWalletPassphrase, |
| bool | anonimizeOnly = false |
||
| ) |
Definition at line 376 of file wallet.cpp.
|
overridevirtual |
Notifies listeners when the block chain tip advances.
When multiple blocks are connected at once, UpdatedBlockTip will be called on the final tip but may not be called on every intermediate tip. If the latter behavior is desired, subscribe to BlockConnected() instead.
Called on a background thread.
Reimplemented from CValidationInterface.
Definition at line 2108 of file wallet.cpp.
| void CWallet::UpdateTimeFirstKey | ( | int64_t | nCreateTime | ) |
Update wallet first key creation time.
This should be called whenever keys are added to the wallet, with the oldest key creation time.
Definition at line 315 of file wallet.cpp.
| void CWalletTx::UpdateTimeSmart | ( | ) |
Update smart timestamp for a transaction being added to the wallet.
Logic:
Definition at line 1554 of file wallet.cpp.
| bool CWallet::Upgrade | ( | std::string & | error, |
| const int | prevVersion | ||
| ) |
Upgrade wallet to HD and Sapling if needed.
Does nothing if not.
Definition at line 1824 of file wallet.cpp.