1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-03-10 09:10:07 +01:00

BOLT 11: use the same features for BOLT11 invoices as for others.

A bit less dense, but avoids a separate feature space.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2019-10-30 16:32:10 +10:30
parent 6502e30e8f
commit 8e69306e0a
2 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,7 @@ The Context column decodes as follows:
* `C`: presented in the `channel_announcement` message.
* `C-`: presented in the `channel_announcement` message, but always odd (optional).
* `C+`: presented in the `channel_announcement` message, but always even (required).
* `9`: presented in [BOLT 11](11-payment-encoding.md) invoices.
| Bits | Name | Description | Context | Link |
|-------|----------------------------------|-----------------------------------------------------------|----------|---------------------------------------|

View file

@ -272,7 +272,8 @@ Don't be like the school of [Little Bobby Tables](https://xkcd.com/327/).
## Feature Bits
Feature bits allow forward and backward compatibility, and follow the
_it's ok to be odd_ rule.
_it's ok to be odd_ rule. Features appropriate for use in the `9` field
are marked in [BOLT 9](09-features.md).
The field is big-endian. The least-significant bit is numbered 0,
which is _even_, and the next most significant bit is numbered 1,