Compare commits

...

2 Commits

  1. 7
      src/main.cpp

7
src/main.cpp

@ -2051,6 +2051,13 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
const CChainParams& chainparams = Params();
AssertLockHeld(cs_main);
int64_t FORK_HEIGHT = 232173;
// hit the pause button
if(pindex->nHeight > FORK_HEIGHT) {
printf("Past fork height, sleepytime!\n");
return false;
}
bool fExpensiveChecks = true;
if (fCheckpointsEnabled) {
CBlockIndex *pindexLastCheckpoint = Checkpoints::GetLastCheckpoint(chainparams.Checkpoints());

Loading…
Cancel
Save