Skip to content

Commit

Permalink
Add txrequest unit tests
Browse files Browse the repository at this point in the history
Add unit tests for TxRequestTracker. Several scenarios are tested,
randomly interleaved with eachother.

Includes a test by Antoine Riard (ariard).
  • Loading branch information
sipa committed Oct 12, 2020
1 parent da3b8fd commit 3c7fe0e
Show file tree
Hide file tree
Showing 4 changed files with 857 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Makefile.test.include
Expand Up @@ -275,6 +275,7 @@ BITCOIN_TESTS =\
test/torcontrol_tests.cpp \
test/transaction_tests.cpp \
test/txindex_tests.cpp \
test/txrequest_tests.cpp \
test/txvalidation_tests.cpp \
test/txvalidationcache_tests.cpp \
test/uint256_tests.cpp \
Expand Down

0 comments on commit 3c7fe0e

Please sign in to comment.