Bitcoin Core  0.20.99
P2P Digital Currency
Functions | Variables
rpc_mempool.cpp File Reference
#include <bench/bench.h>
#include <rpc/blockchain.h>
#include <txmempool.h>
#include <univalue.h>
Include dependency graph for rpc_mempool.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
 
pool addUnchecked (CTxMemPoolEntry(tx, fee, 0, 1, false, 4, lp))
 
static void RpcMempool (benchmark::Bench &bench)
 
 BENCHMARK (RpcMempool)
 

Variables

static void pool cs
 

Function Documentation

◆ AddTx()

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

◆ addUnchecked()

pool addUnchecked ( CTxMemPoolEntry(tx, fee, 0, 1, false, 4, lp )

◆ BENCHMARK()

BENCHMARK ( RpcMempool  )
Here is the caller graph for this function:

◆ RpcMempool()

static void RpcMempool ( benchmark::Bench bench)
static

Definition at line 18 of file rpc_mempool.cpp.

Here is the call graph for this function:

Variable Documentation

◆ cs

void pool cs
Initial value:
{
LockPoints lp

Definition at line 13 of file rpc_mempool.cpp.