C# Class Blockcore.Features.Consensus.Rules.CommonRules.HeaderTimeChecksRule

Checks if Block time stamp is ahead of current consensus and not more then two hours in the future.
Inheritance: HeaderValidationConsensusRule
Show file Open project: x42protocol/x42-BlockCore

Public Methods

Method Description
Run ( RuleContext context ) : void

Method Details

Run() public method

Thrown if block's timestamp is too early. Thrown if block's timestamp too far in the future.
public Run ( RuleContext context ) : void
context RuleContext
return void