Expand description
Helper functions with tests for fee calculation, weight computation, and waste metrics
Functionsยง
- calculate_
accumulated_ weight adjusted_target
is the target value plus the estimated fee.- calculate_
base_ weight_ btc - Returns the weights of data in transaction other than the list of inputs that would be selected.
- calculate_
fee - calculate_
waste - effective_
value - Returns the effective value of the
OutputGroup
, which is the actual value minus the estimated fee.