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.
Declared in <node/mini_miner.h>
void
BuildMockTemplate(std::optional<CFeeRate> target_feerate);
| Name | Description |
|---|---|
| target_feerate | Feerate at which to stop adding transactions, or std::nullopt to add all. |