diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-06-22 08:48:23 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-06-22 08:48:37 +0200 |
| commit | 961893f26e5cc27c5acdcb8447725ded0790e79a (patch) | |
| tree | 62b289176966fbbf81ae3364d381da2d090d6736 /src/test/test_bitcoin.cpp | |
| parent | Merge #8229: [Doc] Update OS X build notes for 10.11 SDK (diff) | |
| parent | Enable mempool consistency checks in unit tests (diff) | |
| download | discoin-961893f26e5cc27c5acdcb8447725ded0790e79a.tar.xz discoin-961893f26e5cc27c5acdcb8447725ded0790e79a.zip | |
Merge #8222: Enable mempool consistency checks in unit tests
3775ff9 Enable mempool consistency checks in unit tests (Pieter Wuille)
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index c68320ba8..3dc59ddd0 100644 --- a/src/test/test_bitcoin.cpp +++ b/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); |