rust-lightning/fuzz
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
..
fuzz_targets Allow duplicate-payment_hash HTLCs for HTLC forwards 2018-09-12 11:15:47 -04:00
src/util Provide fallback for crypto's fixed_time_eq on non-x86/arm targets 2018-04-16 20:35:21 -04:00
.gitignore add .gitignore 2018-05-12 14:30:26 +09:00
Cargo.toml Update msg_targets with new, must-roundtrip, and hole messages 2018-08-29 18:04:55 -04:00
travis-fuzz.sh Make travis check that msg_targets match the template 2018-05-13 13:23:22 -04:00