Bitcoin Core  0.15.99
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 706 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 721 of file txmempool.h.

Constructor & Destructor Documentation

DisconnectedBlockTransactions::~DisconnectedBlockTransactions ( )
inline

Definition at line 731 of file txmempool.h.

Member Function Documentation

void DisconnectedBlockTransactions::addTransaction ( const CTransactionRef tx)
inline

Definition at line 742 of file txmempool.h.

Here is the caller graph for this function:

void DisconnectedBlockTransactions::clear ( )
inline

Definition at line 771 of file txmempool.h.

size_t DisconnectedBlockTransactions::DynamicMemoryUsage ( ) const
inline

Definition at line 738 of file txmempool.h.

Here is the caller graph for this function:

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

Definition at line 765 of file txmempool.h.

Here is the caller graph for this function:

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

Definition at line 749 of file txmempool.h.

Here is the caller graph for this function:

Member Data Documentation

uint64_t DisconnectedBlockTransactions::cachedInnerUsage = 0

Definition at line 734 of file txmempool.h.

indexed_disconnected_transactions DisconnectedBlockTransactions::queuedTx

Definition at line 733 of file txmempool.h.


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