1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

BOLT 9: Add ASSUMED marker we can use on features.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2024-03-14 21:19:03 +10:30 committed by neil saitug
parent 5f8fea8dc3
commit b750c3d8f9

View File

@ -6,6 +6,8 @@ the `channel_announcement` and `node_announcement` messages ([BOLT
#7](07-routing-gossip.md)). The flags are tracked separately, since #7](07-routing-gossip.md)). The flags are tracked separately, since
new flags will likely be added over time. new flags will likely be added over time.
Some features were introduced and became so widespread they are `ASSUMED` to be present by all nodes, and can be safely ignored (and the semantics are only defined in prior revisions of this spec).
Flags are numbered from the least-significant bit, at bit 0 (i.e. 0x1, Flags are numbered from the least-significant bit, at bit 0 (i.e. 0x1,
an _even_ bit). They are generally assigned in pairs so that features an _even_ bit). They are generally assigned in pairs so that features
can be introduced as optional (_odd_ bits) and later upgraded to be compulsory can be introduced as optional (_odd_ bits) and later upgraded to be compulsory