Interface returned by GetBlockBuilder.
More...
#include <txgraph.h>
|
virtual | ~BlockBuilder ()=default |
| Support safe inheritance. More...
|
|
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. More...
|
|
virtual void | Include () noexcept=0 |
| Mark the current chunk as included, and progress to the next one. More...
|
|
virtual void | Skip () noexcept=0 |
| Mark the current chunk as skipped, and progress to the next one. More...
|
|
Interface returned by GetBlockBuilder.
Definition at line 174 of file txgraph.h.
◆ BlockBuilder()
TxGraph::BlockBuilder::BlockBuilder |
( |
| ) |
|
|
protecteddefaultnoexcept |
◆ ~BlockBuilder()
virtual TxGraph::BlockBuilder::~BlockBuilder |
( |
| ) |
|
|
virtualdefault |
Support safe inheritance.
◆ 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.
◆ Include()
virtual void TxGraph::BlockBuilder::Include |
( |
| ) |
|
|
pure virtualnoexcept |
Mark the current chunk as included, and progress to the next one.
◆ 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.
The documentation for this class was generated from the following file: