Bitcoin Core 32.99.0
P2P Digital Currency
Namespaces | Functions
mempool.cpp File Reference
#include <rpc/mempool.h>
#include <rpc/register.h>
#include <common/args.h>
#include <consensus/amount.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <index/txospenderindex.h>
#include <net.h>
#include <net_processing.h>
#include <netaddress.h>
#include <netbase.h>
#include <node/mempool_persist.h>
#include <node/mempool_persist_args.h>
#include <node/transaction.h>
#include <node/txorphanage.h>
#include <node/types.h>
#include <policy/feerate.h>
#include <policy/packages.h>
#include <policy/policy.h>
#include <policy/rbf.h>
#include <primitives/transaction.h>
#include <rpc/protocol.h>
#include <rpc/request.h>
#include <rpc/server.h>
#include <rpc/server_util.h>
#include <rpc/util.h>
#include <script/script.h>
#include <sync.h>
#include <tinyformat.h>
#include <txgraph.h>
#include <txmempool.h>
#include <uint256.h>
#include <univalue.h>
#include <util/check.h>
#include <util/expected.h>
#include <util/feefrac.h>
#include <util/fs.h>
#include <util/moneystr.h>
#include <util/string.h>
#include <util/time.h>
#include <util/vector.h>
#include <validation.h>
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <list>
#include <map>
#include <memory>
#include <optional>
#include <ranges>
#include <set>
#include <string>
#include <string_view>
#include <tuple>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  node
 

Functions

static RPCMethod sendrawtransaction ()
 
static RPCMethod getprivatebroadcastinfo ()
 
static RPCMethod abortprivatebroadcast ()
 
static RPCMethod testmempoolaccept ()
 
static std::vector< RPCResult > ClusterDescription ()
 
static std::vector< RPCResult > MempoolEntryDescription ()
 
void AppendChunkInfo (UniValue &all_chunks, FeePerWeight chunk_feerate, std::vector< const CTxMemPoolEntry * > chunk_txs)
 
static void clusterToJSON (const CTxMemPool &pool, UniValue &info, std::vector< const CTxMemPoolEntry * > cluster) EXCLUSIVE_LOCKS_REQUIRED(pool.cs)
 
static void entryToJSON (const CTxMemPool &pool, UniValue &info, const CTxMemPoolEntry &e) EXCLUSIVE_LOCKS_REQUIRED(pool.cs)
 
UniValue MempoolToJSON (const CTxMemPool &pool, bool verbose, bool include_mempool_sequence)
 Mempool to JSON. More...
 
static RPCMethod getmempoolfeeratediagram ()
 
static RPCMethod getrawmempool ()
 
static RPCMethod getmempoolancestors ()
 
static RPCMethod getmempooldescendants ()
 
static RPCMethod getmempoolcluster ()
 
static RPCMethod getmempoolentry ()
 
static RPCMethod gettxspendingprevout ()
 
UniValue MempoolInfoToJSON (const CTxMemPool &pool)
 Mempool information to JSON. More...
 
static RPCMethod getmempoolinfo ()
 
static RPCMethod importmempool ()
 
static RPCMethod savemempool ()
 
static std::vector< RPCResult > OrphanDescription ()
 
static UniValue OrphanToJSON (const node::TxOrphanage::OrphanInfo &orphan)
 
static RPCMethod getorphantxs ()
 
static RPCMethod submitpackage ()
 
void RegisterMempoolRPCCommands (CRPCTable &t)
 

Function Documentation

◆ abortprivatebroadcast()

static RPCMethod abortprivatebroadcast ( )
static

Definition at line 253 of file mempool.cpp.

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

◆ AppendChunkInfo()

void AppendChunkInfo ( UniValue &  all_chunks,
FeePerWeight  chunk_feerate,
std::vector< const CTxMemPoolEntry * >  chunk_txs 
)

Definition at line 525 of file mempool.cpp.

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

◆ ClusterDescription()

static std::vector< RPCResult > ClusterDescription ( )
static

Definition at line 470 of file mempool.cpp.

Here is the caller graph for this function:

◆ clusterToJSON()

static void clusterToJSON ( const CTxMemPool &  pool,
UniValue &  info,
std::vector< const CTxMemPoolEntry * >  cluster 
)
static

Definition at line 538 of file mempool.cpp.

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

◆ entryToJSON()

static void entryToJSON ( const CTxMemPool &  pool,
UniValue &  info,
const CTxMemPoolEntry &  e 
)
static

Definition at line 572 of file mempool.cpp.

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

◆ getmempoolancestors()

static RPCMethod getmempoolancestors ( )
static

Definition at line 770 of file mempool.cpp.

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

◆ getmempoolcluster()

static RPCMethod getmempoolcluster ( )
static

Definition at line 896 of file mempool.cpp.

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

◆ getmempooldescendants()

static RPCMethod getmempooldescendants ( )
static

Definition at line 831 of file mempool.cpp.

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

◆ getmempoolentry()

static RPCMethod getmempoolentry ( )
static

Definition at line 931 of file mempool.cpp.

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

◆ getmempoolfeeratediagram()

static RPCMethod getmempoolfeeratediagram ( )
static

Definition at line 676 of file mempool.cpp.

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

◆ getmempoolinfo()

static RPCMethod getmempoolinfo ( )
static

Definition at line 1133 of file mempool.cpp.

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

◆ getorphantxs()

static RPCMethod getorphantxs ( )
static

Definition at line 1307 of file mempool.cpp.

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

◆ getprivatebroadcastinfo()

static RPCMethod getprivatebroadcastinfo ( )
static

Definition at line 178 of file mempool.cpp.

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

◆ getrawmempool()

static RPCMethod getrawmempool ( )
static

Definition at line 719 of file mempool.cpp.

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

◆ gettxspendingprevout()

static RPCMethod gettxspendingprevout ( )
static

Definition at line 964 of file mempool.cpp.

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

◆ importmempool()

static RPCMethod importmempool ( )
static

Definition at line 1175 of file mempool.cpp.

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

◆ MempoolEntryDescription()

static std::vector< RPCResult > MempoolEntryDescription ( )
static

Definition at line 488 of file mempool.cpp.

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

◆ MempoolInfoToJSON()

UniValue MempoolInfoToJSON ( const CTxMemPool &  pool)

Mempool information to JSON.

Definition at line 1107 of file mempool.cpp.

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

◆ MempoolToJSON()

UniValue MempoolToJSON ( const CTxMemPool &  pool,
bool  verbose,
bool  include_mempool_sequence 
)

Mempool to JSON.

Definition at line 638 of file mempool.cpp.

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

◆ OrphanDescription()

static std::vector< RPCResult > OrphanDescription ( )
static

Definition at line 1274 of file mempool.cpp.

Here is the caller graph for this function:

◆ OrphanToJSON()

static UniValue OrphanToJSON ( const node::TxOrphanage::OrphanInfo &  orphan)
static

Definition at line 1290 of file mempool.cpp.

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

◆ RegisterMempoolRPCCommands()

void RegisterMempoolRPCCommands ( CRPCTable &  t)

Definition at line 1590 of file mempool.cpp.

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

◆ savemempool()

static RPCMethod savemempool ( )
static

Definition at line 1236 of file mempool.cpp.

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

◆ sendrawtransaction()

static RPCMethod sendrawtransaction ( )
static

Definition at line 79 of file mempool.cpp.

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

◆ submitpackage()

static RPCMethod submitpackage ( )
static

Definition at line 1376 of file mempool.cpp.

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

◆ testmempoolaccept()

static RPCMethod testmempoolaccept ( )
static

Definition at line 313 of file mempool.cpp.

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