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
d0605ac
commit bd2f2ec
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_1b1c9a71038bd72453cabefd3ace17ce8b8dd96e
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-03-25 10:24:12.861645774 +1030 | ||
+++ - 2020-03-26 13:47:13.498294435 +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_node_id,4 | ||
+tlvdata,onionmsg_payload,next_node_id,node_id,point, | ||
+tlvtype,onionmsg_payload,next_short_channel_id,6 | ||
+tlvdata,onionmsg_payload,next_short_channel_id,short_channel_id,short_channel_id, | ||
+tlvtype,onionmsg_payload,reply_path,8 | ||
+tlvdata,onionmsg_payload,reply_path,blinding,point, | ||
+tlvdata,onionmsg_payload,reply_path,path,onionmsg_path,... | ||
+tlvtype,onionmsg_payload,enctlv,10 | ||
+tlvdata,onionmsg_payload,enctlv,enctlv,byte,... | ||
+tlvtype,onionmsg_payload,blinding,12 | ||
+tlvdata,onionmsg_payload,blinding,blinding,point, | ||
+tlvtype,encmsg_tlvs,next_node_id,4 | ||
+tlvdata,encmsg_tlvs,next_node_id,node_id,point, | ||
+tlvtype,encmsg_tlvs,next_short_channel_id,6 | ||
+tlvdata,encmsg_tlvs,next_short_channel_id,short_channel_id,short_channel_id, | ||
+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_1b1c9a71038bd72453cabefd3ace17ce8b8dd96e
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-26 13:47:13.409755567 +1030 | ||
@@ -211,3 +211,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