From e1bfbab8029c33102889d7d970da5b6cc32ff75b Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Tue, 4 Sep 2012 18:12:00 +0200 Subject: Add LevelDB MemEnv support Support LevelDB memory-backed environments, and use them in unit tests. --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index 30f0d0049e..4d5720306d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -652,7 +652,7 @@ bool AppInit2() uiInterface.InitMessage(_("Loading block index...")); printf("Loading block index...\n"); nStart = GetTimeMillis(); - pblocktree = new CBlockTreeDB("cr+"); + pblocktree = new CBlockTreeDB(); pcoinsdbview = new CCoinsViewDB(); pcoinsTip = new CCoinsViewCache(*pcoinsdbview); -- cgit v1.2.3