From 43725d7f075c6ef44648681451a26684fc9a9105 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 17 Jul 2024 10:55:27 +0930 Subject: [PATCH] BOLT 4: put dummy hop recommendation into the requirements. It was mentioned in the rationale only. Signed-off-by: Rusty Russell --- 04-onion-routing.md | 1 + 1 file changed, 1 insertion(+) diff --git a/04-onion-routing.md b/04-onion-routing.md index 8997bb6..4cd8341 100644 --- a/04-onion-routing.md +++ b/04-onion-routing.md @@ -509,6 +509,7 @@ The writer of a `blinded_path`: - MAY store private data in `encrypted_data_tlv[r].path_id` to verify that the route is used in the right context and was created by them - SHOULD add padding data to ensure all `encrypted_data_tlv[i]` have the same length - MUST encrypt each `encrypted_data_tlv[i]` with ChaCha20-Poly1305 using the corresponding $`rho_i`$ key and an all-zero nonce to produce `encrypted_recipient_data[i]` +- MAY add additional "dummy" hops at the end of the path (which it will ignore on receipt) to obscure the path length. The reader of the `blinded_path`: - MUST prepend its own onion payloads to reach the `first_node_id`