0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-04 10:07:27 -05:00
bitcoin-bitcoin-core/src/test/util
TheCharlatan 2b08c55f01
[refactor] Add CChainParams member to CConnman
This is done in preparation to the next commit, but has the nice
effect of removing one further data structure relying on the global
`Params()`.
2023-09-12 22:51:45 +02:00
..
blockfilter.cpp Remove unused includes from blockfilter.h 2023-08-17 18:28:15 +02:00
blockfilter.h refactor: Move functions to BlockManager methods 2023-05-10 19:06:53 +02:00
chainstate.h refactor: fix unterminated LogPrintf()s 2023-08-03 17:52:24 +01:00
coins.cpp
coins.h
index.cpp test: indexes, fix on error infinite loop 2023-07-10 15:27:13 -03:00
index.h test: Restore unlimited timeout in IndexWaitSynced 2023-07-06 14:19:59 +02:00
json.cpp
json.h
logging.cpp
logging.h
mining.cpp Clean up things that include script/standard.h 2023-08-14 17:38:27 -04:00
mining.h
net.cpp net: add have_next_message argument to Transport::GetBytesToSend() 2023-09-07 08:53:45 -04:00
net.h net: move message conversion to wire bytes from PushMessage to SocketSendData 2023-08-23 20:13:49 -04: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
setup_common.cpp [refactor] Add CChainParams member to CConnman 2023-09-12 22:51:45 +02:00
setup_common.h test: move random.h include header from setup_common.h to cpp 2023-06-14 08:28:33 -06:00
str.cpp
str.h
transaction_utils.cpp
transaction_utils.h
txmempool.cpp mempool_entry: add mempool entry sequence number 2023-08-03 13:42:45 +10:00
txmempool.h mempool_entry: add mempool entry sequence number 2023-08-03 13:42:45 +10:00
validation.cpp assumeutxo cleanup: Move IsInitialBlockDownload & NotifyHeaderTip to ChainstateManager 2023-08-18 12:52:30 -04:00
validation.h assumeutxo cleanup: Move IsInitialBlockDownload & NotifyHeaderTip to ChainstateManager 2023-08-18 12:52:30 -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).