Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
mempool_eviction.cpp
Go to the documentation of this file.
Definition: script.h:62
Definition: txmempool.h:40
size_t GetSerializeSize(const T &t, int nType, int nVersion=0)
Definition: serialize.h:1295
Definition: script.h:60
Definition: script.h:61
void TrimToSize(size_t sizelimit, std::vector< COutPoint > *pvNoSpendsRemaining=nullptr)
Remove transactions from the mempool until its dynamic size is <= sizelimit.
Definition: txmempool.cpp:1502
CTxMemPoolEntry stores data about the corresponding transaction, as well as data about all in-mempool...
Definition: txmempool.h:69
Definition: script.h:63
Definition: script.h:65
Definition: script.h:58
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition: transaction.h:26
BENCHMARK(MempoolEviction)
static void AddTx(const CTransaction &tx, const CAmount &nFee, CTxMemPool &pool)
Definition: mempool_eviction.cpp:12
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
Definition: txmempool.h:442
static void MempoolEviction(benchmark::State &state)
Definition: mempool_eviction.cpp:27
Definition: script.h:64
Definition: script.h:121
Definition: bench.h:50
bool addUnchecked(const uint256 &hash, const CTxMemPoolEntry &entry, bool validFeeEstimate=true)
Definition: txmempool.cpp:1424
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition: transaction.h:198
Definition: serialize.h:160