![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
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()). | |
|
protecteddefaultnoexcept |
Make constructor non-public (use TxGraph::GetBlockBuilder()).
|
virtualdefault |
Support safe inheritance.
|
pure virtualnoexcept |
Get the chunk that is currently suggested to be included, plus its feerate, if any.
Mark the current chunk as included, and progress to the next one.
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.