ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Peras.Cert.V1

Description

Concrete Peras certificate types using BLS signatures.

NOTE: this module is meant to be imported qualified.

NOTE: the validation performed during serialization is minimal, and does not cover any of additional semantic and cryptographic checks that must be performed on the certificate later on.

Synopsis

Documentation

data PerasCert Source #

Concrete Peras certificates using BLS signatures

Constructors

PerasCert 

Fields

Instances

Instances details
FromCBOR PerasCert Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Cert.V1

ToCBOR PerasCert Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Cert.V1

Methods

toCBORPerasCertEncoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy PerasCertSize Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PerasCert] → Size Source #

Show PerasCert Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Cert.V1

Methods

showsPrecIntPerasCertShowS #

showPerasCertString #

showList ∷ [PerasCert] → ShowS #

Eq PerasCert Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Cert.V1

Methods

(==)PerasCertPerasCertBool #

(/=)PerasCertPerasCertBool #

PerasCertCompatibleWithVotingCommittee PerasCert PerasBLSCrypto EveryoneVotes Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Voting.Committee

PerasCertCompatibleWithVotingCommittee PerasCert PerasBLSCrypto WFALS Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Voting.Committee

newtype PerasCertVoters Source #

Voters contained in a certificate with their appropriate eligibility proof