[#node-MiniMiner-BuildMockTemplate] = xref:node.adoc[node]::xref:node/MiniMiner.adoc[MiniMiner]::BuildMockTemplate :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void BuildMockTemplate(std::optional<CFeeRate> target_feerate); ---- == Parameters [cols="1,4"] |=== | Name| Description | *target_feerate* | Feerate at which to stop adding transactions, or std::nullopt to add all. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#