| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.TypeFamilyWrappers
Description
Newtypes around type families so that they can be partially applied
Synopsis
- newtype WrapApplyTxErr blk = WrapApplyTxErr {
- unwrapApplyTxErr ∷ ApplyTxErr blk
- newtype WrapCannotForge blk = WrapCannotForge {
- unwrapCannotForge ∷ CannotForge blk
- newtype WrapEnvelopeErr blk = WrapEnvelopeErr {}
- newtype WrapForgeStateInfo blk = WrapForgeStateInfo {}
- newtype WrapForgeStateUpdateError blk = WrapForgeStateUpdateError {}
- newtype WrapGenTxId blk = WrapGenTxId {
- unwrapGenTxId ∷ GenTxId blk
- newtype WrapHeaderHash blk = WrapHeaderHash {
- unwrapHeaderHash ∷ HeaderHash blk
- newtype WrapLedgerConfig blk = WrapLedgerConfig {}
- newtype WrapLedgerErr blk = WrapLedgerErr {
- unwrapLedgerErr ∷ LedgerError blk
- newtype WrapLedgerEvent blk = WrapLedgerEvent {}
- newtype WrapLedgerUpdate blk = WrapLedgerUpdate {}
- newtype WrapLedgerWarning blk = WrapLedgerWarning {}
- newtype WrapTentativeHeaderState blk = WrapTentativeHeaderState {}
- newtype WrapTentativeHeaderView blk = WrapTentativeHeaderView {}
- newtype WrapTipInfo blk = WrapTipInfo {
- unwrapTipInfo ∷ TipInfo blk
- newtype WrapTxIn blk = WrapTxIn {
- unwrapTxIn ∷ TxIn blk
- newtype WrapTxMeasurePhase1 blk = WrapTxMeasurePhase1 {}
- newtype WrapTxMeasurePhase2 blk = WrapTxMeasurePhase2 {}
- newtype WrapTxOut blk = WrapTxOut {
- unwrapTxOut ∷ TxOut blk
- newtype WrapValidatedGenTx blk = WrapValidatedGenTx {
- unwrapValidatedGenTx ∷ Validated (GenTx blk)
- newtype WrapPerasVote blk = WrapPerasVote {
- unwrapPerasVote ∷ PerasVote blk
- newtype WrapPerasCert blk = WrapPerasCert {
- unwrapPerasCert ∷ PerasCert blk
- newtype WrapPerasError blk = WrapPerasError {
- unwrapPerasError ∷ PerasError blk
- newtype WrapPerasCrypto blk = WrapPerasCrypto {
- unwrapPerasCrypto ∷ PerasCrypto blk
- newtype WrapPerasVotingCommitteeScheme blk = WrapPerasVotingCommitteeScheme {}
- newtype WrapPerasPrivateKey blk = WrapPerasPrivateKey {}
- newtype WrapPerasVotingCommittee blk = WrapPerasVotingCommittee {}
- newtype WrapCanBeLeader blk = WrapCanBeLeader {}
- newtype WrapChainDepState blk = WrapChainDepState {}
- newtype WrapChainOrderConfig blk = WrapChainOrderConfig {}
- newtype WrapConsensusConfig blk = WrapConsensusConfig {}
- newtype WrapIsLeader blk = WrapIsLeader {
- unwrapIsLeader ∷ IsLeader (BlockProtocol blk)
- newtype WrapLedgerView blk = WrapLedgerView {
- unwrapLedgerView ∷ LedgerView (BlockProtocol blk)
- newtype WrapTiebreakerView blk = WrapTiebreakerView {}
- newtype WrapValidateView blk = WrapValidateView {}
- newtype WrapValidationErr blk = WrapValidationErr {}
- newtype WrapReasonForSwitch blk = WrapReasonForSwitch {}
- newtype WrapNodeToClientVersion blk = WrapNodeToClientVersion {}
- newtype WrapNodeToNodeVersion blk = WrapNodeToNodeVersion {}
- data family Ticked (st ∷ k) ∷ k
Block based
newtype WrapApplyTxErr blk Source #
Constructors
| WrapApplyTxErr | |
Fields
| |
Instances
newtype WrapCannotForge blk Source #
Constructors
| WrapCannotForge | |
Fields
| |
Instances
| Isomorphic WrapCannotForge Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapCannotForge (HardForkBlock '[blk]) → WrapCannotForge blk Source # inject ∷ NoHardForks blk ⇒ WrapCannotForge blk → WrapCannotForge (HardForkBlock '[blk]) Source # | |
| Show (CannotForge blk) ⇒ Show (WrapCannotForge blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapCannotForge blk → ShowS # show ∷ WrapCannotForge blk → String # showList ∷ [WrapCannotForge blk] → ShowS # | |
newtype WrapEnvelopeErr blk Source #
Constructors
| WrapEnvelopeErr | |
Fields | |
Instances
| Isomorphic WrapEnvelopeErr Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapEnvelopeErr (HardForkBlock '[blk]) → WrapEnvelopeErr blk Source # inject ∷ NoHardForks blk ⇒ WrapEnvelopeErr blk → WrapEnvelopeErr (HardForkBlock '[blk]) Source # | |
| Eq (OtherHeaderEnvelopeError blk) ⇒ Eq (WrapEnvelopeErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapEnvelopeErr blk → WrapEnvelopeErr blk → Bool # (/=) ∷ WrapEnvelopeErr blk → WrapEnvelopeErr blk → Bool # | |
| Show (OtherHeaderEnvelopeError blk) ⇒ Show (WrapEnvelopeErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapEnvelopeErr blk → ShowS # show ∷ WrapEnvelopeErr blk → String # showList ∷ [WrapEnvelopeErr blk] → ShowS # | |
| NoThunks (OtherHeaderEnvelopeError blk) ⇒ NoThunks (WrapEnvelopeErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
newtype WrapForgeStateInfo blk Source #
Constructors
| WrapForgeStateInfo | |
Fields | |
Instances
| Isomorphic WrapForgeStateInfo Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapForgeStateInfo (HardForkBlock '[blk]) → WrapForgeStateInfo blk Source # inject ∷ NoHardForks blk ⇒ WrapForgeStateInfo blk → WrapForgeStateInfo (HardForkBlock '[blk]) Source # | |
| Show (ForgeStateInfo blk) ⇒ Show (WrapForgeStateInfo blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapForgeStateInfo blk → ShowS # show ∷ WrapForgeStateInfo blk → String # showList ∷ [WrapForgeStateInfo blk] → ShowS # | |
newtype WrapForgeStateUpdateError blk Source #
Constructors
| WrapForgeStateUpdateError | |
Fields | |
Instances
| Isomorphic WrapForgeStateUpdateError Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapForgeStateUpdateError (HardForkBlock '[blk]) → WrapForgeStateUpdateError blk Source # inject ∷ NoHardForks blk ⇒ WrapForgeStateUpdateError blk → WrapForgeStateUpdateError (HardForkBlock '[blk]) Source # | |
| Show (ForgeStateUpdateError blk) ⇒ Show (WrapForgeStateUpdateError blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapForgeStateUpdateError blk → ShowS # show ∷ WrapForgeStateUpdateError blk → String # showList ∷ [WrapForgeStateUpdateError blk] → ShowS # | |
newtype WrapGenTxId blk Source #
Constructors
| WrapGenTxId | |
Fields
| |
Instances
newtype WrapHeaderHash blk Source #
Constructors
| WrapHeaderHash | |
Fields
| |
Instances
| Inject WrapHeaderHash Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Nary Methods inject ∷ ∀ x (xs ∷ [Type]). (CanHardFork xs, HasCanonicalTxIn xs, HasHardForkTxOut xs) ⇒ InjectionIndex xs x → WrapHeaderHash x → WrapHeaderHash (HardForkBlock xs) Source # | |
| Isomorphic WrapHeaderHash Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapHeaderHash (HardForkBlock '[blk]) → WrapHeaderHash blk Source # inject ∷ NoHardForks blk ⇒ WrapHeaderHash blk → WrapHeaderHash (HardForkBlock '[blk]) Source # | |
newtype WrapLedgerConfig blk Source #
Constructors
| WrapLedgerConfig | |
Fields | |
Instances
| SerialiseNodeToClient blk (LedgerConfig blk) ⇒ SerialiseNodeToClient blk (WrapLedgerConfig blk) Source # | |
Defined in Ouroboros.Consensus.Node.Serialisation Methods encodeNodeToClient ∷ CodecConfig blk → BlockNodeToClientVersion blk → WrapLedgerConfig blk → Encoding Source # decodeNodeToClient ∷ CodecConfig blk → BlockNodeToClientVersion blk → ∀ s. Decoder s (WrapLedgerConfig blk) Source # | |
newtype WrapLedgerErr blk Source #
Constructors
| WrapLedgerErr | |
Fields
| |
Instances
| Isomorphic WrapLedgerErr Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapLedgerErr (HardForkBlock '[blk]) → WrapLedgerErr blk Source # inject ∷ NoHardForks blk ⇒ WrapLedgerErr blk → WrapLedgerErr (HardForkBlock '[blk]) Source # | |
| Eq (LedgerError blk) ⇒ Eq (WrapLedgerErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapLedgerErr blk → WrapLedgerErr blk → Bool # (/=) ∷ WrapLedgerErr blk → WrapLedgerErr blk → Bool # | |
| Show (LedgerError blk) ⇒ Show (WrapLedgerErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapLedgerErr blk → ShowS # show ∷ WrapLedgerErr blk → String # showList ∷ [WrapLedgerErr blk] → ShowS # | |
| NoThunks (LedgerError blk) ⇒ NoThunks (WrapLedgerErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
newtype WrapLedgerEvent blk Source #
Constructors
| WrapLedgerEvent | |
Fields | |
newtype WrapLedgerUpdate blk Source #
Constructors
| WrapLedgerUpdate | |
Fields | |
Instances
| Eq (LedgerUpdate blk) ⇒ Eq (WrapLedgerUpdate blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapLedgerUpdate blk → WrapLedgerUpdate blk → Bool # (/=) ∷ WrapLedgerUpdate blk → WrapLedgerUpdate blk → Bool # | |
| Show (LedgerUpdate blk) ⇒ Show (WrapLedgerUpdate blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapLedgerUpdate blk → ShowS # show ∷ WrapLedgerUpdate blk → String # showList ∷ [WrapLedgerUpdate blk] → ShowS # | |
newtype WrapLedgerWarning blk Source #
Constructors
| WrapLedgerWarning | |
Fields | |
Instances
| Eq (LedgerWarning blk) ⇒ Eq (WrapLedgerWarning blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapLedgerWarning blk → WrapLedgerWarning blk → Bool # (/=) ∷ WrapLedgerWarning blk → WrapLedgerWarning blk → Bool # | |
| Show (LedgerWarning blk) ⇒ Show (WrapLedgerWarning blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapLedgerWarning blk → ShowS # show ∷ WrapLedgerWarning blk → String # showList ∷ [WrapLedgerWarning blk] → ShowS # | |
newtype WrapTentativeHeaderState blk Source #
Constructors
| WrapTentativeHeaderState | |
Fields | |
Instances
newtype WrapTentativeHeaderView blk Source #
Constructors
| WrapTentativeHeaderView | |
Fields | |
Instances
| Eq (TentativeHeaderView blk) ⇒ Eq (WrapTentativeHeaderView blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapTentativeHeaderView blk → WrapTentativeHeaderView blk → Bool # (/=) ∷ WrapTentativeHeaderView blk → WrapTentativeHeaderView blk → Bool # | |
| Show (TentativeHeaderView blk) ⇒ Show (WrapTentativeHeaderView blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapTentativeHeaderView blk → ShowS # show ∷ WrapTentativeHeaderView blk → String # showList ∷ [WrapTentativeHeaderView blk] → ShowS # | |
newtype WrapTipInfo blk Source #
Constructors
| WrapTipInfo | |
Fields
| |
Instances
Constructors
| WrapTxIn | |
Fields
| |
Instances
| Eq (TxIn blk) ⇒ Eq (WrapTxIn blk) Source # | |
| Ord (TxIn blk) ⇒ Ord (WrapTxIn blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
| Show (TxIn blk) ⇒ Show (WrapTxIn blk) Source # | |
| NoThunks (TxIn blk) ⇒ NoThunks (WrapTxIn blk) Source # | |
newtype WrapTxMeasurePhase1 blk Source #
Constructors
| WrapTxMeasurePhase1 | |
Fields | |
newtype WrapTxMeasurePhase2 blk Source #
Constructors
| WrapTxMeasurePhase2 | |
Fields | |
newtype WrapTxOut blk Source #
Constructors
| WrapTxOut | |
Fields
| |
Instances
| Eq (TxOut blk) ⇒ Eq (WrapTxOut blk) Source # | |
| Ord (TxOut blk) ⇒ Ord (WrapTxOut blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
| Show (TxOut blk) ⇒ Show (WrapTxOut blk) Source # | |
| (All MemPackTxOut xs, Typeable xs) ⇒ MemPack (DefaultHardForkTxOut xs) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger Methods packedByteCount ∷ DefaultHardForkTxOut xs → Int Source # packM ∷ DefaultHardForkTxOut xs → Pack s () Source # unpackM ∷ Buffer b ⇒ Unpack s b (DefaultHardForkTxOut xs) Source # | |
| NoThunks (TxOut blk) ⇒ NoThunks (WrapTxOut blk) Source # | |
newtype WrapValidatedGenTx blk Source #
A data family wrapper for Validated . GenTx
Validated is is data family, so this is an outlier in this module full of
type family wrappers. However, the standard functor composition operator f
:.: g incurs some type classes instances that are inappropriate when the
outer type constructor f is a family and hence non-parametric (eg requires @Eq (f
:.: g)Eq1 f)). The bespoke composition
WrapValidatedGenTx therefore serves much the same purpose as the other
wrappers in this module.
Constructors
| WrapValidatedGenTx | |
Fields
| |
Instances
| Isomorphic WrapValidatedGenTx Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapValidatedGenTx (HardForkBlock '[blk]) → WrapValidatedGenTx blk Source # inject ∷ NoHardForks blk ⇒ WrapValidatedGenTx blk → WrapValidatedGenTx (HardForkBlock '[blk]) Source # | |
| Eq (Validated (GenTx blk)) ⇒ Eq (WrapValidatedGenTx blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapValidatedGenTx blk → WrapValidatedGenTx blk → Bool # (/=) ∷ WrapValidatedGenTx blk → WrapValidatedGenTx blk → Bool # | |
| Show (Validated (GenTx blk)) ⇒ Show (WrapValidatedGenTx blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapValidatedGenTx blk → ShowS # show ∷ WrapValidatedGenTx blk → String # showList ∷ [WrapValidatedGenTx blk] → ShowS # | |
| NoThunks (Validated (GenTx blk)) ⇒ NoThunks (WrapValidatedGenTx blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
newtype WrapPerasVote blk Source #
Constructors
| WrapPerasVote | |
Fields
| |
Instances
newtype WrapPerasCert blk Source #
Constructors
| WrapPerasCert | |
Fields
| |
Instances
| Eq (PerasCert blk) ⇒ Eq (WrapPerasCert blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapPerasCert blk → WrapPerasCert blk → Bool # (/=) ∷ WrapPerasCert blk → WrapPerasCert blk → Bool # | |||||
| Generic (WrapPerasCert blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Associated Types
Methods from ∷ WrapPerasCert blk → Rep (WrapPerasCert blk) x # to ∷ Rep (WrapPerasCert blk) x → WrapPerasCert blk # | |||||
| Show (PerasCert blk) ⇒ Show (WrapPerasCert blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapPerasCert blk → ShowS # show ∷ WrapPerasCert blk → String # showList ∷ [WrapPerasCert blk] → ShowS # | |||||
| NoThunks (PerasCert blk) ⇒ NoThunks (WrapPerasCert blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||
| type Rep (WrapPerasCert blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers type Rep (WrapPerasCert blk) = D1 ('MetaData "WrapPerasCert" "Ouroboros.Consensus.TypeFamilyWrappers" "ouroboros-consensus-4.0.0.0-inplace" 'True) (C1 ('MetaCons "WrapPerasCert" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrapPerasCert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PerasCert blk)))) | |||||
newtype WrapPerasError blk Source #
Constructors
| WrapPerasError | |
Fields
| |
Instances
| Eq (PerasError blk) ⇒ Eq (WrapPerasError blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapPerasError blk → WrapPerasError blk → Bool # (/=) ∷ WrapPerasError blk → WrapPerasError blk → Bool # | |||||
| (Typeable blk, Exception (PerasError blk)) ⇒ Exception (WrapPerasError blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods toException ∷ WrapPerasError blk → SomeException # fromException ∷ SomeException → Maybe (WrapPerasError blk) # displayException ∷ WrapPerasError blk → String # backtraceDesired ∷ WrapPerasError blk → Bool # | |||||
| Generic (WrapPerasError blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Associated Types
Methods from ∷ WrapPerasError blk → Rep (WrapPerasError blk) x # to ∷ Rep (WrapPerasError blk) x → WrapPerasError blk # | |||||
| Show (PerasError blk) ⇒ Show (WrapPerasError blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapPerasError blk → ShowS # show ∷ WrapPerasError blk → String # showList ∷ [WrapPerasError blk] → ShowS # | |||||
| NoThunks (PerasError blk) ⇒ NoThunks (WrapPerasError blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||
| IsPerasError (PerasError blk) blk ⇒ IsPerasError (WrapPerasError blk) blk Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||
| type Rep (WrapPerasError blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers type Rep (WrapPerasError blk) = D1 ('MetaData "WrapPerasError" "Ouroboros.Consensus.TypeFamilyWrappers" "ouroboros-consensus-4.0.0.0-inplace" 'True) (C1 ('MetaCons "WrapPerasError" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrapPerasError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PerasError blk)))) | |||||
newtype WrapPerasCrypto blk Source #
Constructors
| WrapPerasCrypto | |
Fields
| |
Instances
| Eq (PerasCrypto blk) ⇒ Eq (WrapPerasCrypto blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapPerasCrypto blk → WrapPerasCrypto blk → Bool # (/=) ∷ WrapPerasCrypto blk → WrapPerasCrypto blk → Bool # | |||||
| Generic (WrapPerasCrypto blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Associated Types
Methods from ∷ WrapPerasCrypto blk → Rep (WrapPerasCrypto blk) x # to ∷ Rep (WrapPerasCrypto blk) x → WrapPerasCrypto blk # | |||||
| Show (PerasCrypto blk) ⇒ Show (WrapPerasCrypto blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapPerasCrypto blk → ShowS # show ∷ WrapPerasCrypto blk → String # showList ∷ [WrapPerasCrypto blk] → ShowS # | |||||
| NoThunks (PerasCrypto blk) ⇒ NoThunks (WrapPerasCrypto blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||
| type Rep (WrapPerasCrypto blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers type Rep (WrapPerasCrypto blk) = D1 ('MetaData "WrapPerasCrypto" "Ouroboros.Consensus.TypeFamilyWrappers" "ouroboros-consensus-4.0.0.0-inplace" 'True) (C1 ('MetaCons "WrapPerasCrypto" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrapPerasCrypto") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PerasCrypto blk)))) | |||||
newtype WrapPerasVotingCommitteeScheme blk Source #
Constructors
| WrapPerasVotingCommitteeScheme | |
Instances
| Eq (PerasVotingCommitteeScheme blk) ⇒ Eq (WrapPerasVotingCommitteeScheme blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapPerasVotingCommitteeScheme blk → WrapPerasVotingCommitteeScheme blk → Bool # (/=) ∷ WrapPerasVotingCommitteeScheme blk → WrapPerasVotingCommitteeScheme blk → Bool # | |||||
| Generic (WrapPerasVotingCommitteeScheme blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Associated Types
Methods from ∷ WrapPerasVotingCommitteeScheme blk → Rep (WrapPerasVotingCommitteeScheme blk) x # to ∷ Rep (WrapPerasVotingCommitteeScheme blk) x → WrapPerasVotingCommitteeScheme blk # | |||||
| Show (PerasVotingCommitteeScheme blk) ⇒ Show (WrapPerasVotingCommitteeScheme blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapPerasVotingCommitteeScheme blk → ShowS # show ∷ WrapPerasVotingCommitteeScheme blk → String # showList ∷ [WrapPerasVotingCommitteeScheme blk] → ShowS # | |||||
| NoThunks (PerasVotingCommitteeScheme blk) ⇒ NoThunks (WrapPerasVotingCommitteeScheme blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||
| type Rep (WrapPerasVotingCommitteeScheme blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers type Rep (WrapPerasVotingCommitteeScheme blk) = D1 ('MetaData "WrapPerasVotingCommitteeScheme" "Ouroboros.Consensus.TypeFamilyWrappers" "ouroboros-consensus-4.0.0.0-inplace" 'True) (C1 ('MetaCons "WrapPerasVotingCommitteeScheme" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrapPerasVotingCommitteeScheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PerasVotingCommitteeScheme blk)))) | |||||
newtype WrapPerasPrivateKey blk Source #
Constructors
| WrapPerasPrivateKey | |
Fields | |
Instances
| Eq (PrivateKey (PerasCrypto blk)) ⇒ Eq (WrapPerasPrivateKey blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapPerasPrivateKey blk → WrapPerasPrivateKey blk → Bool # (/=) ∷ WrapPerasPrivateKey blk → WrapPerasPrivateKey blk → Bool # | |||||
| Generic (WrapPerasPrivateKey blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Associated Types
Methods from ∷ WrapPerasPrivateKey blk → Rep (WrapPerasPrivateKey blk) x # to ∷ Rep (WrapPerasPrivateKey blk) x → WrapPerasPrivateKey blk # | |||||
| Show (PrivateKey (PerasCrypto blk)) ⇒ Show (WrapPerasPrivateKey blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapPerasPrivateKey blk → ShowS # show ∷ WrapPerasPrivateKey blk → String # showList ∷ [WrapPerasPrivateKey blk] → ShowS # | |||||
| NoThunks (PrivateKey (PerasCrypto blk)) ⇒ NoThunks (WrapPerasPrivateKey blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||
| type Rep (WrapPerasPrivateKey blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers type Rep (WrapPerasPrivateKey blk) = D1 ('MetaData "WrapPerasPrivateKey" "Ouroboros.Consensus.TypeFamilyWrappers" "ouroboros-consensus-4.0.0.0-inplace" 'True) (C1 ('MetaCons "WrapPerasPrivateKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrapPerasPrivateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PrivateKey (PerasCrypto blk))))) | |||||
newtype WrapPerasVotingCommittee blk Source #
Constructors
| WrapPerasVotingCommittee | |
Fields | |
Instances
| (Typeable blk, FromCBOR (VotingCommittee (PerasCrypto blk) (PerasVotingCommitteeScheme blk))) ⇒ FromCBOR (WrapPerasVotingCommittee blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||
| (Typeable blk, ToCBOR (VotingCommittee (PerasCrypto blk) (PerasVotingCommitteeScheme blk))) ⇒ ToCBOR (WrapPerasVotingCommittee blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods toCBOR ∷ WrapPerasVotingCommittee blk → Encoding Source # encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (WrapPerasVotingCommittee blk) → Size Source # encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [WrapPerasVotingCommittee blk] → Size Source # | |||||
| Eq (VotingCommittee (PerasCrypto blk) (PerasVotingCommitteeScheme blk)) ⇒ Eq (WrapPerasVotingCommittee blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapPerasVotingCommittee blk → WrapPerasVotingCommittee blk → Bool # (/=) ∷ WrapPerasVotingCommittee blk → WrapPerasVotingCommittee blk → Bool # | |||||
| Generic (WrapPerasVotingCommittee blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Associated Types
Methods from ∷ WrapPerasVotingCommittee blk → Rep (WrapPerasVotingCommittee blk) x # to ∷ Rep (WrapPerasVotingCommittee blk) x → WrapPerasVotingCommittee blk # | |||||
| Show (VotingCommittee (PerasCrypto blk) (PerasVotingCommitteeScheme blk)) ⇒ Show (WrapPerasVotingCommittee blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapPerasVotingCommittee blk → ShowS # show ∷ WrapPerasVotingCommittee blk → String # showList ∷ [WrapPerasVotingCommittee blk] → ShowS # | |||||
| NoThunks (VotingCommittee (PerasCrypto blk) (PerasVotingCommitteeScheme blk)) ⇒ NoThunks (WrapPerasVotingCommittee blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||
| type Rep (WrapPerasVotingCommittee blk) Source # | |||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers type Rep (WrapPerasVotingCommittee blk) = D1 ('MetaData "WrapPerasVotingCommittee" "Ouroboros.Consensus.TypeFamilyWrappers" "ouroboros-consensus-4.0.0.0-inplace" 'True) (C1 ('MetaCons "WrapPerasVotingCommittee" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrapPerasVotingCommittee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (VotingCommittee (PerasCrypto blk) (PerasVotingCommitteeScheme blk))))) | |||||
Protocol based
newtype WrapCanBeLeader blk Source #
Constructors
| WrapCanBeLeader | |
Fields | |
Instances
| Isomorphic WrapCanBeLeader Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapCanBeLeader (HardForkBlock '[blk]) → WrapCanBeLeader blk Source # inject ∷ NoHardForks blk ⇒ WrapCanBeLeader blk → WrapCanBeLeader (HardForkBlock '[blk]) Source # | |
newtype WrapChainDepState blk Source #
Constructors
| WrapChainDepState | |
Fields | |
Instances
| Inject WrapChainDepState Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Nary Methods inject ∷ ∀ x (xs ∷ [Type]). (CanHardFork xs, HasCanonicalTxIn xs, HasHardForkTxOut xs) ⇒ InjectionIndex xs x → WrapChainDepState x → WrapChainDepState (HardForkBlock xs) Source # | |
| Isomorphic WrapChainDepState Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapChainDepState (HardForkBlock '[blk]) → WrapChainDepState blk Source # inject ∷ NoHardForks blk ⇒ WrapChainDepState blk → WrapChainDepState (HardForkBlock '[blk]) Source # | |
| DecodeDisk blk (ChainDepState (BlockProtocol blk)) ⇒ DecodeDisk blk (WrapChainDepState blk) Source # | |
Defined in Ouroboros.Consensus.Storage.Serialisation Methods decodeDisk ∷ CodecConfig blk → ∀ s. Decoder s (WrapChainDepState blk) Source # | |
| EncodeDisk blk (ChainDepState (BlockProtocol blk)) ⇒ EncodeDisk blk (WrapChainDepState blk) Source # | |
Defined in Ouroboros.Consensus.Storage.Serialisation Methods encodeDisk ∷ CodecConfig blk → WrapChainDepState blk → Encoding Source # | |
| Eq (ChainDepState (BlockProtocol blk)) ⇒ Eq (WrapChainDepState blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapChainDepState blk → WrapChainDepState blk → Bool # (/=) ∷ WrapChainDepState blk → WrapChainDepState blk → Bool # | |
| Show (ChainDepState (BlockProtocol blk)) ⇒ Show (WrapChainDepState blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapChainDepState blk → ShowS # show ∷ WrapChainDepState blk → String # showList ∷ [WrapChainDepState blk] → ShowS # | |
| NoThunks (ChainDepState (BlockProtocol blk)) ⇒ NoThunks (WrapChainDepState blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
| CanHardFork xs ⇒ ChainDepStateSupportsPeras (HardForkChainDepState xs) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Protocol Methods | |
| Serialise (ChainDepState (BlockProtocol blk)) ⇒ Serialise (WrapChainDepState blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods encode ∷ WrapChainDepState blk → Encoding Source # decode ∷ Decoder s (WrapChainDepState blk) Source # encodeList ∷ [WrapChainDepState blk] → Encoding Source # decodeList ∷ Decoder s [WrapChainDepState blk] Source # | |
| SerialiseHFC xs ⇒ DecodeDisk (HardForkBlock xs) (HardForkChainDepState xs) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk Methods decodeDisk ∷ CodecConfig (HardForkBlock xs) → ∀ s. Decoder s (HardForkChainDepState xs) Source # | |
| SerialiseHFC xs ⇒ EncodeDisk (HardForkBlock xs) (HardForkChainDepState xs) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk Methods encodeDisk ∷ CodecConfig (HardForkBlock xs) → HardForkChainDepState xs → Encoding Source # | |
| CanHardFork xs ⇒ ChainDepStateSupportsPeras (Ticked (HardForkChainDepState xs)) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Protocol Methods getEpochNonce ∷ Ticked (HardForkChainDepState xs) → Nonce Source # | |
| data Ticked (HardForkChainDepState xs ∷ Type) Source # | |
| newtype Ticked (WrapChainDepState blk ∷ Type) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
newtype WrapChainOrderConfig blk Source #
Constructors
| WrapChainOrderConfig | |
Fields | |
newtype WrapConsensusConfig blk Source #
Constructors
| WrapConsensusConfig | |
Fields | |
newtype WrapIsLeader blk Source #
Constructors
| WrapIsLeader | |
Fields
| |
Instances
| Isomorphic WrapIsLeader Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapIsLeader (HardForkBlock '[blk]) → WrapIsLeader blk Source # inject ∷ NoHardForks blk ⇒ WrapIsLeader blk → WrapIsLeader (HardForkBlock '[blk]) Source # | |
newtype WrapLedgerView blk Source #
Constructors
| WrapLedgerView | |
Fields
| |
Instances
| Isomorphic WrapLedgerView Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Embed.Unary Methods project ∷ NoHardForks blk ⇒ WrapLedgerView (HardForkBlock '[blk]) → WrapLedgerView blk Source # inject ∷ NoHardForks blk ⇒ WrapLedgerView blk → WrapLedgerView (HardForkBlock '[blk]) Source # | |
| Show (LedgerView (BlockProtocol blk)) ⇒ Show (WrapLedgerView blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapLedgerView blk → ShowS # show ∷ WrapLedgerView blk → String # showList ∷ [WrapLedgerView blk] → ShowS # | |
| CanHardFork xs ⇒ Show (HardForkLedgerView_ WrapLedgerView xs) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Protocol.LedgerView Methods showsPrec ∷ Int → HardForkLedgerView_ WrapLedgerView xs → ShowS # show ∷ HardForkLedgerView_ WrapLedgerView xs → String # showList ∷ [HardForkLedgerView_ WrapLedgerView xs] → ShowS # | |
newtype WrapTiebreakerView blk Source #
Constructors
| WrapTiebreakerView | |
Fields | |
Instances
| Eq (TiebreakerView (BlockProtocol blk)) ⇒ Eq (WrapTiebreakerView blk) Source # | |||||||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → Bool # (/=) ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → Bool # | |||||||||
| Ord (TiebreakerView (BlockProtocol blk)) ⇒ Ord (WrapTiebreakerView blk) Source # | |||||||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods compare ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → Ordering # (<) ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → Bool # (<=) ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → Bool # (>) ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → Bool # (>=) ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → Bool # max ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → WrapTiebreakerView blk # min ∷ WrapTiebreakerView blk → WrapTiebreakerView blk → WrapTiebreakerView blk # | |||||||||
| Show (TiebreakerView (BlockProtocol blk)) ⇒ Show (WrapTiebreakerView blk) Source # | |||||||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapTiebreakerView blk → ShowS # show ∷ WrapTiebreakerView blk → String # showList ∷ [WrapTiebreakerView blk] → ShowS # | |||||||||
| NoThunks (TiebreakerView (BlockProtocol blk)) ⇒ NoThunks (WrapTiebreakerView blk) Source # | |||||||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |||||||||
| ChainOrder (TiebreakerView (BlockProtocol blk)) ⇒ ChainOrder (WrapTiebreakerView blk) Source # | |||||||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers Associated Types
Methods preferCandidate ∷ ChainOrderConfig (WrapTiebreakerView blk) → WrapTiebreakerView blk → WrapTiebreakerView blk → ShouldSwitch (ReasonForSwitch (WrapTiebreakerView blk)) Source # | |||||||||
| type ChainOrderConfig (WrapTiebreakerView blk) Source # | |||||||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers type ChainOrderConfig (WrapTiebreakerView blk) = ChainOrderConfig (TiebreakerView (BlockProtocol blk)) | |||||||||
| type ReasonForSwitch (WrapTiebreakerView blk) Source # | |||||||||
Defined in Ouroboros.Consensus.TypeFamilyWrappers type ReasonForSwitch (WrapTiebreakerView blk) = ReasonForSwitch (TiebreakerView (BlockProtocol blk)) | |||||||||
newtype WrapValidateView blk Source #
Constructors
| WrapValidateView | |
Fields | |
newtype WrapValidationErr blk Source #
Constructors
| WrapValidationErr | |
Fields | |
Instances
| Eq (ValidationErr (BlockProtocol blk)) ⇒ Eq (WrapValidationErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapValidationErr blk → WrapValidationErr blk → Bool # (/=) ∷ WrapValidationErr blk → WrapValidationErr blk → Bool # | |
| Show (ValidationErr (BlockProtocol blk)) ⇒ Show (WrapValidationErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapValidationErr blk → ShowS # show ∷ WrapValidationErr blk → String # showList ∷ [WrapValidationErr blk] → ShowS # | |
| NoThunks (ValidationErr (BlockProtocol blk)) ⇒ NoThunks (WrapValidationErr blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
newtype WrapReasonForSwitch blk Source #
Constructors
| WrapReasonForSwitch | |
Fields | |
Instances
| Show (ReasonForSwitch (WrapTiebreakerView blk)) ⇒ Show (WrapReasonForSwitch blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapReasonForSwitch blk → ShowS # show ∷ WrapReasonForSwitch blk → String # showList ∷ [WrapReasonForSwitch blk] → ShowS # | |
Versioning
newtype WrapNodeToClientVersion blk Source #
Constructors
| WrapNodeToClientVersion | |
Fields | |
Instances
| Eq (BlockNodeToClientVersion blk) ⇒ Eq (WrapNodeToClientVersion blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapNodeToClientVersion blk → WrapNodeToClientVersion blk → Bool # (/=) ∷ WrapNodeToClientVersion blk → WrapNodeToClientVersion blk → Bool # | |
| Show (BlockNodeToClientVersion blk) ⇒ Show (WrapNodeToClientVersion blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapNodeToClientVersion blk → ShowS # show ∷ WrapNodeToClientVersion blk → String # showList ∷ [WrapNodeToClientVersion blk] → ShowS # | |
newtype WrapNodeToNodeVersion blk Source #
Constructors
| WrapNodeToNodeVersion | |
Fields | |
Instances
| Eq (BlockNodeToNodeVersion blk) ⇒ Eq (WrapNodeToNodeVersion blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods (==) ∷ WrapNodeToNodeVersion blk → WrapNodeToNodeVersion blk → Bool # (/=) ∷ WrapNodeToNodeVersion blk → WrapNodeToNodeVersion blk → Bool # | |
| Show (BlockNodeToNodeVersion blk) ⇒ Show (WrapNodeToNodeVersion blk) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers Methods showsPrec ∷ Int → WrapNodeToNodeVersion blk → ShowS # show ∷ WrapNodeToNodeVersion blk → String # showList ∷ [WrapNodeToNodeVersion blk] → ShowS # | |
Type family instances
data family Ticked (st ∷ k) ∷ k Source #
" Ticked " piece of state, either LedgerState or ChainDepState
Ticking refers to the passage of time (the ticking of the clock). When a
piece of state is marked as ticked, it means that time-related changes have
been applied to the state. There are exactly two methods in the interface
that do that: tickChainDepState and
applyChainTickLedgerResult.
Also note that a successful forecast
must equal
forecastFor
(ledgerViewForecastAt cfg st)
slot. Thus a
protocolLedgerView cfg
(applyChainTick cfg slot st)LedgerView can only be projected
from a Ticked state, but cannot itself be ticked.
Some examples of time related changes:
- Scheduled delegations might have been applied in Byron
- New leader schedule computed for Shelley
- Transition from Byron to Shelley activated in the hard fork combinator.
- Nonces switched out at the start of a new epoch.
Ticked is used mainly in two ways:
Ticked (Ext)LedgerStatewhere its kind gets concretized toStateKind -> StateKindTicked (HeaderState blk)where its kind gets concretized toType -> Type
Instances
| Show (Ticked ()) Source # | |
| CanHardFork xs ⇒ ChainDepStateSupportsPeras (Ticked (HardForkChainDepState xs)) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Protocol Methods getEpochNonce ∷ Ticked (HardForkChainDepState xs) → Nonce Source # | |
| ChainDepStateSupportsPeras (Ticked (ChainDepState (BlockProtocol blk))) ⇒ ChainDepStateSupportsPeras (Ticked (HeaderState blk)) Source # | |
Defined in Ouroboros.Consensus.HeaderValidation Methods getEpochNonce ∷ Ticked (HeaderState blk) → Nonce Source # | |
| ChainDepStateSupportsPeras (Ticked (PBftState c)) Source # | |
Defined in Ouroboros.Consensus.Protocol.PBFT | |
| ChainDepStateSupportsPeras (Ticked ()) Source # | |
Defined in Ouroboros.Consensus.Protocol.Abstract Methods getEpochNonce ∷ Ticked () → Nonce Source # | |
| (NoThunks (TxIn blk), NoThunks (TxOut blk), HasLedgerTables (Ticked LedgerState) blk) ⇒ HasLedgerTables (Ticked ExtLedgerState) blk Source # | |
Defined in Ouroboros.Consensus.Ledger.Extended Methods projectLedgerTables ∷ ∀ (mk ∷ MapKind). (CanMapMK mk, CanMapKeysMK mk, ZeroableMK mk) ⇒ Ticked ExtLedgerState blk mk → LedgerTables blk mk Source # withLedgerTables ∷ ∀ (mk ∷ MapKind) (any ∷ MapKind). (CanMapMK mk, CanMapKeysMK mk, ZeroableMK mk) ⇒ Ticked ExtLedgerState blk any → LedgerTables blk mk → Ticked ExtLedgerState blk mk Source # | |
| (CanHardFork xs, HasCanonicalTxIn xs, HasHardForkTxOut xs) ⇒ HasLedgerTables (Ticked LedgerState) (HardForkBlock xs) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger Methods projectLedgerTables ∷ ∀ (mk ∷ MapKind). (CanMapMK mk, CanMapKeysMK mk, ZeroableMK mk) ⇒ Ticked LedgerState (HardForkBlock xs) mk → LedgerTables (HardForkBlock xs) mk Source # withLedgerTables ∷ ∀ (mk ∷ MapKind) (any ∷ MapKind). (CanMapMK mk, CanMapKeysMK mk, ZeroableMK mk) ⇒ Ticked LedgerState (HardForkBlock xs) any → LedgerTables (HardForkBlock xs) mk → Ticked LedgerState (HardForkBlock xs) mk Source # | |
| (Bridge m a, HasLedgerTables (Ticked LedgerState) m) ⇒ HasLedgerTables (Ticked LedgerState) (DualBlock m a) Source # | |
Defined in Ouroboros.Consensus.Ledger.Dual Methods projectLedgerTables ∷ ∀ (mk ∷ MapKind). (CanMapMK mk, CanMapKeysMK mk, ZeroableMK mk) ⇒ Ticked LedgerState (DualBlock m a) mk → LedgerTables (DualBlock m a) mk Source # withLedgerTables ∷ ∀ (mk ∷ MapKind) (any ∷ MapKind). (CanMapMK mk, CanMapKeysMK mk, ZeroableMK mk) ⇒ Ticked LedgerState (DualBlock m a) any → LedgerTables (DualBlock m a) mk → Ticked LedgerState (DualBlock m a) mk Source # | |
| CanHardFork xs ⇒ GetTip (Ticked LedgerState (HardForkBlock xs)) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger Methods getTip ∷ ∀ (mk ∷ MapKind). Ticked LedgerState (HardForkBlock xs) mk → Point (Ticked LedgerState (HardForkBlock xs)) Source # | |
| Bridge m a ⇒ GetTip (Ticked LedgerState (DualBlock m a)) Source # | |
Defined in Ouroboros.Consensus.Ledger.Dual | |
| IsLedger LedgerState blk ⇒ GetTip (Ticked ExtLedgerState blk) Source # | |
Defined in Ouroboros.Consensus.Ledger.Extended Methods getTip ∷ ∀ (mk ∷ MapKind). Ticked ExtLedgerState blk mk → Point (Ticked ExtLedgerState blk) Source # | |
| CanHardFork xs ⇒ LedgerStateSupportsPeras (Ticked LedgerState (HardForkBlock xs)) Source # |
|
Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger Methods getPoolDistr ∷ Ticked LedgerState (HardForkBlock xs) EmptyMK → PoolDistr Source # getPerasParams ∷ proxy blk → Ticked LedgerState (HardForkBlock xs) EmptyMK → PerasParams blk Source # | |
| LedgerStateSupportsPeras (Ticked LedgerState (DualBlock m a)) Source # | |
Defined in Ouroboros.Consensus.Ledger.Dual Methods getPoolDistr ∷ Ticked LedgerState (DualBlock m a) EmptyMK → PoolDistr Source # getPerasParams ∷ proxy blk → Ticked LedgerState (DualBlock m a) EmptyMK → PerasParams blk Source # | |
| NoThunks (Ticked LedgerState (DualBlock m a) mk) Source # | |
Defined in Ouroboros.Consensus.Ledger.Dual | |
| Show (Ticked (f a)) ⇒ Show (((Ticked ∷ Type → Type) :.: f) a) Source # | |
| NoThunks (Ticked (f a)) ⇒ NoThunks (((Ticked ∷ Type → Type) :.: f) a) Source # | |
| data Ticked () Source # | |
Defined in Ouroboros.Consensus.Ticked | |
| data Ticked (HardForkChainDepState xs ∷ Type) Source # | |
| data Ticked (HeaderState blk ∷ Type) Source # | |
Defined in Ouroboros.Consensus.HeaderValidation | |
| data Ticked (PBftState c ∷ Type) Source # | |
Defined in Ouroboros.Consensus.Protocol.PBFT | |
| newtype Ticked (WrapChainDepState blk ∷ Type) Source # | |
Defined in Ouroboros.Consensus.TypeFamilyWrappers | |
| type HeaderHash (Ticked l blk ∷ k2) Source # | |
Defined in Ouroboros.Consensus.Ticked | |
| data Ticked ExtLedgerState (blk ∷ Type) (mk ∷ MapKind) Source # | |
Defined in Ouroboros.Consensus.Ledger.Extended data Ticked ExtLedgerState (blk ∷ Type) (mk ∷ MapKind) = TickedExtLedgerState {
| |
| data Ticked LedgerState (HardForkBlock xs ∷ Type) (mk ∷ MapKind) Source # | |
| data Ticked LedgerState (DualBlock m a ∷ Type) (mk ∷ MapKind) Source # | |
Defined in Ouroboros.Consensus.Ledger.Dual | |