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.
wire: update to BOLT 17ceba42dc6607b637a713a9bc051f63c1357edd "BOLT 4…
…: onion message support." We don't need to patch it in anymore, now it's merged. However, we do move the message itself from onion_wire.csv to peer_wire.csv (we should get more sophisticated with our parsing, but this works for now!). The resulting peer_wire.csv is identical, the onion_wire.csv file is slightly reordered. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
0166dd5
commit af5bb32
Showing
7 changed files
with
58 additions
and
48 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
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
diff --git a/wire/onion_wire.csv b/wire/onion_wire.csv | ||
index ae05f09fd..b09811ed1 100644 | ||
--- a/wire/onion_wire.csv | ||
+++ b/wire/onion_wire.csv | ||
@@ -92,6 +92,12 @@ tlvtype,onionmsg_tlv,reply_path,2 | ||
tlvdata,onionmsg_tlv,reply_path,path,blinded_path, | ||
tlvtype,onionmsg_tlv,encrypted_recipient_data,4 | ||
tlvdata,onionmsg_tlv,encrypted_recipient_data,encrypted_recipient_data,byte,... | ||
+tlvtype,onionmsg_tlv,invoice_request,64 | ||
+tlvdata,onionmsg_tlv,invoice_request,invoice_request,tlv_invoice_request, | ||
+tlvtype,onionmsg_tlv,invoice,66 | ||
+tlvdata,onionmsg_tlv,invoice,invoice,tlv_invoice, | ||
+tlvtype,onionmsg_tlv,invoice_error,68 | ||
+tlvdata,onionmsg_tlv,invoice_error,invoice_error,tlv_invoice_error, | ||
subtype,blinded_path | ||
subtypedata,blinded_path,first_node_id,point, | ||
subtypedata,blinded_path,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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
We put this in peer_wire instead, in extracted_peer_05_newonion.patch | ||
|
||
diff --git a/wire/onion_wire.csv b/wire/onion_wire.csv | ||
index 3884c63dd..25798c3da 100644 | ||
--- a/wire/onion_wire.csv | ||
+++ b/wire/onion_wire.csv | ||
@@ -103,10 +103,6 @@ msgdata,invalid_onion_payload,offset,u16, | ||
msgtype,mpp_timeout,23 | ||
msgtype,invalid_onion_blinding,BADONION|PERM|24 | ||
msgdata,invalid_onion_blinding,sha256_of_onion,sha256, | ||
-msgtype,onion_message,513 | ||
-msgdata,onion_message,blinding,point, | ||
-msgdata,onion_message,len,u16, | ||
-msgdata,onion_message,onion_message_packet,byte,len | ||
tlvtype,onionmsg_tlv,reply_path,2 | ||
tlvdata,onionmsg_tlv,reply_path,path,blinded_path, | ||
tlvtype,onionmsg_tlv,encrypted_recipient_data,4 |
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