Files
palladum-lightning/wire/extracted_peer_12_splice_update.patch
Dusty Daemon c29db2458e splice: Update splice_info tlv to use odd version
Update the tlv to use the type referenced in the spec, which also makes marks the tlv as optional.

Changelog-EXPERIMENTAL: --experimental-splicing: if you have splicing enabled on a channel both nodes must upgrade in unison due to updating commitment_signeds splice_info tlv's type.
2025-11-13 15:37:31 +10:30

34 lines
1.4 KiB
Diff

diff --git a/wire/peer_wire.csv b/wire/peer_wire.csv
index 9abcb0e64..e2aae8efb 100644
--- a/wire/peer_wire.csv
+++ b/wire/peer_wire.csv
@@ -1,3 +1,6 @@
+msgtype,protocol_batch_element,0
+msgdata,protocol_batch_element,channel_id,channel_id,
+msgdata,protocol_batch_element,element_size,u16,
msgtype,init,16
msgdata,init,gflen,u16,
msgdata,init,globalfeatures,byte,gflen
@@ -293,6 +296,12 @@ msgdata,update_fail_malformed_htlc,channel_id,channel_id,
msgdata,update_fail_malformed_htlc,id,u64,
msgdata,update_fail_malformed_htlc,sha256_of_onion,sha256,
msgdata,update_fail_malformed_htlc,failure_code,u16,
+msgtype,start_batch,127
+msgdata,start_batch,channel_id,channel_id,
+msgdata,start_batch,batch_size,u16,
+msgdata,start_batch,batch_info,start_batch_tlvs,
+tlvtype,start_batch_tlvs,batch_info,1
+tlvdata,start_batch_tlvs,batch_info,message_type,u16,
msgtype,commitment_signed,132
msgdata,commitment_signed,channel_id,channel_id,
msgdata,commitment_signed,signature,signature,
@@ -309,7 +309,6 @@ msgdata,commitment_signed,num_htlcs,u16,
msgdata,commitment_signed,htlc_signature,signature,num_htlcs
msgdata,commitment_signed,splice_channel_id,commitment_signed_tlvs,
-tlvtype,commitment_signed_tlvs,splice_info,0
-tlvdata,commitment_signed_tlvs,splice_info,batch_size,u16,
+tlvtype,commitment_signed_tlvs,splice_info,1
tlvdata,commitment_signed_tlvs,splice_info,funding_txid,sha256,
msgtype,revoke_and_ack,133
msgdata,revoke_and_ack,channel_id,channel_id,