HomePhabricator

tests: Add fuzzing harnesses for classes CBlockHeader, CFeeRate and various…

Description

tests: Add fuzzing harnesses for classes CBlockHeader, CFeeRate and various functions

Summary:

Add fuzzing harnesses for classes CBlockHeader, CFeeRate and various
functions.

Backport of core PR18353.

The amount random generator and the feerate fuzzer have been slightly
adapted to match our codebase.

Test Plan:

ninja bitcoin-fuzzers
./test/fuzz/test_runner.py <path_to_corpus>

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D8967

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Mar 15 2020, 00:28
FabienCommitted on Jan 20 2021, 08:17
FabienPushed on Jan 20 2021, 08:19
Reviewer
Restricted Project
Differential Revision
D8967: tests: Add fuzzing harnesses for classes CBlockHeader, CFeeRate and various functions
Parents
rABCbd3d55649070: test: Check submitblock return values
Branches
Unknown
Tags
Unknown