Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Shelley.Node.Common
Contents
Description
Node configuration common to all (era, protocol) combinations deriving from Shelley.
Synopsis
- data ProtocolParamsShelleyBased c = ProtocolParamsShelleyBased {}
- class (ShelleyCompatible proto era, TxLimits (ShelleyBlock proto era), EraCrypto era ~ c) => ShelleyEraWithCrypto c proto era
- data ShelleyLeaderCredentials c = ShelleyLeaderCredentials {
- shelleyLeaderCredentialsInitSignKey :: SignKeyKES c
- shelleyLeaderCredentialsCanBeLeader :: PraosCanBeLeader c
- shelleyLeaderCredentialsLabel :: Text
- shelleyBlockIssuerVKey :: ShelleyLeaderCredentials c -> VKey 'BlockIssuer c
Documentation
data ProtocolParamsShelleyBased c Source #
Parameters common to all Shelley-based ledgers.
When running a chain with multiple Shelley-based eras, in addition to the
per-era protocol parameters, one value of ProtocolParamsShelleyBased
will
be needed, which is shared among all Shelley-based eras.
Constructors
ProtocolParamsShelleyBased | |
Fields
|
class (ShelleyCompatible proto era, TxLimits (ShelleyBlock proto era), EraCrypto era ~ c) => ShelleyEraWithCrypto c proto era Source #
Needed in '*SharedBlockForging' because we can't partially apply equality constraints.
Instances
(ShelleyCompatible proto era, TxLimits (ShelleyBlock proto era), EraCrypto era ~ c) => ShelleyEraWithCrypto c proto era Source # | |
Defined in Ouroboros.Consensus.Shelley.Node.Common |
data ShelleyLeaderCredentials c Source #
Constructors
ShelleyLeaderCredentials | |
Fields
|
shelleyBlockIssuerVKey :: ShelleyLeaderCredentials c -> VKey 'BlockIssuer c Source #
Orphan instances
ConfigSupportsNode (ShelleyBlock proto era) Source # | |
Methods getSystemStart :: BlockConfig (ShelleyBlock proto era) -> SystemStart getNetworkMagic :: BlockConfig (ShelleyBlock proto era) -> NetworkMagic | |
ShelleyCompatible proto era => NodeInitStorage (ShelleyBlock proto era) Source # | |
Methods nodeImmutableDbChunkInfo :: StorageConfig (ShelleyBlock proto era) -> ChunkInfo nodeCheckIntegrity :: StorageConfig (ShelleyBlock proto era) -> ShelleyBlock proto era -> Bool nodeInitChainDB :: IOLike m => StorageConfig (ShelleyBlock proto era) -> InitChainDB m (ShelleyBlock proto era) -> m () |