using namespace std;
using namespace boost;
-void MakeMockTXDB() {
- // In practice this won't do anything because the test framework always initializes
- // an in-memory BDB via bitdb.MakeMock() first, as we use BDB for addresses and wallets.
- if (!bitdb.IsMock())
- bitdb.MakeMock();
-}
-
//
// CTxDB
//
// Verify blocks in the best chain
int nCheckLevel = GetArgInt("-checklevel", 1);
- int nCheckDepth = GetArgInt( "-checkblocks", 2500);
+ int nCheckDepth = GetArgInt( "-checkblocks", 192);
if (nCheckDepth == 0)
nCheckDepth = 1000000000; // suffices until the year 19000
if (nCheckDepth > nBestHeight)