diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-08-05 15:17:44 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-08-05 15:17:50 +0200 |
commit | d67330d11245b11fbdd5e2dd5343ee451186931e (patch) | |
tree | f4c349d795530ae479a8c5f33a27a4f505dcce71 /build-aux/m4 | |
parent | f4328ebef52f51a5ee45cc42815c91ccd28b0669 (diff) | |
parent | 87651795d8622d354f8e3c481eb868d9433b841c (diff) |
Merge bitcoin/bitcoin#21129: fuzz: check that ser+unser produces the same AddrMan
87651795d8622d354f8e3c481eb868d9433b841c fuzz: check that ser+unser produces the same AddrMan (Vasil Dimov)
6408b24517f3418e2a408071b4c2ce26571f3167 fuzz: move init code to the CAddrManDeterministic constructor (Vasil Dimov)
Pull request description:
Add a fuzz test that fills addrman with a pile of randomly generated addresses, serializes it to a stream, unserializes the stream to another addrman object and compares the two.
Some discussion of this already happened at https://github.com/jnewbery/bitcoin/pull/18.
ACKs for top commit:
practicalswift:
cr ACK 87651795d8622d354f8e3c481eb868d9433b841c
jonatack:
ACK 87651795d8622d354f8e3c481eb868d9433b841c rebased to current master, reviewed, fuzz build, ran `FUZZ=addrman_serdeser src/test/fuzz/fuzz`
Tree-SHA512: 7eda79279f14f2649840bf752e575d7b02cbaad541f74f7254855ebd4a32da988f042d78aa9228983350283bb74dd0c71f51f04c0846889c3ba2f19f01a0c303
Diffstat (limited to 'build-aux/m4')
0 files changed, 0 insertions, 0 deletions