@ -69,11 +69,11 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha
pblocktree = new CBlockTreeDB ( 1 < < 20 , true ) ;
pblocktree = new CBlockTreeDB ( 1 < < 20 , true ) ;
pcoinsdbview = new CCoinsViewDB ( 1 < < 23 , true ) ;
pcoinsdbview = new CCoinsViewDB ( 1 < < 23 , true ) ;
pcoinsTip = new CCoinsViewCache ( pcoinsdbview ) ;
pcoinsTip = new CCoinsViewCache ( pcoinsdbview ) ;
InitBlockIndex( chainparams ) ;
BOOST_REQUIRE( InitBlockIndex( chainparams ) ) ;
{
{
CValidationState state ;
CValidationState state ;
bool ok = ActivateBestChain ( state , chainparams ) ;
bool ok = ActivateBestChain ( state , chainparams ) ;
BOOST_ CHECK ( ok ) ;
BOOST_ REQUIRE ( ok ) ;
}
}
nScriptCheckThreads = 3 ;
nScriptCheckThreads = 3 ;
for ( int i = 0 ; i < nScriptCheckThreads - 1 ; i + + )
for ( int i = 0 ; i < nScriptCheckThreads - 1 ; i + + )