Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
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 922 of file txmempool.h.

Member Typedef Documentation

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 937 of file txmempool.h.

Constructor & Destructor Documentation

DisconnectedBlockTransactions::~DisconnectedBlockTransactions ( )
inline

Definition at line 947 of file txmempool.h.

Member Function Documentation

void DisconnectedBlockTransactions::addTransaction ( const CTransactionRef tx)
inline

Definition at line 958 of file txmempool.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void DisconnectedBlockTransactions::clear ( )
inline

Definition at line 987 of file txmempool.h.

size_t DisconnectedBlockTransactions::DynamicMemoryUsage ( ) const
inline

Definition at line 954 of file txmempool.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 981 of file txmempool.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 965 of file txmempool.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

uint64_t DisconnectedBlockTransactions::cachedInnerUsage = 0

Definition at line 950 of file txmempool.h.

indexed_disconnected_transactions DisconnectedBlockTransactions::queuedTx

Definition at line 949 of file txmempool.h.


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