Skip to content

Commit faa7145

Browse files
committed
features: define LOCAL_GOSSIP_QUERIES feature.
From BOLT #9 proposed update. Signed-off-by: Rusty Russell <[email protected]>
1 parent 8890c0e commit faa7145

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

common/features.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
#include <wire/peer_wire.h>
55

66
static const u32 local_features[] = {
7-
LOCAL_INITIAL_ROUTING_SYNC
7+
LOCAL_INITIAL_ROUTING_SYNC,
8+
LOCAL_GOSSIP_QUERIES
89
};
910

1011
static const u32 global_features[] = {

common/features.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ bool feature_offered(const u8 *features, size_t f);
2525
* | 0/1 | `option-data-loss-protect` |...
2626
* | 3 | `initial_routing_sync` |...
2727
* | 4/5 | `option_upfront_shutdown_script` |...
28+
* | 6/7 | `gossip_queries` |...
2829
*/
2930
#define LOCAL_DATA_LOSS_PROTECT 0
3031
#define LOCAL_INITIAL_ROUTING_SYNC 2
3132
#define LOCAL_UPFRONT_SHUTDOWN_SCRIPT 4
33+
#define LOCAL_GOSSIP_QUERIES 6
3234

3335
#endif /* LIGHTNING_COMMON_FEATURES_H */

0 commit comments

Comments
 (0)