mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
232fba878e
They didn't actually apply properly! I regenerated the dual-funding CSV from the latest commit (091397fc0798c4b2bdb36dbaa9f5b4b1d4a463e1) and made it a single patch. I tried doing the same for splicing, but the implementation has drifted far from the spec, so I simply opted for a patch which didn't change anything. You can see the resulting "wire/peer_wire.csv" is the same, except fields are now in a less-random order! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
diff --git a/wire/peer_wire.csv b/wire/peer_wire.csv
|
|
index 5b5803afc..41b57e85b 100644
|
|
--- a/wire/peer_wire.csv
|
|
+++ b/wire/peer_wire.csv
|
|
@@ -206,6 +206,20 @@ subtypedata,lease_rates,channel_fee_max_base_msat,tu32,
|
|
msgtype,stfu,2
|
|
msgdata,stfu,channel_id,channel_id,
|
|
msgdata,stfu,initiator,u8,
|
|
+msgtype,splice,75
|
|
+msgdata,splice,channel_id,channel_id,
|
|
+msgdata,splice,chain_hash,chain_hash,
|
|
+msgdata,splice,relative_satoshis,s64,
|
|
+msgdata,splice,funding_feerate_perkw,u32,
|
|
+msgdata,splice,locktime,u32,
|
|
+msgdata,splice,funding_pubkey,point,
|
|
+msgtype,splice_ack,76
|
|
+msgdata,splice_ack,channel_id,channel_id,
|
|
+msgdata,splice_ack,chain_hash,chain_hash,
|
|
+msgdata,splice_ack,relative_satoshis,s64,
|
|
+msgdata,splice_ack,funding_pubkey,point,
|
|
+msgtype,splice_locked,77,
|
|
+msgdata,splice_locked,channel_id,channel_id,
|
|
msgtype,shutdown,38
|
|
msgdata,shutdown,channel_id,channel_id,
|
|
msgdata,shutdown,len,u16,
|
|
@@ -264,6 +250,9 @@ msgdata,commitment_signed,channel_id,channel_id,
|
|
msgdata,commitment_signed,signature,signature,
|
|
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,splice_channel_id,channel_id,
|
|
msgtype,revoke_and_ack,133
|
|
msgdata,revoke_and_ack,channel_id,channel_id,
|
|
msgdata,revoke_and_ack,per_commitment_secret,byte,32
|