mirror of
https://github.com/lightning/bolts.git
synced 2025-03-09 15:52:43 +01:00
BOLT 4: put dummy hop recommendation into the requirements.
It was mentioned in the rationale only. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
d91642e6a0
commit
43725d7f07
1 changed files with 1 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue