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

Check that the block signature for a POS block is in the canonical format.
This rule can only be an integrity validation rule. If it is used as a partial or full validation rule, the block itself will get banned instead of the peer, which can result in a chain split as the C++ node only bans the peer.
Inheritance: IntegrityValidationConsensusRule
Show file Open project: x42protocol/x42-BlockCore

Public Methods

Method Description
Run ( RuleContext context ) : void

Method Details

Run() public method

The block signature is not in the canonical format.
public Run ( RuleContext context ) : void
context RuleContext
return void