mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 14:54:26 +01:00
common/features: add explicit bolt12 feature sets.
The spec only specifies the mpp bit for invoices, but in general they are separate spaces. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
6e755d6fe8
commit
9a0d2040d3
@@ -10,8 +10,11 @@ enum feature_place {
|
||||
NODE_ANNOUNCE_FEATURE,
|
||||
CHANNEL_FEATURE,
|
||||
BOLT11_FEATURE,
|
||||
BOLT12_OFFER_FEATURE,
|
||||
BOLT12_INVREQ_FEATURE,
|
||||
BOLT12_INVOICE_FEATURE,
|
||||
};
|
||||
#define NUM_FEATURE_PLACE (BOLT11_FEATURE+1)
|
||||
#define NUM_FEATURE_PLACE (BOLT12_INVOICE_FEATURE+1)
|
||||
|
||||
extern const char *feature_place_names[NUM_FEATURE_PLACE];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user