rust-lightning/fuzz/fuzz_targets
Matt Corallo da5d707f49 Allow duplicate-payment_hash HTLCs for HTLC forwards
This is required by BOLT 2 to ensure that no attacker can simply
relay every public node a duplicate-payment_hash HTLC for each HTLC
it receives to deduce where an HTLC came from.

Note that this makes the claim logic much less incentive-compatible
as we will not claim all available HTLCs with the same payment_hash
even if we know the preimage! This is OK because, most likely, any
attackers trying to map the network will use small-value payments
and, hopefully, we will move away from constant hashes across an
entire payment at some point in the near future.

This further simplifies the payment transition state a bit, so
hopefully at least we got some readability out of all of this
2018-09-12 11:15:47 -04:00
..
msg_targets Update msg_targets with new, must-roundtrip, and hole messages 2018-08-29 18:04:55 -04:00
utils Remove some dead Logger code 2018-08-16 23:11:15 -04:00
chanmon_deser_target.rs Upgrade AFL to 0.4 with persistent mode fuzzing 2018-08-20 13:58:31 -04:00
channel_target.rs Allow duplicate-payment_hash HTLCs for HTLC forwards 2018-09-12 11:15:47 -04:00
full_stack_target.rs Add force_close_channel call command to full_stack_target 2018-09-09 11:36:00 -04:00
msg_ping_target.rs Upgrade AFL to 0.4 with persistent mode fuzzing 2018-08-20 13:58:31 -04:00
msg_pong_target.rs Upgrade AFL to 0.4 with persistent mode fuzzing 2018-08-20 13:58:31 -04:00
peer_crypt_target.rs Upgrade AFL to 0.4 with persistent mode fuzzing 2018-08-20 13:58:31 -04:00
router_target.rs Narrow ChainWatchInterface::install_watch_script 2018-09-08 02:30:28 +00:00