lnwire: add todo for changing to SatPerKWeight for fee rates
This commit is contained in:
parent
b9f09a666d
commit
2db5e56754
@ -68,6 +68,9 @@ type OpenChannel struct {
|
||||
// FeePerKiloWeight is the initial fee rate that the initiator suggests
|
||||
// for both commitment transaction. This value is expressed in sat per
|
||||
// kilo-weight.
|
||||
//
|
||||
// TODO(halseth): make SatPerKWeight when fee estimation is in own
|
||||
// package. Currently this will cause an import cycle.
|
||||
FeePerKiloWeight uint32
|
||||
|
||||
// CsvDelay is the number of blocks to use for the relative time lock
|
||||
|
@ -1,6 +1,8 @@
|
||||
package lnwire
|
||||
|
||||
import "io"
|
||||
import (
|
||||
"io"
|
||||
)
|
||||
|
||||
// UpdateFee is the message the channel initiator sends to the other peer if
|
||||
// the channel commitment fee needs to be updated.
|
||||
@ -10,6 +12,9 @@ type UpdateFee struct {
|
||||
|
||||
// FeePerKw is the fee-per-kw on commit transactions that the sender of
|
||||
// this message wants to use for this channel.
|
||||
//
|
||||
// TODO(halseth): make SatPerKWeight when fee estimation is moved to
|
||||
// own package. Currently this will cause an import cycle.
|
||||
FeePerKw uint32
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user