Safe Haskell | None |
---|---|
Language | Haskell2010 |
Node configuration common to all (era, protocol) combinations deriving from Shelley.
Synopsis
- data ProtocolParamsShelleyBased era = 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 era 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.
The
era
parameter determines from which era the genesis config will be
used.
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 | |
|
shelleyBlockIssuerVKey :: ShelleyLeaderCredentials c -> VKey ' BlockIssuer c Source #
Orphan instances
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 # |
|
ConfigSupportsNode ( ShelleyBlock proto era) Source # | |
getSystemStart :: BlockConfig ( ShelleyBlock proto era) -> SystemStart Source # getNetworkMagic :: BlockConfig ( ShelleyBlock proto era) -> NetworkMagic Source # |