rust-lightning/fuzz/src
Wilmer Paulino abf4e79dcd
Use UserConfig to determine advertised InitFeatures by ChannelManager
This is purely a refactor that does not change the InitFeatures
advertised by a ChannelManager. This allows users to configure which
features should be advertised based on the values of `UserConfig`. While
there aren't any existing features currently leveraging this behavior,
it will be used by the upcoming anchors_zero_fee_htlc_tx feature.

The UserConfig dependency on provided_init_features caused most
callsites of the main test methods responsible for opening channels to
be updated. This commit foregos that completely by no longer requiring
the InitFeatures of each side to be provided to these methods. The
methods already require a reference to each node's ChannelManager to
open the channel, so we use that same reference to obtain their
InitFeatures. A way to override such features was required for some
tests, so a new `override_init_features` config option now exists on
the test harness.
2023-01-13 23:54:51 -08:00
..
bin Fuzz test onion messages 2022-08-16 12:12:10 -04:00
msg_targets Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00
utils Rework chain::Watch return types to make async updates less scary 2022-09-29 20:27:53 +00:00
chanmon_consistency.rs Use UserConfig to determine advertised InitFeatures by ChannelManager 2023-01-13 23:54:51 -08:00
chanmon_deser.rs Split up generic parameters that used to comprise KeysInterface. 2023-01-12 16:10:35 -08:00
full_stack.rs Split up generic parameters that used to comprise KeysInterface. 2023-01-12 16:10:35 -08:00
lib.rs Fuzz test onion messages 2022-08-16 12:12:10 -04:00
onion_message.rs Split up generic parameters that used to comprise KeysInterface. 2023-01-12 16:10:35 -08:00
peer_crypt.rs Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00
process_network_graph.rs Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00
router.rs Use UserConfig to determine advertised InitFeatures by ChannelManager 2023-01-13 23:54:51 -08:00
zbase32.rs Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00