mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-05 10:17:30 -05:00
1066d10f71
-BEGIN VERIFY SCRIPT- ren() { sed -i "s:\<$1\>:$2:g" $(git grep -l "\<$1\>" ./src ./test); } ren cs_filter m_bloom_filter_mutex ren fRelayTxes m_relay_txs ren pfilter m_bloom_filter ren cs_tx_inventory m_tx_inventory_mutex ren filterInventoryKnown m_tx_inventory_known_filter ren setInventoryTxToSend m_tx_inventory_to_send ren fSendMempool m_send_mempool ren nNextInvSend m_next_inv_send_time ren minFeeFilter m_fee_filter_received ren lastSentFeeFilter m_fee_filter_sent -END VERIFY SCRIPT- |
||
---|---|---|
.. | ||
blockfilter.cpp | ||
blockfilter.h | ||
chainstate.h | ||
logging.cpp | ||
logging.h | ||
mining.cpp | ||
mining.h | ||
net.cpp | ||
net.h | ||
README.md | ||
script.cpp | ||
script.h | ||
setup_common.cpp | ||
setup_common.h | ||
str.cpp | ||
str.h | ||
transaction_utils.cpp | ||
transaction_utils.h | ||
validation.cpp | ||
validation.h | ||
wallet.cpp | ||
wallet.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).