cardano-ledger-byron-1.0.1.0: The blockchain layer of Cardano during the Byron era
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Chain.Update.Validation.Interface.ProtocolVersionBump

Synopsis

Documentation

tryBumpVersionEnvironmentStateState Source #

Change the protocol version when an epoch change is detected, and there is a candidate protocol update that was confirmed at least 4 * k slots before the start of the new epoch, where k is the chain security parameter.

For a full history of why this is required, see https://github.com/intersectmbo/cardano-ledger/issues/1288

This corresponds to the PVBUMP rules in the Byron ledger specification.