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
..
2018-03-07 18:55:51 +01:00
2017-10-20 18:31:32 +02:00
2018-03-08 23:51:45 +00:00
2018-02-24 10:37:28 +01:00
2018-01-08 17:19:25 +01:00
2017-12-20 12:56:15 +01:00
2018-03-07 18:55:51 +01:00
2018-03-06 18:59:27 +01:00
2018-03-07 18:55:51 +01:00
2018-02-20 22:36:21 +01:00
2018-02-23 18:02:00 +01:00
2018-03-07 18:55:51 +01:00
2018-03-07 18:55:51 +01:00
2018-03-07 18:55:51 +01:00
2018-02-20 22:36:21 +01:00
2018-02-26 03:13:55 +00:00
2018-02-20 22:36:21 +01:00
2018-02-22 01:10:09 +00:00
2018-03-14 02:19:37 +00:00
2017-10-20 18:31:32 +02:00
2018-03-12 22:34:51 +00:00
2018-03-12 22:34:51 +00:00
2018-02-20 22:36:21 +01:00
2017-06-27 10:25:53 +09:30
2018-02-22 10:46:30 +01:00
2018-02-14 11:31:58 +01:00
2018-03-01 03:55:48 +00:00
2018-01-16 13:03:54 +01:00
2018-02-18 13:51:37 +01:00
2018-03-06 19:26:21 +01:00
2018-02-26 03:09:15 +00:00
2018-03-07 18:55:51 +01:00
2018-03-07 18:55:51 +01:00
2018-02-20 22:36:21 +01:00
2018-02-07 00:46:49 +00:00
2018-03-11 14:30:34 +01:00
2018-02-22 10:46:30 +01:00
2018-03-06 18:59:27 +01:00
2018-03-06 19:26:21 +01:00
2018-02-22 01:09:12 +00:00
2017-12-21 09:56:20 +00:00
2018-03-07 18:55:51 +01:00
2018-02-20 22:36:21 +01:00
2018-03-07 18:55:51 +01:00
2018-02-20 22:36:21 +01:00
2018-03-06 19:26:21 +01:00
2017-08-29 17:54:14 +02:00
2018-03-06 19:26:21 +01:00
2018-01-19 22:23:45 +00:00
2018-03-07 18:55:51 +01:00
2018-02-16 13:08:29 +01:00
2018-03-06 19:26:21 +01:00
2018-02-16 13:08:29 +01:00
2018-03-14 02:19:37 +00:00
2018-02-25 20:41:50 +00:00
2018-03-06 19:26:21 +01:00
2018-02-20 22:36:21 +01:00
2018-03-06 19:26:21 +01:00
2018-02-23 18:02:00 +01:00
2018-02-22 10:46:30 +01:00
2018-02-22 10:46:30 +01:00