ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Peras.Vote.V1

Description

Concrete Peras vote types using BLS signatures.

NOTE: this module is meant to be imported qualified.

Synopsis

Documentation

data PerasVote Source #

Concrete Peras votes using BLS signatures

Constructors

PerasVote 

Fields

Instances

Instances details
FromCBOR PerasVote Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Vote.V1

ToCBOR PerasVote Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Vote.V1

Methods

toCBORPerasVoteEncoding Source #

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

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

Show PerasVote Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Vote.V1

Methods

showsPrecIntPerasVoteShowS #

showPerasVoteString #

showList ∷ [PerasVote] → ShowS #

Eq PerasVote Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Vote.V1

Methods

(==)PerasVotePerasVoteBool #

(/=)PerasVotePerasVoteBool #

PerasVoteCompatibleWithVotingCommittee PerasVote PerasBLSCrypto EveryoneVotes Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Voting.Committee

PerasVoteCompatibleWithVotingCommittee PerasVote PerasBLSCrypto WFALS Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Voting.Committee

data PerasVoteEligibilityProof Source #

Proof of eligibility for voting for committee members

Constructors

PersistentPerasVoteEligibilityProof

Persistent committee members require no additional proof of eligibility

NonPersistentPerasVoteEligibilityProof !(VRFOutput PerasBLSCrypto)

Non-persistent committee members provide a VRF proof of eligibility