Page MenuHomePhabricator

Add txrequest fuzz tests
ClosedPublic

Authored by Fabien on May 18 2021, 15:32.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABCececd2475c1c: Add txrequest fuzz tests
Summary
This adds a fuzz test that reimplements a naive reimplementation of
TxRequestTracker (with up to 16 fixed peers and 16 fixed txhashes),
and compares the real implementation against it.

Partial backport of core#19988:
https://github.com/bitcoin/bitcoin/pull/19988/commits/5b03121d60527a193a84c339151481f9c9c1962b

Depends on D9548.

Test Plan
ninja bitcoin-fuzzers

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable