[fuzz] Make router_target a bit easier for fuzzers to explore 2020-11-router-fuzzer
authorMatt Corallo <git@bluematt.me>
Thu, 12 Nov 2020 22:19:05 +0000 (17:19 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 24 Nov 2020 16:04:11 +0000 (11:04 -0500)
commitb56b4add6ae0625271a66a8a1a48058c7f542352
tree8eb8b7ef43b1935bf16f4239b763b5871d3ef43a
parentc53d8a3596930afa2d75b663013501e8b8fdd838
[fuzz] Make router_target a bit easier for fuzzers to explore

It turns out (somewhat obviously) that expecting a fuzzer to
correctly build multiple signatures which verify against multiple
public keys in the same message was a bit too daunting, so we now
skip message signatures in routing messages.

We also take this opportunity to simplify the target itself somewhat,
avoiding reading public keys over and over and instead generating
routes to all the public keys that appeared in messages while running.
fuzz/src/router.rs