Merge pull request #6770 from Roasbeef/co-op-close-with-more-spec-innit

lnwallet/chancloser: remove the commit fee clamp, introduce max fee
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2022-08-08 18:14:22 -07:00
commit e4b5aa94a3
11 files changed
+2316 -2018

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": [