isFeeDiffTooHigh

fun isFeeDiffTooHigh(referenceFee: FeeratePerKw, currentFee: FeeratePerKw, tolerance: FeerateTolerance): Boolean

Return

true if the difference between proposed and reference fee rates is too high.

Parameters

referenceFee

reference fee rate per kiloweight

currentFee

current fee rate per kiloweight

tolerance

maximum fee rate mismatch tolerated