| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Chain.Delegation.Validation.Activation
Contents
Synopsis
- data State = State {}
- activateDelegation ∷ State → ScheduledDelegation → State
Activation
Maps containing, for each delegator, the active delegation and the slot it became active in.
Constructors
| State | |
Fields
| |
Instances
activateDelegation ∷ State → ScheduledDelegation → State Source #
Activate a ScheduledDelegation if its activation slot is less than the
previous delegation slot for this delegate, otherwise discard it. This is
an implementation of the delegation activation rule in the ledger
specification.