rust-lightning/fuzz/src
Matt Corallo 32e5903ef2 Restrict ChannelManager persist in fuzzing to when we're told to
In the `chanmon_consistency` fuzz, we currently "persist" the
`ChannelManager` on each loop iteration. With the new logic in the
past few commits to reduce the frequency of `ChannelManager`
persistences, this behavior now leaves a gap in our test coverage -
missing persistence notifications.

In order to cath (common-case) persistence misses, we update the
`chanmon_consistency` fuzzer to no longer persist the
`ChannelManager` unless the waker was woken and signaled to
persist, possibly reloading with a previous `ChannelManager` if we
were not signaled.
2023-09-12 21:28:30 +00:00
..
bin Implement from_str trait for NetAddress 2023-09-06 19:25:30 +03:00
msg_targets Receive payment onions as new InboundPayload instead of OnionHopData 2023-08-02 12:54:34 -07:00
utils Rename EnforcingSigner to TestChannelSigner 2023-08-28 09:48:35 -07:00
base32.rs Add RFC4648 base32 encode and decode functions 2023-09-06 15:07:25 +03:00
bech32_parse.rs Qualify the BOLT 12 parse error 2023-07-14 15:04:43 -05:00
chanmon_consistency.rs Restrict ChannelManager persist in fuzzing to when we're told to 2023-09-12 21:28:30 +00:00
chanmon_deser.rs Rename EnforcingSigner to TestChannelSigner 2023-08-28 09:48:35 -07:00
fromstr_to_netaddress.rs Rename SocketAddress from NetAddress 2023-09-08 20:42:06 +08:00
full_stack.rs Have get_route take RouteParameters 2023-09-06 19:35:37 +02:00
indexedmap.rs Replace BTreeSet in IndexedMap with sorted Vec 2023-02-19 22:22:11 -06:00
invoice_deser.rs Qualify the BOLT 12 invoice type 2023-07-14 15:04:43 -05:00
invoice_request_deser.rs TaggedHash for BOLT 12 signing function 2023-08-21 19:14:27 -05:00
lib.rs Implement from_str trait for NetAddress 2023-09-06 19:25:30 +03:00
offer_deser.rs TaggedHash for BOLT 12 signing function 2023-08-21 19:14:27 -05:00
onion_hop_data.rs Receive payment onions as new InboundPayload instead of OnionHopData 2023-08-02 12:54:34 -07:00
onion_message.rs Rename EnforcingSigner to TestChannelSigner 2023-08-28 09:48:35 -07:00
peer_crypt.rs Use NodeSigner::ecdh to compute SharedSecrets 2023-01-18 17:23:23 -08:00
process_network_graph.rs Add some basic logging to Rapid Gossip Sync processing 2023-02-28 17:56:16 +00:00
refund_deser.rs TaggedHash for BOLT 12 signing function 2023-08-21 19:14:27 -05:00
router.rs Have get_route take RouteParameters 2023-09-06 19:35:37 +02:00
zbase32.rs Move zbase32 implementation to base32 file 2023-09-06 15:07:25 +03:00