Navigation Menu

Skip to content

Commit

Permalink
Merge #9291: Remove mapOrphanTransactionsByPrev from DoS_tests
Browse files Browse the repository at this point in the history
819ca3f Remove mapOrphanTransactionsByPrev from DoS_tests (Pieter Wuille)
  • Loading branch information
laanwj committed Dec 8, 2016
2 parents 9851a84 + 819ca3f commit 8601784
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/DoS_tests.cpp
Expand Up @@ -32,7 +32,6 @@ struct COrphanTx {
int64_t nTimeExpire;
};
extern std::map<uint256, COrphanTx> mapOrphanTransactions;
extern std::map<uint256, std::set<uint256> > mapOrphanTransactionsByPrev;

CService ip(uint32_t i)
{
Expand Down Expand Up @@ -203,7 +202,6 @@ BOOST_AUTO_TEST_CASE(DoS_mapOrphans)
BOOST_CHECK(mapOrphanTransactions.size() <= 10);
LimitOrphanTxSize(0);
BOOST_CHECK(mapOrphanTransactions.empty());
BOOST_CHECK(mapOrphanTransactionsByPrev.empty());
}

BOOST_AUTO_TEST_SUITE_END()

0 comments on commit 8601784

Please sign in to comment.