Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Protocol.LeaderSchedule
Synopsis
-
newtype
LeaderSchedule
=
LeaderSchedule
{
- getLeaderSchedule :: Map SlotNo [ CoreNodeId ]
- leaderScheduleFor :: CoreNodeId -> LeaderSchedule -> Set SlotNo
Documentation
newtype LeaderSchedule Source #
Constructors
LeaderSchedule | |
Fields
|
Instances
leaderScheduleFor :: CoreNodeId -> LeaderSchedule -> Set SlotNo Source #
The
Slots
a given node is supposed to lead in