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

Name

Description

target_feerate

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

Created with MrDocs