diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-07 14:03:44 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-07-07 14:03:52 +0200 |
commit | bac52a1cfe9972fea563bad8a3c417a3db218c66 (patch) | |
tree | a0a642f2e5c5406c7202f215aff781411b12b1df /ci | |
parent | 67c6b61f96defef9eaafb3a55d7a82869260b222 (diff) | |
parent | 6eb0909cb7d5883a258f76ad6cf2c989fc6f892f (diff) |
Merge bitcoin/bitcoin#25447: fuzz: add low-level target for txorphanage
6eb0909cb7d5883a258f76ad6cf2c989fc6f892f fuzz: add low-level target for txorphanage (chinggg)
Pull request description:
This adds a low-level fuzz target for orphan transaction handling by creating random transactions and calling all functions in `TxOrphanage`.
It cannot simulate real-world `orphan/unorphan` scenarios effectively since it does not maintain any state about the node and the chain. A high-level fuzz target which construct well-designed transaction graphs will be added later.
ACKs for top commit:
MarcoFalke:
review ACK 6eb0909cb7d5883a258f76ad6cf2c989fc6f892f 🐈
Tree-SHA512: b4d64f5941df77d13981f75ec170cef6ffabe782797c982ede7f34134be01dc0026dd7c0bee614bc1d64715e90a933d2a8c95974d402e32eaba8e24cc928299e
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/test/06_script_b.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh index bdb68e0f6f..32f0ea5e42 100755 --- a/ci/test/06_script_b.sh +++ b/ci/test/06_script_b.sh @@ -46,6 +46,7 @@ if [ "${RUN_TIDY}" = "true" ]; then " src/policy/settings.cpp"\ " src/rpc/fees.cpp"\ " src/rpc/signmessage.cpp"\ + " src/test/fuzz/txorphan.cpp"\ " -p . ${MAKEJOBS} -- -Xiwyu --cxx17ns -Xiwyu --mapping_file=${BASE_BUILD_DIR}/bitcoin-$HOST/contrib/devtools/iwyu/bitcoin.core.imp" fi |