diff options
author | Andrew Chow <achow101-github@achow101.com> | 2022-03-31 12:58:50 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2022-03-31 13:09:17 -0400 |
commit | 1021e4cc6877f66729e01a6662d5877e718ed276 (patch) | |
tree | ac98f66afb5cf0cbc3fd99a2920a932b9a17739d /src/Makefile.test.include | |
parent | b7d78e624474a9f46e9f7803e049f38c00df0f35 (diff) | |
parent | 21520b95515676d45145df624f430cdd39db7515 (diff) | |
download | bitcoin-1021e4cc6877f66729e01a6662d5877e718ed276.tar.xz |
Merge bitcoin/bitcoin#24602: fuzz: add target for coinselection algorithms
21520b95515676d45145df624f430cdd39db7515 fuzz: add target for coinselection (Martin Zumsande)
Pull request description:
This adds a fuzz target for the coinselection algorithms by creating random `OutputGroup`s and running all three coin selection algorithms for them.
It does not fuzz higher-level wallet logic for selecting eligible coins (as in `SelectCoins()`), thought it probably would make sense to have a fuzz target for that too.
ACKs for top commit:
achow101:
ACK 21520b95515676d45145df624f430cdd39db7515
vasild:
ACK 21520b95515676d45145df624f430cdd39db7515
Tree-SHA512: c763003cf5ff5317f929d3d0b2f06fa739ae41dd642042d9a5c5c96e6cb9b349a6c7aeabc77bc2b846d12c8bcb60e07ee20a9f38539429c65723ab76aeee6b2e
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r-- | src/Makefile.test.include | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include index b0b8eb3df6..5d25104327 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -176,8 +176,11 @@ if USE_BDB BITCOIN_TESTS += wallet/test/db_tests.cpp endif -if USE_SQLITE FUZZ_WALLET_SRC = \ + wallet/test/fuzz/coinselection.cpp + +if USE_SQLITE +FUZZ_WALLET_SRC += \ wallet/test/fuzz/notifications.cpp endif # USE_SQLITE |