Bitcoin Core  25.99.0
P2P Digital Currency
Public Types | Public Member Functions | Public Attributes | List of all members
DisconnectedBlockTransactions Struct Reference

#include <txmempool.h>

Public Types

typedef boost::multi_index_container< CTransactionRef, boost::multi_index::indexed_by< boost::multi_index::hashed_unique< boost::multi_index::tag< txid_index >, mempoolentry_txid, SaltedTxidHasher >, boost::multi_index::sequenced< boost::multi_index::tag< insertion_order > > > > indexed_disconnected_transactions
 

Public Member Functions

 ~DisconnectedBlockTransactions ()
 
size_t DynamicMemoryUsage () const
 
void addTransaction (const CTransactionRef &tx)
 
void removeForBlock (const std::vector< CTransactionRef > &vtx)
 
void removeEntry (indexed_disconnected_transactions::index< insertion_order >::type::iterator entry)
 
void clear ()
 

Public Attributes

indexed_disconnected_transactions queuedTx
 
uint64_t cachedInnerUsage = 0
 

Detailed Description

Definition at line 871 of file txmempool.h.

Member Typedef Documentation

◆ indexed_disconnected_transactions

typedef boost::multi_index_container< CTransactionRef, boost::multi_index::indexed_by< boost::multi_index::hashed_unique< boost::multi_index::tag<txid_index>, mempoolentry_txid, SaltedTxidHasher >, boost::multi_index::sequenced< boost::multi_index::tag<insertion_order> > > > DisconnectedBlockTransactions::indexed_disconnected_transactions

Definition at line 886 of file txmempool.h.

Constructor & Destructor Documentation

◆ ~DisconnectedBlockTransactions()

DisconnectedBlockTransactions::~DisconnectedBlockTransactions ( )
inline

Definition at line 896 of file txmempool.h.

Here is the call graph for this function:

Member Function Documentation

◆ addTransaction()

void DisconnectedBlockTransactions::addTransaction ( const CTransactionRef tx)
inline

Definition at line 907 of file txmempool.h.

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

◆ clear()

void DisconnectedBlockTransactions::clear ( )
inline

Definition at line 936 of file txmempool.h.

Here is the caller graph for this function:

◆ DynamicMemoryUsage()

size_t DisconnectedBlockTransactions::DynamicMemoryUsage ( ) const
inline

Definition at line 903 of file txmempool.h.

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

◆ removeEntry()

void DisconnectedBlockTransactions::removeEntry ( indexed_disconnected_transactions::index< insertion_order >::type::iterator  entry)
inline

Definition at line 930 of file txmempool.h.

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

◆ removeForBlock()

void DisconnectedBlockTransactions::removeForBlock ( const std::vector< CTransactionRef > &  vtx)
inline

Definition at line 914 of file txmempool.h.

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

Member Data Documentation

◆ cachedInnerUsage

uint64_t DisconnectedBlockTransactions::cachedInnerUsage = 0

Definition at line 899 of file txmempool.h.

◆ queuedTx

indexed_disconnected_transactions DisconnectedBlockTransactions::queuedTx

Definition at line 898 of file txmempool.h.


The documentation for this struct was generated from the following file: