Changeset View
Changeset View
Standalone View
Standalone View
src/txmempool.h
Show First 20 Lines • Show All 465 Lines • ▼ Show 20 Lines | |||||
* disconnected block. If we would exceed the limit, then we instead mark the | * disconnected block. If we would exceed the limit, then we instead mark the | ||||
* entry as "dirty", and set the feerate for sorting purposes to be equal the | * entry as "dirty", and set the feerate for sorting purposes to be equal the | ||||
* feerate of the transaction without any descendants. | * feerate of the transaction without any descendants. | ||||
*/ | */ | ||||
class CTxMemPool { | class CTxMemPool { | ||||
private: | private: | ||||
//!< Value n means that n times in 2^32 we check. | //!< Value n means that n times in 2^32 we check. | ||||
uint32_t nCheckFrequency GUARDED_BY(cs); | uint32_t nCheckFrequency GUARDED_BY(cs); | ||||
//!< Used by getblocktemplate to trigger CreateNewBlock() invocation | |||||
unsigned int nTransactionsUpdated; | unsigned int nTransactionsUpdated; | ||||
//!< sum of all mempool tx's virtual sizes. | //!< sum of all mempool tx's virtual sizes. | ||||
uint64_t totalTxSize; | uint64_t totalTxSize; | ||||
//!< sum of dynamic memory usage of all the map elements (NOT the maps | //!< sum of dynamic memory usage of all the map elements (NOT the maps | ||||
//! themselves) | //! themselves) | ||||
uint64_t cachedInnerUsage; | uint64_t cachedInnerUsage; | ||||
▲ Show 20 Lines • Show All 460 Lines • Show Last 20 Lines |