| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Peras.Vote.V1
Description
Concrete Peras vote types using BLS signatures.
NOTE: this module is meant to be imported qualified.
Synopsis
- data PerasVote = PerasVote {}
- data PerasVoteEligibilityProof
Documentation
Concrete Peras votes using BLS signatures
Constructors
| PerasVote | |
Fields
| |
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 |
Instances
| FromCBOR PerasVoteEligibilityProof Source # | |
Defined in Ouroboros.Consensus.Peras.Vote.V1 | |
| ToCBOR PerasVoteEligibilityProof Source # | |
Defined in Ouroboros.Consensus.Peras.Vote.V1 Methods toCBOR ∷ PerasVoteEligibilityProof → Encoding Source # encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy PerasVoteEligibilityProof → Size Source # encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PerasVoteEligibilityProof] → Size Source # | |
| Show PerasVoteEligibilityProof Source # | |
Defined in Ouroboros.Consensus.Peras.Vote.V1 Methods showsPrec ∷ Int → PerasVoteEligibilityProof → ShowS # | |
| Eq PerasVoteEligibilityProof Source # | |
Defined in Ouroboros.Consensus.Peras.Vote.V1 | |