Skip to content

Commit

Permalink
EXPERIMENTAL_FEATURES: import channel_type from lightning/bolts#880
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Sep 6, 2021
1 parent 574e3e5 commit e4b42b5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions wire/extracted_peer_exp_channel_types.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/wire/peer_wire.csv b/wire/peer_wire.csv
index 40b78f175..8c256bbb6 100644
--- a/wire/peer_wire.csv
+++ b/wire/peer_wire.csv
@@ -91,6 +53,8 @@ msgdata,open_channel,channel_flags,byte,
msgdata,open_channel,tlvs,open_channel_tlvs,
tlvtype,open_channel_tlvs,upfront_shutdown_script,0
tlvdata,open_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
+tlvtype,open_channel_tlvs,channel_type,1
+tlvdata,open_channel_tlvs,channel_type,type,byte,...
msgtype,accept_channel,33
msgdata,accept_channel,temporary_channel_id,byte,32
msgdata,accept_channel,dust_limit_satoshis,u64,
@@ -109,6 +73,8 @@ msgdata,accept_channel,first_per_commitment_point,point,
msgdata,accept_channel,tlvs,accept_channel_tlvs,
tlvtype,accept_channel_tlvs,upfront_shutdown_script,0
tlvdata,accept_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
+tlvtype,accept_channel_tlvs,channel_type,1
+tlvdata,accept_channel_tlvs,channel_type,type,byte,...
msgtype,funding_created,34
msgdata,funding_created,temporary_channel_id,byte,32
msgdata,funding_created,funding_txid,sha256,

0 comments on commit e4b42b5

Please sign in to comment.