mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
features: define LOCAL_GOSSIP_QUERIES feature.
From BOLT #9 proposed update. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
803e4f8895
commit
3e07971582
@ -4,7 +4,8 @@
|
||||
#include <wire/peer_wire.h>
|
||||
|
||||
static const u32 local_features[] = {
|
||||
LOCAL_INITIAL_ROUTING_SYNC
|
||||
LOCAL_INITIAL_ROUTING_SYNC,
|
||||
LOCAL_GOSSIP_QUERIES
|
||||
};
|
||||
|
||||
static const u32 global_features[] = {
|
||||
|
@ -25,9 +25,11 @@ bool feature_offered(const u8 *features, size_t f);
|
||||
* | 0/1 | `option-data-loss-protect` |...
|
||||
* | 3 | `initial_routing_sync` |...
|
||||
* | 4/5 | `option_upfront_shutdown_script` |...
|
||||
* | 6/7 | `gossip_queries` |...
|
||||
*/
|
||||
#define LOCAL_DATA_LOSS_PROTECT 0
|
||||
#define LOCAL_INITIAL_ROUTING_SYNC 2
|
||||
#define LOCAL_UPFRONT_SHUTDOWN_SCRIPT 4
|
||||
#define LOCAL_GOSSIP_QUERIES 6
|
||||
|
||||
#endif /* LIGHTNING_COMMON_FEATURES_H */
|
||||
|
Loading…
Reference in New Issue
Block a user