InvoiceDefaultRoutingFees

data class InvoiceDefaultRoutingFees(feeBase: MilliSatoshi, feeProportional: Long, cltvExpiryDelta: CltvExpiryDelta)

When we create an invoice, we need to add a routing hint since we only have private channels. This routing hint contains routing fees that should be paid by the sender, set by our peer. When we have a channel, we'll take them from our peer's channel update, but when we don't have any channel we'll use these default values.

Constructors

InvoiceDefaultRoutingFees
Link copied to clipboard
common
fun InvoiceDefaultRoutingFees(feeBase: MilliSatoshi, feeProportional: Long, cltvExpiryDelta: CltvExpiryDelta)

Properties

cltvExpiryDelta
Link copied to clipboard
common
val cltvExpiryDelta: CltvExpiryDelta
feeBase
Link copied to clipboard
common
val feeBase: MilliSatoshi
feeProportional
Link copied to clipboard
common
val feeProportional: Long