|
@ -40,13 +40,12 @@ void set_feature_bit(u8 **ptr, u32 bit); |
|
|
|
|
|
|
|
|
/* BOLT #9:
|
|
|
/* BOLT #9:
|
|
|
* |
|
|
* |
|
|
* ## Assigned `localfeatures` flags |
|
|
|
|
|
*... |
|
|
|
|
|
* | Bits | Name |... |
|
|
* | Bits | Name |... |
|
|
* | 0/1 | `option_data_loss_protect` |... |
|
|
* | 0/1 | `option_data_loss_protect` |... |
|
|
* | 3 | `initial_routing_sync` |... |
|
|
* | 3 | `initial_routing_sync` |... |
|
|
* | 4/5 | `option_upfront_shutdown_script` |... |
|
|
* | 4/5 | `option_upfront_shutdown_script` |... |
|
|
* | 6/7 | `gossip_queries` |... |
|
|
* | 6/7 | `gossip_queries` |... |
|
|
|
|
|
* | 8/9 | `var_onion_optin` |... |
|
|
* | 10/11 | `gossip_queries_ex` |... |
|
|
* | 10/11 | `gossip_queries_ex` |... |
|
|
* | 12/13| `option_static_remotekey` |... |
|
|
* | 12/13| `option_static_remotekey` |... |
|
|
*/ |
|
|
*/ |
|
@ -54,6 +53,7 @@ void set_feature_bit(u8 **ptr, u32 bit); |
|
|
#define OPT_INITIAL_ROUTING_SYNC 2 |
|
|
#define OPT_INITIAL_ROUTING_SYNC 2 |
|
|
#define OPT_UPFRONT_SHUTDOWN_SCRIPT 4 |
|
|
#define OPT_UPFRONT_SHUTDOWN_SCRIPT 4 |
|
|
#define OPT_GOSSIP_QUERIES 6 |
|
|
#define OPT_GOSSIP_QUERIES 6 |
|
|
|
|
|
#define OPT_VAR_ONION 8 |
|
|
#define OPT_GOSSIP_QUERIES_EX 10 |
|
|
#define OPT_GOSSIP_QUERIES_EX 10 |
|
|
#define OPT_STATIC_REMOTEKEY 12 |
|
|
#define OPT_STATIC_REMOTEKEY 12 |
|
|
|
|
|
|
|
@ -65,13 +65,4 @@ void set_feature_bit(u8 **ptr, u32 bit); |
|
|
#define OPT_PAYMENT_SECRET 14 |
|
|
#define OPT_PAYMENT_SECRET 14 |
|
|
#define OPT_BASIC_MPP 16 |
|
|
#define OPT_BASIC_MPP 16 |
|
|
|
|
|
|
|
|
/* BOLT #9:
|
|
|
|
|
|
* |
|
|
|
|
|
* ## Assigned `globalfeatures` flags |
|
|
|
|
|
*... |
|
|
|
|
|
* | Bits | Name | ... |
|
|
|
|
|
* | 8/9 | `var_onion_optin` | ... |
|
|
|
|
|
*/ |
|
|
|
|
|
#define OPT_VAR_ONION 8 |
|
|
|
|
|
|
|
|
|
|
|
#endif /* LIGHTNING_COMMON_FEATURES_H */ |
|
|
#endif /* LIGHTNING_COMMON_FEATURES_H */ |
|
|