Skip to content

Commit

Permalink
BOLT 04: Onion failure message may be followed by a tlv stream
Browse files Browse the repository at this point in the history
  • Loading branch information
joostjager committed Sep 14, 2022
1 parent cfd04f4 commit e424a3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 04-onion-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,10 @@ The _origin node_:

The failure message encapsulated in `failuremsg` has an identical format as
a normal message: a 2-byte type `failure_code` followed by data applicable
to that type. Below is a list of the currently supported `failure_code`
to that type. The message data is followed by an optional
[TLV stream](01-messaging.md#type-length-value-format).

Below is a list of the currently supported `failure_code`
values, followed by their use case requirements.

Notice that the `failure_code`s are not of the same type as other message types,
Expand Down

0 comments on commit e424a3c

Please sign in to comment.