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>
std::optional<CAmount>
CalculateTotalBumpFees(CFeeRate const& target_feerate);
Return Value
The total bump fee, or std::nullopt if it cannot be calculated.
Parameters
Name |
Description |
target_feerate |
The feerate the bumped transactions should reach. |
Created with MrDocs