From cf9a5fcfe5e7f096e963815a9ffa50e2c607affd Mon Sep 17 00:00:00 2001 From: niftynei Date: Fri, 16 Dec 2022 13:33:09 -0600 Subject: [PATCH] peer-protocol: send first+second commit point in openchanv2 + accept Repeat the second commit point in the initial openchannel2 + acceptchannel2 messages. Suggested-By: @pm47 --- 02-peer-protocol.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/02-peer-protocol.md b/02-peer-protocol.md index 04e338c..4594ac3 100644 --- a/02-peer-protocol.md +++ b/02-peer-protocol.md @@ -1119,6 +1119,7 @@ This message initiates the v2 channel establishment workflow. * [`point`:`delayed_payment_basepoint`] * [`point`:`htlc_basepoint`] * [`point`:`first_per_commitment_point`] + * [`point`:`second_per_commitment_point`] * [`byte`:`channel_flags`] * [`opening_tlvs`:`tlvs`] @@ -1173,6 +1174,9 @@ whichever is greater. Note that `push_msat` has been omitted. +`second_per_commitment_point` is now sent here (as well as in `channel_ready`) +as a convenience for implementations. + ### The `accept_channel2` Message This message contains information about a node and indicates its @@ -1194,6 +1198,7 @@ acceptance of the new channel. * [`point`:`delayed_payment_basepoint`] * [`point`:`htlc_basepoint`] * [`point`:`first_per_commitment_point`] + * [`point`:`second_per_commitment_point`] * [`accept_tlvs`:`tlvs`] 1. `tlv_stream`: `accept_tlvs`