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.
Declared in <node/mini_miner.h>
std::optional<CAmount>
CalculateTotalBumpFees(CFeeRate const& target_feerate);
The total bump fee, or std::nullopt if it cannot be calculated.
| Name | Description |
|---|---|
| target_feerate | The feerate the bumped transactions should reach. |