Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 785 Lines • ▼ Show 20 Lines | private: | ||||
/** | /** | ||||
* The following is used to keep track of how far behind the wallet is | * The following is used to keep track of how far behind the wallet is | ||||
* from the chain sync, and to allow clients to block on us being caught up. | * from the chain sync, and to allow clients to block on us being caught up. | ||||
* | * | ||||
* Note that this is *not* how far we've processed, we may need some rescan | * Note that this is *not* how far we've processed, we may need some rescan | ||||
* to have seen all transactions in the chain, but is only used to track | * to have seen all transactions in the chain, but is only used to track | ||||
* live BlockConnected callbacks. | * live BlockConnected callbacks. | ||||
*/ | */ | ||||
BlockHash m_last_block_processed; | BlockHash m_last_block_processed GUARDED_BY(cs_wallet); | ||||
public: | public: | ||||
const CChainParams &chainParams; | const CChainParams &chainParams; | ||||
/* | /* | ||||
* Main wallet lock. | * Main wallet lock. | ||||
* This lock protects all the fields added by CWallet. | * This lock protects all the fields added by CWallet. | ||||
*/ | */ | ||||
mutable RecursiveMutex cs_wallet; | mutable RecursiveMutex cs_wallet; | ||||
▲ Show 20 Lines • Show All 728 Lines • Show Last 20 Lines |