Browse Source

Fix tests after cache tweaks

miguelfreitas
Pieter Wuille 12 years ago
parent
commit
c7075c4b65
  1. 4
      src/test/test_bitcoin.cpp

4
src/test/test_bitcoin.cpp

@ -19,8 +19,8 @@ struct TestingSetup {
fPrintToDebugger = true; // don't want to write to debug.log file fPrintToDebugger = true; // don't want to write to debug.log file
noui_connect(); noui_connect();
bitdb.MakeMock(); bitdb.MakeMock();
pblocktree = new CBlockTreeDB(true); pblocktree = new CBlockTreeDB(1 << 20, true);
pcoinsdbview = new CCoinsViewDB(true); pcoinsdbview = new CCoinsViewDB(1 << 23, true);
pcoinsTip = new CCoinsViewCache(*pcoinsdbview); pcoinsTip = new CCoinsViewCache(*pcoinsdbview);
LoadBlockIndex(); LoadBlockIndex();
bool fFirstRun; bool fFirstRun;

Loading…
Cancel
Save