Safe Haskell | None |
---|---|
Language | Haskell2010 |
Epoch change registration.
The rules of this module determine how the update subsystem of the ledger handles the epoch transitions.
Synopsis
- data UPEC era
- newtype UpecPredicateFailure era = NewPpFailure ( PredicateFailure ( NEWPP era))
- votedValue :: forall era. UsesPParams era => ProposedPPUpdates era -> PParams era -> Int -> Maybe ( PParams era)
Documentation
Update epoch change
Instances
newtype UpecPredicateFailure era Source #
NewPpFailure ( PredicateFailure ( NEWPP era)) |
Instances
:: forall era. UsesPParams era | |
=> ProposedPPUpdates era | |
-> PParams era |
Protocol parameters to which the change will be applied. |
-> Int |
Quorum needed to change the protocol parameters. |
-> Maybe ( PParams era) |
If at least
n
nodes voted to change
the same
protocol parameters to
the same
values, return the given protocol parameters updated to these
values. Here
n
is the quorum needed.