Changeset View
Changeset View
Standalone View
Standalone View
src/txmempool.h
Show First 20 Lines • Show All 366 Lines • ▼ Show 20 Lines | struct TxMempoolInfo { | ||||
Amount nFeeDelta; | Amount nFeeDelta; | ||||
}; | }; | ||||
/** | /** | ||||
* Reason why a transaction was removed from the mempool, this is passed to the | * Reason why a transaction was removed from the mempool, this is passed to the | ||||
* notification signal. | * notification signal. | ||||
*/ | */ | ||||
enum class MemPoolRemovalReason { | enum class MemPoolRemovalReason { | ||||
//! Manually removed or unknown reason | //!< Manually removed or unknown reason | ||||
UNKNOWN = 0, | UNKNOWN = 0, | ||||
//! Expired from mempool | //!< Expired from mempool | ||||
EXPIRY, | EXPIRY, | ||||
//! Removed in size limiting | //!< Removed in size limiting | ||||
SIZELIMIT, | SIZELIMIT, | ||||
//! Removed for reorganization | //!< Removed for reorganization | ||||
REORG, | REORG, | ||||
//! Removed for block | //!< Removed for block | ||||
BLOCK, | BLOCK, | ||||
//! Removed for conflict with in-block transaction | //!< Removed for conflict with in-block transaction | ||||
CONFLICT, | CONFLICT, | ||||
//! Removed for replacement | //!< Removed for replacement | ||||
REPLACED | REPLACED | ||||
}; | }; | ||||
class SaltedTxidHasher { | class SaltedTxidHasher { | ||||
private: | private: | ||||
/** Salt */ | /** Salt */ | ||||
const uint64_t k0, k1; | const uint64_t k0, k1; | ||||
▲ Show 20 Lines • Show All 553 Lines • Show Last 20 Lines |