Skip to content

Commit

Permalink
BOLT 4: put dummy hop recommendation into the requirements.
Browse files Browse the repository at this point in the history
It was mentioned in the rationale only.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Jul 11, 2024
1 parent eb2c1d5 commit fbb914a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 04-onion-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,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`
Expand Down

0 comments on commit fbb914a

Please sign in to comment.