core-lightning/wallet/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 wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile channel: reserve a bip32 index as soon as channel is opened. 2018-03-07 18:55:51 +01:00
run-db.c Remove unused parameter testname in create_test_db(const char *testname) 2018-02-22 10:46:30 +01:00
run-wallet.c features: more general accessor functions. 2018-03-14 02:19:37 +00:00
test_utils.h wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00