ouroboros-consensus-cardano-0.21.0.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.Byron.ByronHFC

Synopsis

Documentation

type ByronBlockHFC = HardForkBlock '[ByronBlock] Source #

Byron as the single era in the hard fork combinator

data ByronPartialLedgerConfig Source #

When Byron is part of the hard-fork combinator, we use the partial ledger config. Standalone Byron uses the regular ledger config. This means that the partial ledger config is the perfect place to store the trigger condition for the hard fork to Shelley, as we don't have to modify the ledger config for standalone Byron.

Instances

Instances details
Generic ByronPartialLedgerConfig Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.ByronHFC

Associated Types

type Rep ByronPartialLedgerConfigTypeType #

NoThunks ByronPartialLedgerConfig Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.ByronHFC

type Rep ByronPartialLedgerConfig Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.ByronHFC

type Rep ByronPartialLedgerConfig = D1 ('MetaData "ByronPartialLedgerConfig" "Ouroboros.Consensus.Byron.ByronHFC" "ouroboros-consensus-cardano-0.21.0.0-inplace" 'False) (C1 ('MetaCons "ByronPartialLedgerConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "byronLedgerConfig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (LedgerConfig ByronBlock)) :*: S1 ('MetaSel ('Just "byronTriggerHardFork") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TriggerHardFork)))

Orphan instances

NoHardForks ByronBlock Source # 
Instance details

SingleEraBlock ByronBlock Source # 
Instance details

HasPartialLedgerConfig ByronBlock Source # 
Instance details

Associated Types

type PartialLedgerConfig ByronBlock Source #

SerialiseConstraintsHFC ByronBlock Source # 
Instance details

SupportedNetworkProtocolVersion ByronBlockHFC Source #

Forward to the ByronBlock instance. Only supports HardForkNodeToNodeDisabled, which is compatible with nodes running with ByronBlock.

Instance details

PBftCrypto bc ⇒ HasPartialConsensusConfig (PBft bc) Source # 
Instance details

Associated Types

type PartialConsensusConfig (PBft bc) Source #

SerialiseHFC '[ByronBlock] Source #

Forward to the ByronBlock instance, this means we don't add an era wrapper around blocks on disk. This makes sure we're compatible with the existing Byron blocks.

Instance details