elements/src/test/util
2026-02-19 14:26:08 +00:00
..
blockfilter.cpp Remove unused includes from blockfilter.h 2023-08-17 18:28:15 +02:00
blockfilter.h
chainstate.h assumeutxo: Get rid of faked nTx and nChainTx values 2024-03-18 11:28:40 -05:00
coins.cpp Use Txid in COutpoint 2023-11-21 13:15:44 +00:00
coins.h
index.cpp refactor: Remove call to ShutdownRequested from IndexWaitSynced 2023-12-04 15:39:15 -04:00
index.h refactor: Remove call to ShutdownRequested from IndexWaitSynced 2023-12-04 15:39:15 -04:00
json.cpp
json.h
logging.cpp
logging.h
mining.cpp refactor: De-globalize g_signals 2024-02-15 14:37:01 +01:00
mining.h
net.cpp Merge c252a0fc0f into merged_master (Bitcoin PR bitcoin/bitcoin#28892) 2025-11-11 09:48:12 +02:00
net.h fuzz: p2p: Detect peer deadlocks 2023-12-06 13:11:38 +01:00
poolresourcetester.h
random.cpp test: move remaining random test util code from setup_common to random 2023-06-14 08:28:33 -06:00
random.h test: move remaining random test util code from setup_common to random 2023-06-14 08:28:33 -06:00
README.md
script.cpp
script.h fuzz: allow reaching MempoolAcceptResult::ResultType::DIFFERENT_WITNESS in tx_package_eval target 2023-11-09 09:07:03 -05:00
setup_common.cpp Merge 16a6174613 into merged_master (Bitcoin PR bitcoin/bitcoin#29904) 2026-02-18 16:43:54 +00:00
setup_common.h Merge 5ebb406357 into merged_master (Bitcoin PR #26564) 2026-02-12 17:11:16 +00:00
str.cpp
str.h
transaction_utils.cpp
transaction_utils.h
txmempool.cpp Merge 99d7538cdb into merged_master (Bitcoin PR bitcoin/bitcoin#30012) 2026-02-19 14:26:08 +00:00
txmempool.h Merge 7143d43884 into merged_master (Bitcoin PR bitcoin/bitcoin#28948) 2025-12-03 19:08:52 +00:00
validation.cpp validation: pass ChainstateRole for validationinterface calls 2023-09-30 06:38:47 -04:00
validation.h validation: pass ChainstateRole for validationinterface calls 2023-09-30 06:38:47 -04:00
xoroshiro128plusplus.h

Test library

This contains files for the test library, which is used by the test binaries (unit tests, benchmarks, fuzzers, gui tests).

Generally, the files in this folder should be well-separated modules. New code should be added to existing modules or (when in doubt) a new module should be created.

The utilities in here are compiled into a library, which does not hold any state. However, the main file setup_common defines the common test setup for all test binaries. The test binaries will handle the global state when they instantiate the BasicTestingSetup (or one of its derived classes).