Permalink
Browse files

Merge #8222: Enable mempool consistency checks in unit tests

3775ff9 Enable mempool consistency checks in unit tests (Pieter Wuille)
  • Loading branch information...
laanwj committed Jun 22, 2016
2 parents 8ccdac1 + 3775ff9 commit 961893f26e5cc27c5acdcb8447725ded0790e79a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/test/test_bitcoin.cpp
@@ -55,6 +55,7 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha
pathTemp = GetTempPath() / strprintf("test_bitcoin_%lu_%i", (unsigned long)GetTime(), (int)(GetRand(100000)));
boost::filesystem::create_directories(pathTemp);
mapArgs["-datadir"] = pathTemp.string();
mempool.setSanityCheck(1.0);
pblocktree = new CBlockTreeDB(1 << 20, true);
pcoinsdbview = new CCoinsViewDB(1 << 23, true);
pcoinsTip = new CCoinsViewCache(pcoinsdbview);

0 comments on commit 961893f

Please sign in to comment.