Skip to content

Commit

Permalink
BOLT 4: remove obsolete references to realm
Browse files Browse the repository at this point in the history
This was from the legacy onion, and is no longer present.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Jul 17, 2024
1 parent e29fca5 commit 6a51861
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions 04-onion-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -1095,10 +1095,6 @@ The top byte of `failure_code` can be read as a set of flags:

The following `failure_code`s are defined:

1. type: PERM|1 (`invalid_realm`)

The `realm` byte was not understood by the processing node.

1. type: NODE|2 (`temporary_node_failure`)

General temporary failure of the processing node.
Expand Down Expand Up @@ -1285,8 +1281,6 @@ An _erring node_:
- SHOULD select the first error it encounters from the list above.

An _erring node_ MAY:
- if the `realm` byte is unknown:
- return an `invalid_realm` error.
- if the per-hop payload in the onion is invalid (e.g. it is not a valid tlv stream)
or is missing required information (e.g. the amount was not specified):
- return an `invalid_onion_payload` error.
Expand Down

0 comments on commit 6a51861

Please sign in to comment.