Modulecardano-api-11.7.0.0
Cardano.Api.Consensus
- 30 types
- 6 classes
- 30 values
- Packagecardano-api-11.7.0.0
- Exports88
- LicenceApache-2.0
- SourceResourceRegistry.hs
Create a new registry
See documentation of ResourceRegistry for a detailed discussion.
Constructors
TxIdInMode :: CardanoEra era -> TxId -> TxIdInMode
Constructors
TxInMode :: ShelleyBasedEra era -> Tx era -> TxInModeTxInByronSpecial :: GenTx ByronBlock -> TxInMode
Constructors
ByronTxValidationError :: ApplyTxErr ByronBlock -> TxValidationError eraShelleyTxValidationError :: ShelleyBasedEra era -> ApplyTxErr (ShelleyBlock (ConsensusProtocol era) (ShelleyLedgerEra era)) -> TxValidationError era
Instances4Show, Generic, ToJSON, Rep
Show (TxValidationError era)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.InModeGeneric (TxValidationError era)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.InModeToJSON (TxValidationError era)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.InModetype Rep (TxValidationError era) = D1 ('MetaDataDefined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.InMode"TxValidationError"
"Cardano.Api.Consensus.Internal.InMode"
"cardano-api-11.7.0.0-DnHzvZIL7yK6Z1zD9Frgyp"
'False) (C1 ('MetaCons"ByronTxValidationError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ApplyTxErr ByronBlock))) :+: C1 ('MetaCons"ShelleyTxValidationError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ShelleyBasedEra era)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ApplyTxErr (ShelleyBlock (ConsensusProtocol era) (ShelleyLedgerEra era))))))
Instances2Show, ToJSON
Show TxValidationErrorInCardanoModeDefined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.InModeToJSON TxValidationErrorInCardanoModeDefined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.InMode
Equations
ChainDepStateProtocol ShelleyEra = TPraosStateChainDepStateProtocol AllegraEra = TPraosStateChainDepStateProtocol MaryEra = TPraosStateChainDepStateProtocol AlonzoEra = TPraosStateChainDepStateProtocol BabbageEra = PraosStateChainDepStateProtocol ConwayEra = PraosState
Equations
ConsensusBlockForEra ByronEra = ByronBlockConsensusBlockForEra ShelleyEra = StandardShelleyBlockConsensusBlockForEra AllegraEra = StandardAllegraBlockConsensusBlockForEra MaryEra = StandardMaryBlockConsensusBlockForEra AlonzoEra = StandardAlonzoBlockConsensusBlockForEra BabbageEra = StandardBabbageBlockConsensusBlockForEra ConwayEra = StandardConwayBlockConsensusBlockForEra DijkstraEra = StandardDijkstraBlock
Equations
ConsensusCryptoForBlock ByronBlockHFC = StandardCryptoConsensusCryptoForBlock (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra) = ShelleyEraConsensusCryptoForBlock (CardanoBlock StandardCrypto) = StandardCrypto
Constructors
Instances1Show
Show ConsensusModeParamsDefined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Mode
Equations
ConsensusProtocol ShelleyEra = TPraos StandardCryptoConsensusProtocol AllegraEra = TPraos StandardCryptoConsensusProtocol MaryEra = TPraos StandardCryptoConsensusProtocol AlonzoEra = TPraos StandardCryptoConsensusProtocol BabbageEra = Praos StandardCryptoConsensusProtocol ConwayEra = Praos StandardCryptoConsensusProtocol DijkstraEra = Praos StandardCrypto
Constructors
ByronBlockType :: BlockType (HardForkBlock '[ByronBlock])ShelleyBlockType :: BlockType (HardForkBlock '[ShelleyBlock (TPraos StandardCrypto) ShelleyEra])CardanoBlockType :: BlockType (HardForkBlock (CardanoEras StandardCrypto))
Associated types
data family ProtocolInfoArgs (m :: Type -> Type) blk
Methods
protocolInfo :: ProtocolInfoArgs m blk -> m (ProtocolInfo blk, Tracer m KESAgentClientTrace -> m [MkBlockForging m blk])
Instances3Protocol
IOLike m => Protocol m ByronBlockHFCDefined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol(CardanoHardForkConstraints StandardCrypto, IOLike m, MonadKESAgent m) => Protocol m (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol(IOLike m, LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) ShelleyEra), MonadKESAgent m) => Protocol m (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol
Associated types
data family ProtocolClientInfoArgs blk
Methods
protocolClientInfo :: ProtocolClientInfoArgs blk -> ProtocolClientInfo blk
Instances3ProtocolClient
ProtocolClient ByronBlockHFCDefined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.ProtocolCardanoHardForkConstraints StandardCrypto => ProtocolClient (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.ProtocolLedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) ShelleyEra) => ProtocolClient (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol
Instances3ProtocolClientInfoArgs
data ProtocolClientInfoArgs ByronBlockHFCDefined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocoldata ProtocolClientInfoArgs (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocoldata ProtocolClientInfoArgs (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol
Instances3ProtocolInfoArgs
data ProtocolInfoArgs m ByronBlockHFCProtocolInfoArgsByron ProtocolParamsByron
data ProtocolInfoArgs m (CardanoBlock StandardCrypto)ProtocolInfoArgsCardano (SomeHasFS m) (CardanoProtocolParams StandardCrypto)
data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra)ProtocolInfoArgsShelley (SomeHasFS m) ShelleyGenesis (ProtocolParamsShelleyBased StandardCrypto) ProtVer
constructor
ProtocolInfoArgsShelley (SomeHasFS m) ShelleyGenesis (ProtocolParamsShelleyBased StandardCrypto) ProtVerConstructors
SomeBlockType :: BlockType blk -> SomeBlockType
Instances1Show
Show SomeBlockTypeDefined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol
Constructors
Instances13Eq, Data, Ord, Read, Show, Generic, …
Eq EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsData EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsOrd EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsRead EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsShow EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsGeneric EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsNoThunks EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsBuildable EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsFromCBOR EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsToCBOR EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsDecCBOR EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotsEncCBOR EpochSlotsDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlotstype Rep EpochSlots = D1 ('MetaDataDefined in cardano-ledger-byron-1.3.0.0 · Cardano.Chain.Slotting.EpochSlots"EpochSlots"
"Cardano.Chain.Slotting.EpochSlots"
"cardano-ledger-byron-1.3.0.0-JpzuZ8LnhDz8ZWDSdGVXlU"
'True) (C1 ('MetaCons"EpochSlots"
'PrefixI 'True) (S1 ('MetaSel ('Just"unEpochSlots"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
Instances13Eq, Show, Generic, Semigroup, Monoid, NFData, …
Eq ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisShow ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisGeneric ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisSemigroup ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisMonoid ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisNFData ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisFromJSON ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisToJSON ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisNoThunks ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisDecCBOR ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisEncCBOR ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.GenesisToKeyValuePairs ShelleyGenesisStakingDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.Genesistype Rep ShelleyGenesisStaking = D1 ('MetaDataDefined in cardano-ledger-shelley-1.19.0.1 · Cardano.Ledger.Shelley.Genesis"ShelleyGenesisStaking"
"Cardano.Ledger.Shelley.Genesis"
"cardano-ledger-shelley-1.19.0.1-FBmICzj0TLXDG7I9pVlx3P"
'False) (C1 ('MetaCons"ShelleyGenesisStaking"
'PrefixI 'True) (S1 ('MetaSel ('Just"sgsPools"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ListMap (KeyHash StakePool) StakePoolParams)) :*: S1 ('MetaSel ('Just"sgsStake"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ListMap (KeyHash Staking) (KeyHash StakePool)))))
The same crypto used on the net
Instances15Crypto, PraosCrypto, Protocol, FromCBOR, ToCBOR, ConvertLedgerEvent, …
Crypto StandardCryptoDefined in cardano-protocol-0.1.0.0 · Cardano.Protocol.CryptoPraosCrypto StandardCryptoDefined in cardano-protocol-tpraos-1.6.0.0 · Cardano.Protocol.TPraos.API(CardanoHardForkConstraints StandardCrypto, IOLike m, MonadKESAgent m) => Protocol m (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol(IOLike m, LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) ShelleyEra), MonadKESAgent m) => Protocol m (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.ProtocolFromCBOR (OCert StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Internal.Orphans.Serialisation · orphanToCBOR (OCert StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Internal.Orphans.Serialisation · orphanCardanoHardForkConstraints StandardCrypto => ProtocolClient (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.ProtocolConvertLedgerEvent (HardForkBlock (CardanoEras StandardCrypto))Defined in cardano-api-11.7.0.0 · Cardano.Api.LedgerState.Internal.ConvertLedgerEventLedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) ShelleyEra) => ProtocolClient (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocoltype KES StandardCrypto = Sum6KES Ed25519DSIGN Blake2b_256Defined in cardano-protocol-0.1.0.0 · Cardano.Protocol.Cryptotype VRF StandardCrypto = PraosVRFDefined in cardano-protocol-0.1.0.0 · Cardano.Protocol.Cryptodata ProtocolInfoArgs m (CardanoBlock StandardCrypto)ProtocolInfoArgsCardano (SomeHasFS m) (CardanoProtocolParams StandardCrypto)
data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra)ProtocolInfoArgsShelley (SomeHasFS m) ShelleyGenesis (ProtocolParamsShelleyBased StandardCrypto) ProtVer
data ProtocolClientInfoArgs (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocoldata ProtocolClientInfoArgs (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol
Constructors
NodeKernelgetChainDB :: ChainDB m blkgetMempool :: Mempool m blkgetTopLevelConfig :: TopLevelConfig blkgetFetchClientRegistry :: FetchClientRegistry (ConnectionId addrNTN) (HeaderWithTime blk) blk mgetKeepAliveRegistry :: KeepAliveRegistry (ConnectionId addrNTN) mgetFetchMode :: STM m FetchModegetGsmState :: STM m GsmStategetChainSyncHandles :: ChainSyncClientHandleCollection (ConnectionId addrNTN) m blkgetPeerSharingRegistry :: PeerSharingRegistry addrNTN mgetTracers :: Tracers m (ConnectionId addrNTN) addrNTC blksetBlockForging :: [MkBlockForging m blk] -> m ()getPeerSharingAPI :: PeerSharingAPI addrNTN StdGen mgetOutboundConnectionsState :: StrictTVar m OutboundConnectionsStategetDiffusionPipeliningSupport :: DiffusionPipeliningSupportgetBlockchainTime :: BlockchainTime mgetPeerTxRegistry :: PeerTxRegistry m (ConnectionId addrNTN)getTxCountersVar :: TxSubmissionCountersVar mgetTxDecisionPolicy :: TxDecisionPolicy
Instances33GetHeader1, Inject, Isomorphic, StandardHash, ShowProxy, HasNestedContent, …
GetHeader1 HeaderDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.AbstractInject HeaderDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Embed.NaryIsomorphic HeaderDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Embed.UnaryStandardHash blk => StandardHash (Header blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.AbstractTypeable xs => ShowProxy (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanCanHardFork xs => HasNestedContent Header (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanSerialiseHFC xs => ReconstructNestedCtxt Header (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk · orphan(Typeable m, Typeable a) => ShowProxy (DualHeader m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualHasNestedContent Header m => HasNestedContent Header (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualCanHardFork xs => SameDepIndex (NestedCtxt_ (HardForkBlock xs) Header)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanReconstructNestedCtxt Header m => ReconstructNestedCtxt Header (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualAll (Compose Eq Header) xs => Eq (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanCanHardFork xs => Show (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanNoThunks (Header (DualBlock m a))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualCanHardFork xs => NoThunks (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanCanHardFork xs => HasHeader (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanAll CondenseConstraints xs => Condense (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Condense · orphanSerialiseHFC xs => DecodeDiskDep (NestedCtxt Header) (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk · orphanSerialiseHFC xs => DecodeDiskDepIx (NestedCtxt Header) (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk · orphanSerialiseHFC xs => EncodeDiskDepIx (NestedCtxt Header) (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk · orphanSerialiseHFC xs => EncodeDiskDep (NestedCtxt Header) (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk · orphanSerialiseHFC xs => SerialiseNodeToNode (HardForkBlock xs) (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseNodeToNode · orphanEncodeDiskDepIx (NestedCtxt Header) m => EncodeDiskDepIx (NestedCtxt Header) (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualEncodeDiskDep (NestedCtxt Header) m => EncodeDiskDep (NestedCtxt Header) (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualShow (Header m) => Show (DualHeader m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualBridge m a => HasHeader (DualHeader m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualAll SingleEraBlock xs => Show (NestedCtxt_ (HardForkBlock xs) Header a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphantype HeaderHash (Header blk) = HeaderHash blkDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.Abstracttype BlockProtocol (Header blk) = BlockProtocol blkDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.Abstractdata Header (DisableDiffusionPipelining blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.SupportsDiffusionPipeliningdata Header (SelectViewDiffusionPipelining blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.SupportsDiffusionPipeliningdata Header (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphandata Header (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual
Constructors
RealPoint !SlotNo !(HeaderHash blk)
Instances7Eq, Ord, Show, Generic, NoThunks, Condense, …
StandardHash blk => Eq (RealPoint blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.RealPointStandardHash blk => Ord (RealPoint blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.RealPointStandardHash blk => Show (RealPoint blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.RealPointGeneric (RealPoint blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.RealPoint(StandardHash blk, Typeable blk) => NoThunks (RealPoint blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.RealPointCondense (HeaderHash blk) => Condense (RealPoint blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.RealPointtype Rep (RealPoint blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.RealPoint"RealPoint"
"Ouroboros.Consensus.Block.RealPoint"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"RealPoint"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 SlotNo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HeaderHash blk))))
Instances4Isomorphic, Generic, NoThunks, Rep
Isomorphic TopLevelConfigDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Embed.UnaryGeneric (TopLevelConfig blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config(ConsensusProtocol (BlockProtocol blk), NoThunks (LedgerConfig blk), NoThunks (BlockConfig blk), NoThunks (CodecConfig blk), NoThunks (StorageConfig blk), NoThunks (HeaderHash blk)) => NoThunks (TopLevelConfig blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Configtype Rep (TopLevelConfig blk) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config"TopLevelConfig"
"Ouroboros.Consensus.Config"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"TopLevelConfig"
'PrefixI 'True) ((S1 ('MetaSel ('Just"topLevelConfigProtocol"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (ConsensusConfig (BlockProtocol blk))) :*: (S1 ('MetaSel ('Just"topLevelConfigLedger"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (LedgerConfig blk)) :*: S1 ('MetaSel ('Just"topLevelConfigBlock"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (BlockConfig blk)))) :*: (S1 ('MetaSel ('Just"topLevelConfigCodec"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CodecConfig blk)) :*: (S1 ('MetaSel ('Just"topLevelConfigStorage"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StorageConfig blk)) :*: S1 ('MetaSel ('Just"topLevelConfigCheckpoints"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CheckpointsMap blk))))))
Constructors
Instances7Eq, Show, Generic, NoThunks, FromCBOR, ToCBOR, …
Eq SecurityParamDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config.SecurityParamShow SecurityParamDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config.SecurityParamGeneric SecurityParamDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config.SecurityParamNoThunks SecurityParamDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config.SecurityParamFromCBOR SecurityParamDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config.SecurityParamToCBOR SecurityParamDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config.SecurityParamtype Rep SecurityParam = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Config.SecurityParam"SecurityParam"
"Ouroboros.Consensus.Config.SecurityParam"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'True) (C1 ('MetaCons"SecurityParam"
'PrefixI 'True) (S1 ('MetaSel ('Just"maxRollbacks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonZero Word64))))
Instances2ConfigSupportsNode
CanHardFork xs => ConfigSupportsNode (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Node · orphanConfigSupportsNode m => ConfigSupportsNode (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual
Associated types
type family HardForkIndices blk :: [Type]
Methods
hardForkSummary :: LedgerConfig blk -> LedgerState blk mk -> Summary (HardForkIndices blk)
Instances2HasHardForkHistory
All SingleEraBlock xs => HasHardForkHistory (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Ledger · orphanBridge m a => HasHardForkHistory (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual
Constructors
Instances5Eq, Show, Generic, Error, Rep
Eq EraMismatchDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasShow EraMismatchDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasGeneric EraMismatchDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasError EraMismatchDefined in cardano-api-11.7.0.0 · Cardano.Api.Internal.Orphans.Misc · orphantype Rep EraMismatch = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossEras"EraMismatch"
"Ouroboros.Consensus.HardFork.Combinator.AcrossEras"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"EraMismatch"
'PrefixI 'True) (S1 ('MetaSel ('Just"ledgerEraName"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just"otherEraName"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))
Constructors
Instances10Eq, Ord, Show, NFData, ToJSON, Serialise, …
Eq (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasOrd (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasShow (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasNFData (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasToJSON (OneEraHash xs)Defined in cardano-api-11.7.0.0 · Cardano.Api.Internal.Orphans.Serialisation · orphanSerialise (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasNoThunks (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossEras(Typeable k, Typeable xs) => FromCBOR (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossEras(Typeable k, Typeable xs) => ToCBOR (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasCondense (OneEraHash xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossEras
Constructors
Instances3Show, NoThunks, SerialiseNodeToClient
CanHardFork xs => Show (PerEraLedgerConfig xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasCanHardFork xs => NoThunks (PerEraLedgerConfig xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossErasSerialiseHFC xs => SerialiseNodeToClient (HardForkBlock xs) (PerEraLedgerConfig xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseNodeToClient · orphan
Constructors
Instances5Show, Generic, NoThunks, SerialiseNodeToClient, Rep
Show (PerEraLedgerConfig xs) => Show (HardForkLedgerConfig xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.BasicsGeneric (HardForkLedgerConfig xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.BasicsCanHardFork xs => NoThunks (HardForkLedgerConfig xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.BasicsSerialiseHFC xs => SerialiseNodeToClient (HardForkBlock xs) (HardForkLedgerConfig xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseNodeToClient · orphantype Rep (HardForkLedgerConfig xs) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Basics"HardForkLedgerConfig"
"Ouroboros.Consensus.HardFork.Combinator.Basics"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"HardForkLedgerConfig"
'PrefixI 'True) (S1 ('MetaSel ('Just"hardForkLedgerConfigShape"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Shape xs)) :*: S1 ('MetaSel ('Just"hardForkLedgerConfigPerEra"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PerEraLedgerConfig xs))))
Constructors
Instances3SerialiseNodeToClient, Show, NoThunks
SerialiseNodeToClient blk (PartialLedgerConfig blk) => SerialiseNodeToClient blk (WrapPartialLedgerConfig blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.PartialConfigShow (PartialLedgerConfig xs) => Show (WrapPartialLedgerConfig xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.AcrossEras · orphanNoThunks (PartialLedgerConfig blk) => NoThunks (WrapPartialLedgerConfig blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.PartialConfig
Instances3Show, Exception, Error
Show PastHorizonExceptionDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.History.QryException PastHorizonExceptionDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.History.QryError PastHorizonExceptionDefined in cardano-api-11.7.0.0 · Cardano.Api.Internal.Orphans.Misc · orphan
Instances48Inject, Isomorphic, ShowProxy, Eq, Ord, Show, …
Inject GenTxDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Embed.NaryIsomorphic GenTxDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Embed.UnaryTypeable xs => ShowProxy (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanTypeable xs => ShowProxy (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphan(Typeable m, Typeable a) => ShowProxy (GenTx (DualBlock m a))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual(Typeable m, Typeable a) => ShowProxy (TxId (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualEq (GenTxId m) => Eq (TxId (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualCanHardFork xs => Eq (Validated (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanCanHardFork xs => Eq (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanCanHardFork xs => Eq (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanOrd (GenTxId m) => Ord (TxId (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualCanHardFork xs => Ord (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanShow (GenTxId m) => Show (TxId (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualCanHardFork xs => Show (Validated (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanCanHardFork xs => Show (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanCanHardFork xs => Show (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanBridge m a => Show (Validated (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualBridge m a => Show (GenTx (DualBlock m a))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualGeneric (Validated (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanGeneric (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanGeneric (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanNoThunks (Validated (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualNoThunks (GenTx (DualBlock m a))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualNoThunks (TxId (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualCanHardFork xs => NoThunks (Validated (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanCanHardFork xs => NoThunks (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanCanHardFork xs => NoThunks (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanCanHardFork xs => HasRawTxId (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanHasRawTxId (GenTxId m) => HasRawTxId (TxId (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualAll CondenseConstraints xs => Condense (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Condense · orphanAll CondenseConstraints xs => Condense (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Condense · orphanCanHardFork xs => HasTxId (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanBridge m a => HasTxId (GenTx (DualBlock m a))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualSerialiseHFC xs => SerialiseNodeToClient (HardForkBlock xs) (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseNodeToClient · orphanSerialiseHFC xs => SerialiseNodeToClient (HardForkBlock xs) (GenTxId (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseNodeToClient · orphanSerialiseHFC xs => SerialiseNodeToNode (HardForkBlock xs) (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseNodeToNode · orphanSerialiseHFC xs => SerialiseNodeToNode (HardForkBlock xs) (GenTxId (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseNodeToNode · orphantype Rep (Validated (GenTx (HardForkBlock xs))) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphan"Validated"
"Ouroboros.Consensus.HardFork.Combinator.Mempool"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'True) (C1 ('MetaCons"HardForkValidatedGenTx"
'PrefixI 'True) (S1 ('MetaSel ('Just"getHardForkValidatedGenTx"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (OneEraValidatedGenTx xs))))type Rep (GenTx (HardForkBlock xs)) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphan"GenTx"
"Ouroboros.Consensus.HardFork.Combinator.Mempool"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'True) (C1 ('MetaCons"HardForkGenTx"
'PrefixI 'True) (S1 ('MetaSel ('Just"getHardForkGenTx"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (OneEraGenTx xs))))type Rep (TxId (GenTx (HardForkBlock xs))) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphan"TxId"
"Ouroboros.Consensus.HardFork.Combinator.Mempool"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'True) (C1 ('MetaCons"HardForkGenTxId"
'PrefixI 'True) (S1 ('MetaSel ('Just"getHardForkGenTxId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (OneEraGenTxId xs))))type RawTxId (TxId (GenTx (HardForkBlock xs))) = ShortByteStringDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphantype RawTxId (TxId (GenTx (DualBlock m a))) = RawTxId (GenTxId m)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dualdata Validated (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphandata Validated (GenTx (DualBlock m a))ValidatedDualGenTxvDualGenTxMain :: Validated (GenTx m)vDualGenTxAux :: Validated (GenTx a)vDualGenTxBridge :: BridgeTx m a
data GenTx (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphandata GenTx (DualBlock m a)DualGenTxdualGenTxMain :: GenTx mdualGenTxAux :: GenTx adualGenTxBridge :: BridgeTx m a
data TxId (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphandata TxId (GenTx (DualBlock m a))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual
Instances4ChainDepState
type ChainDepState (HardForkProtocol xs) = HardForkChainDepState xsDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Protocol · orphantype ChainDepState (Bft c) = ()Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Protocol.BFTtype ChainDepState (ModChainSel p t) = ChainDepState pDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Protocol.ModChainSeltype ChainDepState (PBft c) = PBftState cDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Protocol.PBFT
Instances4Eq, Show, Generic, Rep
Eq ChainTypeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIShow ChainTypeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APIGeneric ChainTypeDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APItype Rep ChainType = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.API"ChainType"
"Ouroboros.Consensus.Storage.ChainDB.API"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"SelectedChain"
'PrefixI 'False) U1 :+: C1 ('MetaCons"TentativeChain"
'PrefixI 'False) U1)
Constructors
FollowerfollowerInstruction :: m (Maybe (ChainUpdate blk a))followerInstructionBlocking :: m (ChainUpdate blk a)followerForward :: [Point blk] -> m (Maybe (Point blk))followerClose :: m ()
Constructors
GetVerifiedBlock :: BlockComponent blk blkGetBlock :: BlockComponent blk blkGetRawBlock :: BlockComponent blk ByteStringGetHeader :: BlockComponent blk (Header blk)GetRawHeader :: BlockComponent blk ByteStringGetHash :: BlockComponent blk (HeaderHash blk)GetSlot :: BlockComponent blk SlotNoGetIsEBB :: BlockComponent blk IsEBBGetBlockSize :: BlockComponent blk SizeInBytesGetHeaderSize :: BlockComponent blk Word16GetNestedCtxt :: BlockComponent blk (SomeSecond (NestedCtxt Header) blk)GetPure :: a -> BlockComponent blk aGetApply :: BlockComponent blk (a1 -> a) -> BlockComponent blk a1 -> BlockComponent blk a
Instances2Functor, Applicative
Functor (BlockComponent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.CommonApplicative (BlockComponent blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Common
Instances1ConvertLedgerEvent
ConvertLedgerEvent ByronBlockDefined in cardano-api-11.7.0.0 · Cardano.Api.LedgerState.Internal.ConvertLedgerEvent
Instances4Protocol, ProtocolClient, ProtocolInfoArgs, ProtocolClientInfoArgs
(CardanoHardForkConstraints StandardCrypto, IOLike m, MonadKESAgent m) => Protocol m (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.ProtocolCardanoHardForkConstraints StandardCrypto => ProtocolClient (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocoldata ProtocolInfoArgs m (CardanoBlock StandardCrypto)ProtocolInfoArgsCardano (SomeHasFS m) (CardanoProtocolParams StandardCrypto)
data ProtocolClientInfoArgs (CardanoBlock StandardCrypto)Defined in cardano-api-11.7.0.0 · Cardano.Api.Consensus.Internal.Protocol
Constructors
ShelleyPartialLedgerConfigshelleyLedgerConfig :: !ShelleyLedgerConfig erashelleyTriggerHardFork :: !TriggerHardFork
Associated types
type family PraosProtocolSupportsNodeCrypto p
Methods
getOpCertCounters :: proxy p -> ChainDepState p -> Map (KeyHash BlockIssuer) Word64
Instances5HasHeader
CanHardFork xs => HasHeader (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanCanHardFork xs => HasHeader (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphan(HasHeader (Header blk), StandardHash (HeaderWithTime blk), Typeable blk) => HasHeader (HeaderWithTime blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HeaderValidationBridge m a => HasHeader (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualBridge m a => HasHeader (DualHeader m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual
Instances12HeaderHash, …
type HeaderHash (Header blk) = HeaderHash blkDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.Abstracttype HeaderHash (HardForkBlock xs) = OneEraHash xsDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Basicstype HeaderHash (HeaderWithTime blk) = HeaderHash (Header blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HeaderValidationtype HeaderHash (LedgerState blk) = HeaderHash blkDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Basicstype HeaderHash (DualBlock m a) = HeaderHash mDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dualtype HeaderHash (ExtLedgerState blk) = HeaderHash (LedgerState blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Extendedtype HeaderHash (WithPoint blk b) = HeaderHash blkDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.ChainDB.APItype HeaderHash (LedgerDB m l blk) = HeaderHash blkDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.APItype HeaderHash (Forker m l blk) = HeaderHash (l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.Forkertype HeaderHash (ReadOnlyForker m l) = HeaderHash lDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.LedgerDB.Forkertype HeaderHash (SerialisedHeader blk) = HeaderHash blkDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Serialisationtype HeaderHash (Ticked l blk) = HeaderHash (l blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ticked
Tracks resources during their lifetime.
Instances3Generic, NoThunks, Rep
Generic (ResourceRegistry m)Defined in resource-registry-0.3.0.0 · Control.ResourceRegistry(forall a. NoThunks a => NoThunks (StrictTVar m a)) => NoThunks (ResourceRegistry m)Defined in resource-registry-0.3.0.0 · Control.ResourceRegistrytype Rep (ResourceRegistry m) = D1 ('MetaDataDefined in resource-registry-0.3.0.0 · Control.ResourceRegistry"ResourceRegistry"
"Control.ResourceRegistry"
"resource-registry-0.3.0.0-7xXIu2toNVRF4qB02vw7Hc"
'False) (C1 ('MetaCons"ResourceRegistry"
'PrefixI 'True) (S1 ('MetaSel ('Just"registryContext"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Context m)) :*: S1 ('MetaSel ('Just"registryState"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictTVar m (RegistryState m)))))