Package fr.acinq.lightning.blockchain.fee

Types

ConstantFeeEstimator
Link copied to clipboard
common
data class ConstantFeeEstimator(currentFeerate: FeeratePerKw) : FeeEstimator
FeeEstimator
Link copied to clipboard
common
interface FeeEstimator
FeeratePerByte
Link copied to clipboard
common
data class FeeratePerByte(feerate: Satoshi)

Fee rate in satoshi-per-bytes.

FeeratePerKB
Link copied to clipboard
common
data class FeeratePerKB(feerate: Satoshi) : Comparable<FeeratePerKB>

Fee rate in satoshi-per-kilo-bytes (1 kB = 1000 bytes).

FeeratePerKw
Link copied to clipboard
common
data class FeeratePerKw(feerate: Satoshi) : Comparable<FeeratePerKw>

Fee rate in satoshi-per-kilo-weight.

FeerateTolerance
Link copied to clipboard
common
data class FeerateTolerance(ratioLow: Double, ratioHigh: Double)
OnChainFeeConf
Link copied to clipboard
common
data class OnChainFeeConf(closeOnOfflineMismatch: Boolean, updateFeeMinDiffRatio: Double, feerateTolerance: FeerateTolerance)
OnChainFeerates
Link copied to clipboard
common
data class OnChainFeerates(mutualCloseFeerate: FeeratePerKw, claimMainFeerate: FeeratePerKw, fastFeerate: FeeratePerKw)

Preferences regarding on-chain feerates that will be applied to various transactions.