1
0
mirror of https://github.com/lightning/bolts.git synced 2025-01-18 21:32:31 +01:00

BOLT 04: Onion failure message may be followed by a tlv stream

This commit is contained in:
Joost Jager 2022-09-02 11:25:13 +02:00
parent 786963760a
commit 484110f6e3
No known key found for this signature in database
GPG Key ID: B9A26449A5528325

View File

@ -803,7 +803,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,