[#node-MiniMiner-CalculateTotalBumpFees] = xref:node.adoc[node]::xref:node/MiniMiner.adoc[MiniMiner]::CalculateTotalBumpFees :relfileprefix: ../../ :mrdocs: Construct a new block template and, calculate the cost of bumping all transactions that did not make it into the block to the target feerate. Returns the total bump fee, or std::nullopt if it cannot be calculated. == Synopsis Declared in `<node/mini_miner.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<CAmount> CalculateTotalBumpFees(xref:CFeeRate.adoc[CFeeRate] const& target_feerate); ---- == Return Value The total bump fee, or std::nullopt if it cannot be calculated. == Parameters [cols="1,4"] |=== | Name| Description | *target_feerate* | The feerate the bumped transactions should reach. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#