Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
ConnectTrace Class Reference

Used to track blocks whose transactions were applied to the UTXO state as a part of a single ActivateBestChainStep call. More...

Public Member Functions

 ConnectTrace ()
 
void BlockConnected (CBlockIndex *pindex, std::shared_ptr< const CBlock > pblock)
 
std::vector< PerBlockConnectTrace > & GetBlocksConnected ()
 

Private Attributes

std::vector< PerBlockConnectTraceblocksConnected
 

Detailed Description

Used to track blocks whose transactions were applied to the UTXO state as a part of a single ActivateBestChainStep call.

This class is single-use, once you call GetBlocksConnected() you have to throw it away and make a new one.

Definition at line 3134 of file validation.cpp.

Constructor & Destructor Documentation

◆ ConnectTrace()

ConnectTrace::ConnectTrace ( )
inlineexplicit

Definition at line 3139 of file validation.cpp.

Member Function Documentation

◆ BlockConnected()

void ConnectTrace::BlockConnected ( CBlockIndex pindex,
std::shared_ptr< const CBlock pblock 
)
inline

Definition at line 3141 of file validation.cpp.

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

◆ GetBlocksConnected()

std::vector< PerBlockConnectTrace > & ConnectTrace::GetBlocksConnected ( )
inline

Definition at line 3150 of file validation.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ blocksConnected

std::vector<PerBlockConnectTrace> ConnectTrace::blocksConnected
private

Definition at line 3136 of file validation.cpp.


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