ouroboros-consensus-0.1.0.1: Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.Protocol.LeaderSchedule

Synopsis

Documentation

newtype LeaderSchedule Source #

Instances

Instances details
Eq LeaderSchedule Source #
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

Ord LeaderSchedule Source #
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

Show LeaderSchedule Source #
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

Generic LeaderSchedule Source #
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

Semigroup LeaderSchedule Source #
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

NoThunks LeaderSchedule Source #
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

Condense LeaderSchedule Source #
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

type Rep LeaderSchedule Source #
Instance details

Defined in Ouroboros.Consensus.Protocol.LeaderSchedule

type Rep LeaderSchedule = D1 (' MetaData "LeaderSchedule" "Ouroboros.Consensus.Protocol.LeaderSchedule" "ouroboros-consensus-0.1.0.1-DT4Cvwf63DZKctsEvaJqCU" ' True ) ( C1 (' MetaCons "LeaderSchedule" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getLeaderSchedule") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Map SlotNo [ CoreNodeId ]))))

leaderScheduleFor :: CoreNodeId -> LeaderSchedule -> Set SlotNo Source #

The Slots a given node is supposed to lead in