ouroboros-consensus:cardano
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Byron.Node

Synopsis

Documentation

newtype PBftSignatureThreshold Source #

Signature threshold. This represents the proportion of blocks in a pbftSignatureWindow-sized window which may be signed by any single key.

Instances

Instances details
Eq PBftSignatureThreshold Source # 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Generic PBftSignatureThreshold Source # 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep PBftSignatureThreshold 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

type Rep PBftSignatureThreshold = D1 ('MetaData "PBftSignatureThreshold" "Ouroboros.Consensus.Protocol.PBFT" "ouroboros-consensus-5.0.0.0-inplace" 'True) (C1 ('MetaCons "PBftSignatureThreshold" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPBftSignatureThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))
Show PBftSignatureThreshold Source # 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

NoThunks PBftSignatureThreshold Source # 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

type Rep PBftSignatureThreshold Source # 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

type Rep PBftSignatureThreshold = D1 ('MetaData "PBftSignatureThreshold" "Ouroboros.Consensus.Protocol.PBFT" "ouroboros-consensus-5.0.0.0-inplace" 'True) (C1 ('MetaCons "PBftSignatureThreshold" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPBftSignatureThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))

Secrets

data ByronLeaderCredentials Source #

Credentials needed to produce blocks in the Byron era.

Constructors

ByronLeaderCredentials 

Fields

mkByronLeaderCredentials ∷ Config → SigningKey → Certificate → Text → Either ByronLeaderCredentialsError ByronLeaderCredentials Source #

Make the ByronLeaderCredentials, with a couple sanity checks:

  • That the block signing key and the delegation certificate match.
  • That the delegation certificate does correspond to one of the genesis keys from the genesis file.

ProtocolInfo

defaultByronProtocolVersion ∷ ProtocolVersion Source #

The protocol version to announce in forged Byron blocks by default.

This is not the protocol version of the chain. It is what a producer writes into the blocks it forges (byronProtocolVersion), which the Byron update mechanism reads as a statement that the producer is ready to move to that version: with the chain on version 0, announcing 1 endorses the move to 1.

A constant because it is no longer configurable: cardano-config retired the LastKnownBlockVersion-major, minor and alt keys that used to carry it, on the grounds that the value is a consensus default.

defaultByronSoftwareVersion ∷ SoftwareVersion Source #

The software version to announce in forged Byron blocks by default.

As with defaultByronProtocolVersion, a producer writes this into the blocks it forges (byronSoftwareVersion), and cardano-config retired the ApplicationVersion key it used to come from.

The application name is cardano-sl rather than that of whatever is forging, because it names software the Byron update system knows about; an invented name announces an application no update proposal can refer to.

Orphan instances

BlockSupportsDiffusionPipelining ByronBlock Source # 
Instance details

BlockSupportsMetrics ByronBlock Source # 
Instance details

BlockSupportsSanityCheck ByronBlock Source # 
Instance details

ConfigSupportsNode ByronBlock Source # 
Instance details

NodeInitStorage ByronBlock Source # 
Instance details

RunNode ByronBlock Source # 
Instance details