reduce allowed future timestamp 2hrs -> 10 min
This commit is contained in:
@@ -2949,7 +2949,7 @@ bool CheckBlockHeader(const CBlockHeader& block, CValidationState& state, bool f
|
||||
REJECT_INVALID, "high-hash");
|
||||
|
||||
// Check timestamp
|
||||
if (block.GetBlockTime() > GetAdjustedTime() + 2 * 60 * 60)
|
||||
if (block.GetBlockTime() > GetAdjustedTime() + 600)
|
||||
return state.Invalid(error("CheckBlockHeader(): block timestamp too far in the future"),
|
||||
REJECT_INVALID, "time-too-new");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user