Skip to content

Commit

Permalink
Merge pull request #1095 from vincenzopalazzo/macros/specify-multiple…
Browse files Browse the repository at this point in the history
…-fields

bol09: Specify behavior when a node specifies both optional and required features
  • Loading branch information
Roasbeef authored Aug 14, 2023
2 parents fbd19ef + ec59f7c commit 8cb9b89
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 09-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,14 @@ The origin node:
unless indicated that it must set the odd feature bit instead.
* MUST NOT set feature bits it does not support.
* MUST NOT set feature bits in fields not specified by the table above.
* MUST NOT set both the optional and mandatory bits.
* MUST set all transitive feature dependencies.
* MUST support:
* `var_onion_optin`

The origin node MUST support:
* `var_onion_optin`
The receiving node:
* if both the optional and the mandatory feature bits in a pair are set,
the feature should be treated as mandatory.

The requirements for receiving specific bits are defined in the linked sections in the table above.
The requirements for feature bits that are not defined
Expand Down

0 comments on commit 8cb9b89

Please sign in to comment.