Construct a new block template and, for each outpoint corresponding to a transaction that did not make it into the block, calculate the cost of bumping those transactions (and their ancestors) to the minimum feerate. Returns a map from outpoint to bump fee, or an empty map if they cannot be calculated.
Declared in <node/mini_miner.h>
std::map<COutPoint, CAmount>
CalculateBumpFees(CFeeRate const& target_feerate);
A map from outpoint to required bump fee, or an empty map if it cannot be calculated.
| Name | Description |
|---|---|
| target_feerate | The feerate the bumped transactions should reach. |