From c7075c4b65561e4579fec7f4d821375921f69728 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 10 Nov 2012 00:09:57 +0100 Subject: [PATCH] Fix tests after cache tweaks --- src/test/test_bitcoin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index c8a565af..e4ba0259 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;