forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EXPERIMENTAL_FEATURES: import channel_type from lightning/bolts#880
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information
1 parent
9a48221
commit 9f936b3
Showing
2 changed files
with
26 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/wire/peer_wire.csv b/wire/peer_wire.csv | ||
index 40b78f175..e14d39fdc 100644 | ||
--- a/wire/peer_wire.csv | ||
+++ b/wire/peer_wire.csv | ||
@@ -91,6 +91,11 @@ 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_types,1 | ||
+tlvdata,open_channel_tlvs,channel_types,types,channel_type,... | ||
+subtype,channel_type | ||
+subtypedata,channel_type,len,u16, | ||
+subtypedata,channel_type,features,byte,len | ||
msgtype,accept_channel,33 | ||
msgdata,accept_channel,temporary_channel_id,byte,32 | ||
msgdata,accept_channel,dust_limit_satoshis,u64, | ||
@@ -109,6 +114,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,channel_type, | ||
msgtype,funding_created,34 | ||
msgdata,funding_created,temporary_channel_id,byte,32 | ||
msgdata,funding_created,funding_txid,sha256, |
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