lnrpc: add a new max_fee field to the CloseChannel RPC call

In this commit, we add a new max_fee field that we'll use to decide when
to bail out of a co-op close dance as the initiator.
This commit is contained in:
Olaoluwa Osuntokun
2022-07-26 16:40:16 -07:00
parent 9eb1e8721a
commit c791b18cc0
3 changed files with 2018 additions and 1991 deletions

View File

@@ -1910,6 +1910,11 @@ message CloseChannelRequest {
// A manual fee rate set in sat/vbyte that should be used when crafting the
// closure transaction.
uint64 sat_per_vbyte = 6;
// The maximum fee rate the closer is willing to pay.
//
// NOTE: This field is only respected if we're the initiator of the channel.
uint64 max_fee_per_vbyte = 7;
}
message CloseStatusUpdate {