Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
-
data
Environment
=
Environment
{
- k :: ! BlockCount
- currentSlot :: ! SlotNumber
- adoptionThreshold :: ! Int
- delegationMap :: ! Map
- confirmedProposals :: !( Map UpId SlotNumber )
- registeredProtocolUpdateProposals :: ! ProtocolUpdateProposals
- data State = State { }
- data Endorsement = Endorsement { }
- data CandidateProtocolUpdate = CandidateProtocolUpdate { }
- register :: MonadError Error m => Environment -> State -> Endorsement -> m State
- data Error = MultipleProposalsForProtocolVersion ProtocolVersion
Documentation
data Environment Source #
Environment | |
|
data Endorsement Source #
Instances
data CandidateProtocolUpdate Source #
CandidateProtocolUpdate | |
|
Instances
register :: MonadError Error m => Environment -> State -> Endorsement -> m State Source #
Register an endorsement.
This corresponds to the
UPEND
rule.