Skip to content

Commit

Permalink
BOLT 11: use the same features for BOLT11 invoices as for others.
Browse files Browse the repository at this point in the history
A bit less dense, but avoids a separate feature space.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Nov 25, 2019
1 parent 6502e30 commit 8e69306
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions 09-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
|-------|----------------------------------|-----------------------------------------------------------|----------|---------------------------------------|
Expand Down
3 changes: 2 additions & 1 deletion 11-payment-encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8e69306

Please sign in to comment.