Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
TxGraph::BlockBuilder Class Referenceabstract

Interface returned by GetBlockBuilder. More...

#include <txgraph.h>

Public Member Functions

virtual ~BlockBuilder ()=default
 Support safe inheritance.
virtual std::optional< std::pair< std::vector< Ref * >, FeePerWeight > > GetCurrentChunk () noexcept=0
 Get the chunk that is currently suggested to be included, plus its feerate, if any.
virtual void Include () noexcept=0
 Mark the current chunk as included, and progress to the next one.
virtual void Skip () noexcept=0
 Mark the current chunk as skipped, and progress to the next one.

Protected Member Functions

 BlockBuilder () noexcept=default
 Make constructor non-public (use TxGraph::GetBlockBuilder()).

Detailed Description

Interface returned by GetBlockBuilder.

Definition at line 181 of file txgraph.h.

Constructor & Destructor Documentation

◆ BlockBuilder()

TxGraph::BlockBuilder::BlockBuilder ( )
protecteddefaultnoexcept

Make constructor non-public (use TxGraph::GetBlockBuilder()).

Here is the caller graph for this function:

◆ ~BlockBuilder()

virtual TxGraph::BlockBuilder::~BlockBuilder ( )
virtualdefault

Support safe inheritance.

Here is the call graph for this function:

Member Function Documentation

◆ GetCurrentChunk()

virtual std::optional< std::pair< std::vector< Ref * >, FeePerWeight > > TxGraph::BlockBuilder::GetCurrentChunk ( )
pure virtualnoexcept

Get the chunk that is currently suggested to be included, plus its feerate, if any.

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

◆ Include()

virtual void TxGraph::BlockBuilder::Include ( )
pure virtualnoexcept

Mark the current chunk as included, and progress to the next one.

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

◆ Skip()

virtual void TxGraph::BlockBuilder::Skip ( )
pure virtualnoexcept

Mark the current chunk as skipped, and progress to the next one.

Further chunks from the same cluster as the current one will not be reported anymore.

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

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