aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-11-10 00:09:57 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-11-10 00:09:57 +0100
commitc7075c4b65561e4579fec7f4d821375921f69728 (patch)
tree1eae7dd28b2fce9d7d80e4c9978014d5dcac9e11 /src/test
parent485cf044baf562d549e214c4836437dd698d3099 (diff)
Fix tests after cache tweaks
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_bitcoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index c8a565af3a..e4ba0259ba 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -19,8 +19,8 @@ struct TestingSetup {
fPrintToDebugger = true; // don't want to write to debug.log file
noui_connect();
bitdb.MakeMock();
- pblocktree = new CBlockTreeDB(true);
- pcoinsdbview = new CCoinsViewDB(true);
+ pblocktree = new CBlockTreeDB(1 << 20, true);
+ pcoinsdbview = new CCoinsViewDB(1 << 23, true);
pcoinsTip = new CCoinsViewCache(*pcoinsdbview);
LoadBlockIndex();
bool fFirstRun;