core-lightning/gossipd/test
Rusty Russell 46cc7c281e features: more general accessor functions.
As we add more features, the current code is insufficient.

1. Keep an array of single feature bits, for easy switching on and off.
2. Create feature_offered() which checks for both compulsory and optional
   variants.
3. Invert requires_unsupported_features() and unsupported_features()
   which tend to be double-negative, all_supported_features() and
   features_supported().
4. Move single feature definition from wire/peer_wire.h to common/features.h.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-03-14 02:19:37 +00:00
..
.gitignore gossipd/test/run-bench-find_route: don't abort if we try to route to ourselves 2017-12-20 13:57:28 +01:00
Makefile gossipd: Check features in node_announcement and channel_announcement. 2018-01-13 11:29:42 +01:00
run-bench-find_route.c features: more general accessor functions. 2018-03-14 02:19:37 +00:00
run-find_route-specific.c features: more general accessor functions. 2018-03-14 02:19:37 +00:00
run-find_route.c features: more general accessor functions. 2018-03-14 02:19:37 +00:00
run-initiator-success.c Mark intentionally unused parameters as such (with "UNUSED") 2018-02-22 01:09:12 +00:00
run-responder-success.c Mark intentionally unused parameters as such (with "UNUSED") 2018-02-22 01:09:12 +00:00