Skip to content

validation: Replace MinBIP9WarningHeight with MinBIP9WarningStartTime

This PR addresses comment. Replaces CChainParams::MinBIP9WarningHeight with CChainParams::MinBIP9WarningStartTime. It is then used in WarningBitsConditionChecker::BeginTime to only check block headers that are newer. This helps reduce the block headers that are being scanned for warnings.

cc @ajtowns

Merge request reports

Loading