-
Notifications
You must be signed in to change notification settings - Fork 912
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rfc-proposal: relax closing fee requirements
Implementation of lightning/bolts#847 In particular see comment: OK, perhaps we should split this further, to make it explicit that there's no back-and-forth if both sides support this? If you both include the TLV, there's no back-and-forth, it's either two messages or three. If nodes receive the tlv, it picks from that range for its reply: if it doesn't care, uses the same rate. If reply has different rate (and it's acceptable), reply with using that rate. Otherwise it's complete. That will be a nice simplification in future... Needs tests, and interop check. Waiting for finalized wording before importing more spec notes.
- Loading branch information
Showing
3 changed files
with
140 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- wire/peer_wire.csv 2021-05-18 11:15:05.539134131 -0500 | ||
+++ - 2021-05-18 11:15:15.690789516 -0500 | ||
@@ -90,6 +90,10 @@ | ||
msgdata,closing_signed,channel_id,channel_id, | ||
msgdata,closing_signed,fee_satoshis,u64, | ||
msgdata,closing_signed,signature,signature, | ||
+msgdata,closing_signed,tlvs,closing_signed_tlvs, | ||
+tlvtype,closing_signed_tlvs,fee_range,1 | ||
+tlvdata,closing_signed_tlvs,fee_range,min_fee_satoshis,u64, | ||
+tlvdata,closing_signed_tlvs,fee_range,max_fee_satoshis,u64, | ||
msgtype,update_add_htlc,128 | ||
msgdata,update_add_htlc,channel_id,channel_id, | ||
msgdata,update_add_htlc,id,u64, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters