ouroboros-consensus-0.24.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Description

Defines the different NTC and NTN versions for the HardFork Combinator.

Synopsis

Documentation

data HardForkNodeToNodeVersion xs where Source #

Constructors

HardForkNodeToNodeDisabledBlockNodeToNodeVersion x → HardForkNodeToNodeVersion (x ': xs)

Disable the HFC

This means that only the first era (x) is supported, and moreover, is compatible with serialisation used if the HFC would not be present at all.

HardForkNodeToNodeEnabledHardForkSpecificNodeToNodeVersionNP WrapNodeToNodeVersion xs → HardForkNodeToNodeVersion xs

Enable the HFC

Serialised values will always include tags inserted by the HFC to distinguish one era from another. We version the hard-fork specific parts with HardForkSpecificNodeToNodeVersion.

data HardForkSpecificNodeToClientVersion Source #

Versioning of the specific additions made by the HFC to the NodeToClient protocols, e.g., the era tag or the hard-fork specific queries.

Constructors

HardForkSpecificNodeToClientVersion3

Include the Genesis window in EraParams.

Instances

Instances details
Bounded HardForkSpecificNodeToClientVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Enum HardForkSpecificNodeToClientVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Show HardForkSpecificNodeToClientVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Eq HardForkSpecificNodeToClientVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Ord HardForkSpecificNodeToClientVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

data HardForkSpecificNodeToNodeVersion Source #

Versioning of the specific additions made by the HFC to the NodeToNode protocols, e.g., the era tag.

Instances

Instances details
Bounded HardForkSpecificNodeToNodeVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Enum HardForkSpecificNodeToNodeVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Show HardForkSpecificNodeToNodeVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Eq HardForkSpecificNodeToNodeVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Ord HardForkSpecificNodeToNodeVersion Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.NetworkVersion

Orphan instances