Skip to content

Commit 8cb9b89

Browse files
authored
Merge pull request #1095 from vincenzopalazzo/macros/specify-multiple-fields
bol09: Specify behavior when a node specifies both optional and required features
2 parents fbd19ef + ec59f7c commit 8cb9b89

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

09-features.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,14 @@ The origin node:
6565
unless indicated that it must set the odd feature bit instead.
6666
* MUST NOT set feature bits it does not support.
6767
* MUST NOT set feature bits in fields not specified by the table above.
68+
* MUST NOT set both the optional and mandatory bits.
6869
* MUST set all transitive feature dependencies.
70+
* MUST support:
71+
* `var_onion_optin`
6972

70-
The origin node MUST support:
71-
* `var_onion_optin`
73+
The receiving node:
74+
* if both the optional and the mandatory feature bits in a pair are set,
75+
the feature should be treated as mandatory.
7276

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

0 commit comments

Comments
 (0)