pub fn conventional_fee_weight_ratio(
    transaction: &UnminedTx,
    miner_fee: Amount<NonNegative>
) -> f32
Expand description

Returns the block production fee weight ratio for transaction, as defined by ZIP-317.

This calculation will always return a positive, non-zero value.