lnwire: add todo for changing to SatPerKWeight for fee rates

This commit is contained in:
Johan T. Halseth committed 2018-02-26 22:42:28 +01:00
1 parent b9f09a666d
commit 2db5e56754
2 files changed
+9 -1

No files matched your search

+3
View File
@@ -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
+6 -1
View File
@@ -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
}