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

Checks if PosBlock timestamp is greater than previous block timestamp.
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 time is equal or behind the previous block.
public Run ( RuleContext context ) : void
context RuleContext
return void