Litecoin: Adjust nCheckDepth value

pull/294/head
Adrian Gallagher 8 years ago
parent 9070b0c4ce
commit fd661695a5
No known key found for this signature in database
GPG Key ID: FE3348877809386C

@ -4158,7 +4158,7 @@ bool CVerifyDB::VerifyDB(const CChainParams& chainparams, CCoinsView *coinsview,
// Verify blocks in the best chain
if (nCheckDepth <= 0)
nCheckDepth = 1000000000; // suffices until the year 19000
nCheckDepth = 4000000000; // suffices until the year 19000
if (nCheckDepth > chainActive.Height())
nCheckDepth = chainActive.Height();
nCheckLevel = std::max(0, std::min(4, nCheckLevel));

Loading…
Cancel
Save