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