| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Peras.Voting.Trace
Synopsis
- data TracePerasVoteForgingEvent blk
- = TracePerasVotingNoVoteAfterFirstSlotInRound PerasRoundNo Word64
- | TracePerasVotingNotAVoterInRound PerasRoundNo
- | TracePerasVotingRulesDecision PerasRoundNo (PerasVotingRulesDecision blk)
- | TracePerasVotingForgedVote PerasRoundNo (WithArrivalTime (ValidatedPerasVote blk))
- | TracePerasVotingAddVoteResult PerasRoundNo (AddPerasVoteResult blk)
- | TracePerasVotingAddCertChainSelOutcome PerasRoundNo AddPerasCertChainSelOutcome
- | TracePerasVotingCantReadEnv String
Documentation
data TracePerasVoteForgingEvent blk Source #
Peras vote forging events.
Constructors
| TracePerasVotingNoVoteAfterFirstSlotInRound | We do nothing unless we are on the first slot of a round |
Fields
| |
| TracePerasVotingNotAVoterInRound | We do nothing if we are not eligible to vote in the current round |
Fields
| |
| TracePerasVotingRulesDecision | The decision made by the voting rules for a given round |
Fields
| |
| TracePerasVotingForgedVote | We forged a vote for the current round |
Fields
| |
| TracePerasVotingAddVoteResult | The result of adding the vote to the PerasVoteDB |
Fields
| |
| TracePerasVotingAddCertChainSelOutcome | The result of adding the certificate to the PerasCertDB |
Fields
| |
| TracePerasVotingCantReadEnv String | TODO: get rid of this when we no longer read stuff from env variables |