mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-04 10:07:27 -05:00
58bd369b0d
-BEGIN VERIFY SCRIPT- sed -i 's/PeerLogicValidation/PeerManager/g' $(git grep -l PeerLogicValidation ./src ./test) sed -i 's/peer_logic/peerman/g' $(git grep -l peer_logic ./src ./test) -END VERIFY SCRIPT- PeerLogicValidation was originally net_processing's implementation to the validation interface. It has since grown to contain much of net_processing's logic. Therefore rename it to reflect its responsibilities. Suggested in https://github.com/bitcoin/bitcoin/pull/10756#pullrequestreview-53892618. |
||
---|---|---|
.. | ||
blockfilter.cpp | ||
blockfilter.h | ||
logging.cpp | ||
logging.h | ||
mining.cpp | ||
mining.h | ||
net.cpp | ||
net.h | ||
README.md | ||
setup_common.cpp | ||
setup_common.h | ||
str.cpp | ||
str.h | ||
transaction_utils.cpp | ||
transaction_utils.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).