Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 {}
- 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.
ProtocolParamsShelleyBased | |
|
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 #
ShelleyLeaderCredentials | |
|
Orphan instances
ConfigSupportsNode (ShelleyBlock proto era) Source # | |
getSystemStart ∷ BlockConfig (ShelleyBlock proto era) → SystemStart Source # getNetworkMagic ∷ BlockConfig (ShelleyBlock proto era) → NetworkMagic Source # | |
ShelleyCompatible proto era ⇒ NodeInitStorage (ShelleyBlock proto era) Source # | |
nodeImmutableDbChunkInfo ∷ StorageConfig (ShelleyBlock proto era) → ChunkInfo Source # nodeCheckIntegrity ∷ StorageConfig (ShelleyBlock proto era) → ShelleyBlock proto era → Bool Source # nodeInitChainDB ∷ IOLike m ⇒ StorageConfig (ShelleyBlock proto era) → InitChainDB m (ShelleyBlock proto era) → m () Source # |