Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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 3002 of file validation.cpp.

Constructor & Destructor Documentation

◆ ConnectTrace()

ConnectTrace::ConnectTrace ( )
inlineexplicit

Definition at line 3007 of file validation.cpp.

Member Function Documentation

◆ BlockConnected()

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

Definition at line 3009 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 3018 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 3004 of file validation.cpp.


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