mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
Fix tests after cache tweaks
This commit is contained in:
parent
485cf044ba
commit
c7075c4b65
@ -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…
Reference in New Issue
Block a user