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 committed 2022-07-26 17:23:13 -07:00
1 parent 9eb1e8721a
commit c791b18cc0
3 files changed
+2018 -1991

No files matched your search

+2005 -1991
View File
File diff suppressed because it is too large. Load diff
+5
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 {
+8
View File
@@ -811,6 +811,14 @@
"required": false,
"type": "string",
"format": "uint64"
},
{
"name": "max_fee_per_vbyte",
"description": "The maximum fee rate the closer is willing to pay.\n\nNOTE: This field is only respected if we're the initiator of the channel.",
"in": "query",
"required": false,
"type": "string",
"format": "uint64"
}
],
"tags": [