From ca06224cf6e031afed18761dcd2ffc655491dd13 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 24 Sep 2024 18:01:05 +0930 Subject: [PATCH] BOLT 4: add bolt12 payloads to onion message payloads. Signed-off-by: Rusty Russell --- 04-onion-routing.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/04-onion-routing.md b/04-onion-routing.md index 9be1332..7df5eb8 100644 --- a/04-onion-routing.md +++ b/04-onion-routing.md @@ -1510,6 +1510,15 @@ even, of course!). 1. type: 4 (`encrypted_recipient_data`) 2. data: * [`...*byte`:`encrypted_recipient_data`] + 1. type: 64 (`invoice_request`) + 2. data: + * [`tlv_invoice_request`:`invreq`] + 1. type: 66 (`invoice`) + 2. data: + * [`tlv_invoice`:`inv`] + 1. type: 68 (`invoice_error`) + 2. data: + * [`tlv_invoice_error`:`inverr`] #### Requirements