From e51f505449b89637b333cf4ed55b1666fb39469f Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Wed, 22 Jun 2016 08:48:23 +0200 Subject: [PATCH] Merge #8222: Enable mempool consistency checks in unit tests 3775ff9 Enable mempool consistency checks in unit tests (Pieter Wuille) --- src/test/test_dash.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/test_dash.cpp b/src/test/test_dash.cpp index a4484441d..6cca19305 100644 --- a/src/test/test_dash.cpp +++ b/src/test/test_dash.cpp @@ -59,6 +59,7 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha pathTemp = GetTempPath() / strprintf("test_dash_%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);