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.
Synopsis
Declared in <node/mini_miner.h>
std::map<COutPoint, CAmount>
CalculateBumpFees(CFeeRate const& target_feerate);
Return Value
A map from outpoint to required bump fee, or an empty map if it cannot be calculated.
Parameters
Name |
Description |
target_feerate |
The feerate the bumped transactions should reach. |
Created with MrDocs