#include <bench/bench.h>
#include <consensus/amount.h>
#include <kernel/cs_main.h>
#include <policy/policy.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <sync.h>
#include <test/util/setup_common.h>
#include <test/util/txmempool.h>
#include <txmempool.h>
#include <util/check.h>
#include <cstdint>
#include <memory>
#include <vector>
Go to the source code of this file.
|
static void | AddTx (const CTransactionRef &tx, const CAmount &nFee, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main |
|
| AddToMempool (pool, CTxMemPoolEntry(tx, nFee, nTime, nHeight, sequence, spendsCoinbase, sigOpCost, lp)) |
|
static void | MempoolEviction (benchmark::Bench &bench) |
|
| BENCHMARK (MempoolEviction, benchmark::PriorityLevel::HIGH) |
|
◆ AddToMempool()
◆ AddTx()
◆ BENCHMARK()
◆ MempoolEviction()
◆ cs
◆ lp
◆ nHeight
◆ sequence
◆ sigOpCost
unsigned int sigOpCost = 4 |
◆ spendsCoinbase
bool spendsCoinbase = false |