Skip to content

Commit

Permalink
fixup! BOLT 4: remove old enctlvs test vectors, use onion-payment-sty…
Browse files Browse the repository at this point in the history
…le one.

One reported by @dunxen, and a clarification requested by Val.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Jan 9, 2023
1 parent 21abc2d commit 5a71b2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 04-onion-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,8 @@ The `onionmsg_tlv` itself is a TLV: an intermediate node expects an
using the `blinding` which it is handed along with the onion message.

Field numbers 64 and above are reserved for payloads for the final
hop.
hop, though these are not explicitly refused by non-final hops (unless
even, of course!).

1. `tlv_stream`: `onionmsg_tlv`
2. types:
Expand Down Expand Up @@ -1562,7 +1563,7 @@ onion messages.

`len` allows larger messages to be sent than the standard 1300 bytes
allowed for an HTLC onion, but this should be used sparingly as it is
reduces anonymity set, hence the recommendation that it either look
reduces the anonymity set, hence the recommendation that it either looks
like an HTLC onion, or if larger, be a fixed size.

Onion messages don't explicitly require a channel, but for
Expand Down

0 comments on commit 5a71b2f

Please sign in to comment.