diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 773a67af7..a7af8bfc0 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -221,6 +221,7 @@ public: // nodes with support for servicebits filtering should be at the top vSeeds.push_back(CDNSSeedData("litecointools.com", "testnet-seed.litecointools.com")); vSeeds.push_back(CDNSSeedData("loshan.co.uk", "seed-b.litecoin.loshan.co.uk", true)); + vSeeds.push_back(CDNSSeedData("thrasher.io", "dnsseed-testnet.thrasher.io", true)); base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,111); base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,196); diff --git a/src/main.cpp b/src/main.cpp index 376b144bf..eab9ad559 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4158,7 +4158,8 @@ bool CVerifyDB::VerifyDB(const CChainParams& chainparams, CCoinsView *coinsview, // Verify blocks in the best chain if (nCheckDepth <= 0) - nCheckDepth = 4000000000; // suffices until the year 19000 + // Litecoin: suffices until year 10214. Didn't x4 value due to integer wrap around and upstream compatibility. + nCheckDepth = std::numeric_limits::max(); if (nCheckDepth > chainActive.Height()) nCheckDepth = chainActive.Height(); nCheckLevel = std::max(0, std::min(4, nCheckLevel));