channeldb: add todo making feerate explicit type

This commit is contained in:
Johan T. Halseth 2018-02-21 10:05:04 +01:00
parent dd6872da31
commit 004563b20b
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -249,6 +249,10 @@ type ChannelCommitment struct {
// the commitment transaction for the entire duration of the channel's // the commitment transaction for the entire duration of the channel's
// lifetime. This field may be updated during normal operation of the // lifetime. This field may be updated during normal operation of the
// channel as on-chain conditions change. // 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 FeePerKw btcutil.Amount
// CommitTx is the latest version of the commitment state, broadcast // CommitTx is the latest version of the commitment state, broadcast