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.
EXPERMENTAL_FEATURES: Import onion message types.
This tracks lightning/bolts#759 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information
1 parent
f69a208
commit efdad8b
Showing
7 changed files
with
67 additions
and
1 deletion.
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
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
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
28 changes: 28 additions & 0 deletions
28
wire/extracted_onion_experimental_3dfca5460f9cd90a4b8f15c9ced1efd904ac7747
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,28 @@ | ||
--- wire/extracted_onion_wire_csv 2020-02-25 05:52:39.612291156 +1030 | ||
+++ - 2020-03-20 15:11:55.763880895 +1030 | ||
@@ -8,6 +8,25 @@ | ||
tlvtype,tlv_payload,payment_data,8 | ||
tlvdata,tlv_payload,payment_data,payment_secret,byte,32 | ||
tlvdata,tlv_payload,payment_data,total_msat,tu64, | ||
+tlvtype,onionmsg_payload,next_short_channel_id,2 | ||
+tlvdata,onionmsg_payload,next_short_channel_id,short_channel_id,short_channel_id, | ||
+tlvtype,onionmsg_payload,next_node_id,4 | ||
+tlvdata,onionmsg_payload,next_node_id,node_id,point, | ||
+tlvtype,onionmsg_payload,enctlv,6 | ||
+tlvdata,onionmsg_payload,enctlv,enctlv,byte,... | ||
+tlvtype,onionmsg_payload,reply_path,8 | ||
+tlvdata,onionmsg_payload,reply_path,blinding,point, | ||
+tlvdata,onionmsg_payload,reply_path,path,onionmsg_path,... | ||
+tlvtype,onionmsg_payload,blinding,10 | ||
+tlvdata,onionmsg_payload,blinding,blinding,point, | ||
+tlvtype,encmsg_tlvs,next_short_channel_id,2 | ||
+tlvdata,encmsg_tlvs,next_short_channel_id,short_channel_id,short_channel_id, | ||
+tlvtype,encmsg_tlvs,next_node_id,4 | ||
+tlvdata,encmsg_tlvs,next_node_id,node_id,point, | ||
+subtype,onionmsg_path | ||
+subtypedata,onionmsg_path,node_id,point, | ||
+subtypedata,onionmsg_path,enclen,u16, | ||
+subtypedata,onionmsg_path,enctlv,byte,enclen | ||
msgtype,invalid_realm,PERM|1 | ||
msgtype,temporary_node_failure,NODE|2 | ||
msgtype,permanent_node_failure,PERM|NODE|2 |
11 changes: 11 additions & 0 deletions
11
wire/extracted_peer_experimental_3dfca5460f9cd90a4b8f15c9ced1efd904ac7747
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,11 @@ | ||
--- wire/extracted_peer_wire_csv 2020-03-11 10:30:35.744376417 +1030 | ||
+++ - 2020-03-20 15:11:55.730046232 +1030 | ||
@@ -208,3 +208,8 @@ | ||
msgdata,gossip_timestamp_filter,chain_hash,chain_hash, | ||
msgdata,gossip_timestamp_filter,first_timestamp,u32, | ||
msgdata,gossip_timestamp_filter,timestamp_range,u32, | ||
+msgtype,onion_message,385,option_onion_messages | ||
+msgdata,onion_message,onionmsg,byte,1366 | ||
+msgdata,onion_message,onion_message_tlvs,onion_message_tlvs, | ||
+tlvtype,onion_message_tlvs,blinding,2 | ||
+tlvdata,onion_message_tlvs,blinding,blinding,point, |
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
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