channeldb: add todo making feerate explicit type

This commit is contained in:
Johan T. Halseth committed 2018-02-26 22:42:27 +01:00
1 parent dd6872da31
commit 004563b20b
1 file changed
+4
+4
View File
@@ -249,6 +249,10 @@ type ChannelCommitment struct {
// the commitment transaction for the entire duration of the channel's
// lifetime. This field may be updated during normal operation of the
// channel as on-chain conditions change.
//
// TODO(halseth): make this SatPerKWeight. Cannot be done atm because
// this will cause the import cycle lnwallet<->channeldb. Fee
// estimation stuff should be in its own package.
FeePerKw btcutil.Amount
// CommitTx is the latest version of the commitment state, broadcast