Bitcoin Core 28.99.0
P2P Digital Currency
Functions | Variables
rpc_mempool.cpp File Reference
#include <bench/bench.h>
#include <consensus/amount.h>
#include <kernel/cs_main.h>
#include <primitives/transaction.h>
#include <rpc/mempool.h>
#include <script/script.h>
#include <sync.h>
#include <test/util/setup_common.h>
#include <test/util/txmempool.h>
#include <txmempool.h>
#include <univalue.h>
#include <util/check.h>
#include <memory>
#include <vector>
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
 
 AddToMempool (pool, CTxMemPoolEntry(tx, fee, 0, 1, 0, false, 4, lp))
 
static void RpcMempool (benchmark::Bench &bench)
 
 BENCHMARK (RpcMempool, benchmark::PriorityLevel::HIGH)
 

Variables

static void pool cs
 

Function Documentation

◆ AddToMempool()

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

◆ AddTx()

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

◆ BENCHMARK()

◆ RpcMempool()

static void RpcMempool ( benchmark::Bench bench)
static

Definition at line 28 of file rpc_mempool.cpp.

Here is the call graph for this function:

Variable Documentation

◆ cs

void pool cs
Initial value:

Definition at line 22 of file rpc_mempool.cpp.