#include <bench/bench.h>
#include <consensus/amount.h>
#include <policy/policy.h>
#include <primitives/transaction.h>
#include <random.h>
#include <script/script.h>
#include <sync.h>
#include <test/util/setup_common.h>
#include <test/util/txmempool.h>
#include <txmempool.h>
#include <validation.h>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <vector>
Go to the source code of this file.
|
| static void | AddTx (const CTransactionRef &tx, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main |
| |
| | AddToMempool (pool, CTxMemPoolEntry(tx, 1000, nTime, nHeight, sequence, spendsCoinbase, sigOpCost, lp)) |
| |
| static std::vector< CTransactionRef > | CreateOrderedCoins (FastRandomContext &det_rand, int childTxs, int min_ancestors) |
| |
| static void | ComplexMemPool (benchmark::Bench &bench) |
| |
| static void | MempoolCheck (benchmark::Bench &bench) |
| |
| | BENCHMARK (ComplexMemPool, benchmark::PriorityLevel::HIGH) |
| |
| | BENCHMARK (MempoolCheck, benchmark::PriorityLevel::HIGH) |
| |
◆ AddToMempool()
◆ AddTx()
◆ BENCHMARK() [1/2]
◆ BENCHMARK() [2/2]
◆ ComplexMemPool()
◆ CreateOrderedCoins()
◆ MempoolCheck()
◆ cs
◆ lp
◆ nHeight
◆ sequence
◆ sigOpCost
| unsigned int sigOpCost = 4 |
◆ spendsCoinbase
| bool spendsCoinbase = false |