ouroboros-consensus-cardano-0.16.0.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.Shelley.Ledger.Integrity

Synopsis

Documentation

verifyBlockIntegrityShelleyCompatible proto era ⇒ Word64ShelleyBlock proto era → Bool Source #

Verifies whether the block is not corrupted by checking its signature and witnesses.

verifyHeaderIntegrity Source #

Arguments

ProtocolHeaderSupportsKES proto 
Word64

Slots per KES period

ShelleyProtocolHeader proto 
Bool 

Verify that the signature on a header is correct and valid.