Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
blockencodings.cpp File Reference
#include <bench/bench.h>
#include <blockencodings.h>
#include <consensus/amount.h>
#include <kernel/cs_main.h>
#include <net_processing.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 <memory>
#include <vector>
Include dependency graph for blockencodings.cpp:

Go to the source code of this file.

Functions

static void AddTx (const CTransactionRef &tx, const CAmount &fee, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main
 TryAddToMempool (pool, CTxMemPoolEntry(tx, fee, 0, 1, 0, false, 4, lp))
static void BlockEncodingBench (benchmark::Bench &bench, size_t n_pool, size_t n_extra)
static void BlockEncodingNoExtra (benchmark::Bench &bench)
static void BlockEncodingStdExtra (benchmark::Bench &bench)
static void BlockEncodingLargeExtra (benchmark::Bench &bench)
 BENCHMARK (BlockEncodingNoExtra)
 BENCHMARK (BlockEncodingStdExtra)
 BENCHMARK (BlockEncodingLargeExtra)

Variables

static void pool cs

Function Documentation

◆ AddTx()

void AddTx ( const CTransactionRef & tx,
const CAmount & fee,
CTxMemPool & pool )
static
Here is the caller graph for this function:

◆ BENCHMARK() [1/3]

BENCHMARK ( BlockEncodingLargeExtra )
Here is the call graph for this function:

◆ BENCHMARK() [2/3]

BENCHMARK ( BlockEncodingNoExtra )
Here is the call graph for this function:

◆ BENCHMARK() [3/3]

BENCHMARK ( BlockEncodingStdExtra )
Here is the call graph for this function:

◆ BlockEncodingBench()

void BlockEncodingBench ( benchmark::Bench & bench,
size_t n_pool,
size_t n_extra )
static

Definition at line 60 of file blockencodings.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BlockEncodingLargeExtra()

void BlockEncodingLargeExtra ( benchmark::Bench & bench)
static

Definition at line 124 of file blockencodings.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BlockEncodingNoExtra()

void BlockEncodingNoExtra ( benchmark::Bench & bench)
static

Definition at line 113 of file blockencodings.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BlockEncodingStdExtra()

void BlockEncodingStdExtra ( benchmark::Bench & bench)
static

Definition at line 118 of file blockencodings.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TryAddToMempool()

TryAddToMempool ( pool ,
CTxMemPoolEntry(tx, fee, 0, 1, 0, false, 4, lp)  )
Here is the caller graph for this function:

Variable Documentation

◆ cs

void pool cs
Initial value:

Definition at line 22 of file blockencodings.cpp.