node::MiniMiner::BuildMockTemplate

Build a block template until the target feerate is hit. If target_feerate is not given, builds a block template until all transactions have been selected.

Synopsis

Declared in <node/mini_miner.h>

void
BuildMockTemplate(std::optional<CFeeRate> target_feerate);

Parameters

NameDescription
target_feerateFeerate at which to stop adding transactions, or std::nullopt to add all.