This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Description
Isn't this check a high risk for the case the blockchain stalled for more than 24hrs?
|
bool state = (chainActive.Height() < pindexBestHeader->nHeight - 24 * 6 || |
|
pindexBestHeader->GetBlockTime() < GetTime() - chainParams.MaxTipAge()); |
What is the purpose of this check? Is it a security feature to avoid a special type of chain attacks?