consensus-test
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Consensus.HardFork.Combinator.B

Synopsis

Documentation

data BlockB Source #

Constructors

BlkB 

Instances

Instances details
Generic BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep BlockBTypeType #

Methods

fromBlockBRep BlockB x #

toRep BlockB x → BlockB #

Show BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

showsPrecIntBlockBShowS #

showBlockBString #

showList ∷ [BlockB] → ShowS #

Eq BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

(==)BlockBBlockBBool #

(/=)BlockBBlockBBool #

NoThunks BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ConvertRawHash BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

GetHeader BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

GetPrevHash BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

BlockSupportsDiffusionPipelining BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

BlockSupportsMetrics BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

BlockSupportsProtocol BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ConfigSupportsNode BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SingleEraBlock BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

CondenseConstraints BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasPartialLedgerConfig BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type PartialLedgerConfig BlockB Source #

SerialiseConstraintsHFC BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

BasicEnvelopeValidation BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasAnnTip BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type TipInfo BlockB Source #

ValidateEnvelope BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

UpdateLedger BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

CommonProtocolParams BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

InspectLedger BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

BlockSupportsLedgerQuery BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasTxs BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

LedgerSupportsMempool BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

TxLimits BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type TxMeasure BlockB Source #

LedgerSupportsPeerSelection BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

LedgerSupportsProtocol BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NodeInitStorage BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasNetworkProtocolVersion BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClientConstraints BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNodeConstraints BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseDiskConstraints BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasBinaryBlockInfo BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Condense BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

condenseBlockBString Source #

HasHeader BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasNestedContent Header BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClient BlockB Void Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClient BlockB SlotNo Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClient BlockB BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockB ByteString Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockB BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDisk BlockB () Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

decodeDiskCodecConfig BlockB → ∀ s. Decoder s () Source #

EncodeDisk BlockB BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDisk BlockB () Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ReconstructNestedCtxt Header BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

StandardHash BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClient BlockB (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClient BlockB (GenTxId BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockB (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockB (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockB (GenTxId BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockB (SerialisedHeader BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseResult BlockB (BlockQuery BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDisk BlockB (AnnTip BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDisk BlockB (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDisk BlockB (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDisk BlockB (AnnTip BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDisk BlockB (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClient BlockB (Serialised BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockB (Serialised BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDisk BlockB (ByteStringHeader BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDisk BlockB (ByteStringBlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClient BlockB (SomeSecond BlockQuery BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Generic (BlockConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (BlockConfig BlockB) ∷ TypeType #

Generic (CodecConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (CodecConfig BlockB) ∷ TypeType #

Generic (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (Header BlockB) ∷ TypeType #

Methods

fromHeader BlockBRep (Header BlockB) x #

toRep (Header BlockB) x → Header BlockB #

Generic (StorageConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (StorageConfig BlockB) ∷ TypeType #

Generic (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (Validated (GenTx BlockB)) ∷ TypeType #

Generic (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (LedgerState BlockB) ∷ TypeType #

Generic (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (GenTx BlockB) ∷ TypeType #

Methods

fromGenTx BlockBRep (GenTx BlockB) x #

toRep (GenTx BlockB) x → GenTx BlockB #

Generic (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (TxId (GenTx BlockB)) ∷ TypeType #

Methods

fromTxId (GenTx BlockB) → Rep (TxId (GenTx BlockB)) x #

toRep (TxId (GenTx BlockB)) x → TxId (GenTx BlockB) #

Show (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Show (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Show (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Show (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Show (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

showsPrecIntTxId (GenTx BlockB) → ShowS #

showTxId (GenTx BlockB) → String #

showList ∷ [TxId (GenTx BlockB)] → ShowS #

Eq (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Eq (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Eq (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Eq (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

(==)GenTx BlockBGenTx BlockBBool #

(/=)GenTx BlockBGenTx BlockBBool #

Eq (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

(==)TxId (GenTx BlockB) → TxId (GenTx BlockB) → Bool #

(/=)TxId (GenTx BlockB) → TxId (GenTx BlockB) → Bool #

Ord (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (BlockConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (CodecConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (StorageConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (Ticked (LedgerState BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

GetTip (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

GetTip (Ticked (LedgerState BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

IsLedger (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ConvertRawTxId (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasTxId (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Condense (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Condense (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Condense (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SameDepIndex (BlockQuery BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasHeader (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ShowQuery (BlockQuery BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

showResultBlockQuery BlockB result → result → String Source #

Serialise (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise (AnnTip BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise (SerialisedHeader BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ApplyBlock (LedgerState BlockB) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDiskDep (NestedCtxt Header) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDiskDepIx (NestedCtxt Header) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDiskDep (NestedCtxt Header) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDiskDepIx (NestedCtxt Header) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Show (BlockQuery BlockB result) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

showsPrecIntBlockQuery BlockB result → ShowS #

showBlockQuery BlockB result → String #

showList ∷ [BlockQuery BlockB result] → ShowS #

SameDepIndex (NestedCtxt_ BlockB f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

sameDepIndexNestedCtxt_ BlockB f a → NestedCtxt_ BlockB f b → Maybe (a :~: b) Source #

TrivialDependency (NestedCtxt_ BlockB f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type TrivialIndex (NestedCtxt_ BlockB f) Source #

Show (NestedCtxt_ BlockB f a) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

CanHardFork '[BlockA, BlockB] Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator

Associated Types

type HardForkTxMeasure '[BlockA, BlockB] Source #

SerialiseHFC '[BlockA, BlockB] Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator

type Rep BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep BlockB = D1 ('MetaData "BlockB" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "BlkB" 'PrefixI 'True) (S1 ('MetaSel ('Just "blkB_header") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Header BlockB))))
data BlockConfig BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type BlockProtocol BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data CodecConfig BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data Header BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data StorageConfig BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type CannotForge BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type ForgeStateInfo BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type ForgeStateUpdateError BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data NestedCtxt_ BlockB f a Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data NestedCtxt_ BlockB f a where
type TentativeHeaderState BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type TentativeHeaderView BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type PartialLedgerConfig BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type OtherHeaderEnvelopeError BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type TipInfo BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data LedgerState BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type LedgerUpdate BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type LedgerWarning BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data BlockQuery BlockB result Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data BlockQuery BlockB result
type ApplyTxErr BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data GenTx BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type TxMeasure BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type BlockNodeToClientVersion BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type BlockNodeToNodeVersion BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type HeaderHash BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (BlockConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (BlockConfig BlockB) = D1 ('MetaData "BlockConfig" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "BCfgB" 'PrefixI 'False) (U1TypeType))
type Rep (CodecConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (CodecConfig BlockB) = D1 ('MetaData "CodecConfig" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "CCfgB" 'PrefixI 'False) (U1TypeType))
type Rep (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (Header BlockB) = D1 ('MetaData "Header" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "HdrB" 'PrefixI 'True) (S1 ('MetaSel ('Just "hdrB_fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HeaderFields BlockB)) :*: S1 ('MetaSel ('Just "hdrB_prev") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ChainHash BlockB))))
type Rep (StorageConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (StorageConfig BlockB) = D1 ('MetaData "StorageConfig" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "SCfgB" 'PrefixI 'False) (U1TypeType))
type Rep (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (Validated (GenTx BlockB)) = D1 ('MetaData "Validated" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (V1TypeType)
type Rep (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (LedgerState BlockB) = D1 ('MetaData "LedgerState" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "LgrB" 'PrefixI 'True) (S1 ('MetaSel ('Just "lgrB_tip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point BlockB))))
type Rep (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (GenTx BlockB) = D1 ('MetaData "GenTx" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (V1TypeType)
type Rep (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (TxId (GenTx BlockB)) = D1 ('MetaData "TxId" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (V1TypeType)
data Validated (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type AuxLedgerEvent (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type LedgerCfg (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type LedgerErr (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data TxId (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

newtype Ticked (LedgerState BlockB) Source #

Ticking has no state on the B ledger state

Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type TrivialIndex (NestedCtxt_ BlockB f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type HardForkTxMeasure '[BlockA, BlockB] Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator

data ProtocolB Source #

Instances

Instances details
HasPartialConsensusConfig ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ConsensusProtocol ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (ConsensusConfig ProtocolB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type PartialConsensusConfig ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type CanBeLeader ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type ChainDepState ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data ConsensusConfig ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type IsLeader ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type LedgerView ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type SelectView ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type ValidateView ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type ValidationErr ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

safeZoneBSecurityParamSafeZone Source #

A basic SafeZone

The mock B ledger has no transactions and so can't end and so needs no safezone. However, we give it a default one anyway, since that makes the test more realistic.

Type family instances

data family BlockConfig blk Source #

Static configuration required to work with this type of blocks

Instances

Instances details
Generic (BlockConfig (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Associated Types

type Rep (BlockConfig (TestBlockWith ptype)) ∷ TypeType #

Methods

fromBlockConfig (TestBlockWith ptype) → Rep (BlockConfig (TestBlockWith ptype)) x #

toRep (BlockConfig (TestBlockWith ptype)) x → BlockConfig (TestBlockWith ptype) #

Generic (BlockConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (BlockConfig BlockA) ∷ TypeType #

Generic (BlockConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (BlockConfig BlockB) ∷ TypeType #

Show (BlockConfig (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

CanHardFork xs ⇒ NoThunks (BlockConfig (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

NoThunks (BlockConfig (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

NoThunks (BlockConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (BlockConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data BlockConfig BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data BlockConfig BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (BlockConfig (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

type Rep (BlockConfig (TestBlockWith ptype)) = D1 ('MetaData "BlockConfig" "Test.Util.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-unstable-consensus-testlib" 'False) (C1 ('MetaCons "TestBlockConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "testBlockNumCoreNodes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NumCoreNodes)))
type Rep (BlockConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (BlockConfig BlockA) = D1 ('MetaData "BlockConfig" "Test.Consensus.HardFork.Combinator.A" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "BCfgA" 'PrefixI 'False) (U1TypeType))
type Rep (BlockConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (BlockConfig BlockB) = D1 ('MetaData "BlockConfig" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "BCfgB" 'PrefixI 'False) (U1TypeType))
newtype BlockConfig (DisableDiffusionPipelining blk) 
Instance details

Defined in Ouroboros.Consensus.Block.SupportsDiffusionPipelining

newtype BlockConfig (SelectViewDiffusionPipelining blk) 
Instance details

Defined in Ouroboros.Consensus.Block.SupportsDiffusionPipelining

newtype BlockConfig (HardForkBlock xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

data BlockConfig (TestBlockWith ptype) 
Instance details

Defined in Test.Util.TestBlock

data family CodecConfig blk Source #

Static configuration required for serialisation and deserialisation of types pertaining to this type of block.

Data family instead of type family to get better type inference.

Instances

Instances details
Generic (CodecConfig TestBlock) 
Instance details

Defined in Test.Util.TestBlock

Associated Types

type Rep (CodecConfig TestBlock) ∷ TypeType #

Generic (CodecConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (CodecConfig BlockA) ∷ TypeType #

Generic (CodecConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (CodecConfig BlockB) ∷ TypeType #

Show (CodecConfig TestBlock) 
Instance details

Defined in Test.Util.TestBlock

CanHardFork xs ⇒ NoThunks (CodecConfig (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

NoThunks (CodecConfig TestBlock) 
Instance details

Defined in Test.Util.TestBlock

NoThunks (CodecConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (CodecConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data CodecConfig TestBlock

The TestBlock does not need any codec config

Instance details

Defined in Test.Util.TestBlock

data CodecConfig BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data CodecConfig BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (CodecConfig TestBlock) 
Instance details

Defined in Test.Util.TestBlock

type Rep (CodecConfig TestBlock) = D1 ('MetaData "CodecConfig" "Test.Util.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-unstable-consensus-testlib" 'False) (C1 ('MetaCons "TestBlockCodecConfig" 'PrefixI 'False) (U1TypeType))
type Rep (CodecConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (CodecConfig BlockA) = D1 ('MetaData "CodecConfig" "Test.Consensus.HardFork.Combinator.A" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "CCfgA" 'PrefixI 'False) (U1TypeType))
type Rep (CodecConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (CodecConfig BlockB) = D1 ('MetaData "CodecConfig" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "CCfgB" 'PrefixI 'False) (U1TypeType))
newtype CodecConfig (HardForkBlock xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

data family ConsensusConfig p Source #

Static configuration required to run the consensus protocol

Every method in the ConsensusProtocol class takes the consensus configuration as a parameter, so having this as a data family rather than a type family resolves most ambiguity.

Defined out of the class so that protocols can define this type without having to define the entire protocol at the same time (or indeed in the same module).

Instances

Instances details
Generic (ConsensusConfig (HardForkProtocol xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

Associated Types

type Rep (ConsensusConfig (HardForkProtocol xs)) ∷ TypeType #

Generic (ConsensusConfig (Bft c)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

Associated Types

type Rep (ConsensusConfig (Bft c)) ∷ TypeType #

Methods

fromConsensusConfig (Bft c) → Rep (ConsensusConfig (Bft c)) x #

toRep (ConsensusConfig (Bft c)) x → ConsensusConfig (Bft c) #

CanHardFork xs ⇒ NoThunks (ConsensusConfig (HardForkProtocol xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

BftCrypto c ⇒ NoThunks (ConsensusConfig (Bft c)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

NoThunks (ConsensusConfig ProtocolA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (ConsensusConfig ProtocolB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data ConsensusConfig ProtocolA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data ConsensusConfig ProtocolB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (ConsensusConfig (HardForkProtocol xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

type Rep (ConsensusConfig (HardForkProtocol xs)) = D1 ('MetaData "ConsensusConfig" "Ouroboros.Consensus.HardFork.Combinator.Basics" "ouroboros-consensus-0.21.0.0-inplace" 'False) (C1 ('MetaCons "HardForkConsensusConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "hardForkConsensusConfigK") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SecurityParam) :*: (S1 ('MetaSel ('Just "hardForkConsensusConfigShape") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Shape xs)) :*: S1 ('MetaSel ('Just "hardForkConsensusConfigPerEra") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PerEraConsensusConfig xs)))))
type Rep (ConsensusConfig (Bft c)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

type Rep (ConsensusConfig (Bft c)) = D1 ('MetaData "ConsensusConfig" "Ouroboros.Consensus.Protocol.BFT" "ouroboros-consensus-0.21.0.0-inplace" 'False) (C1 ('MetaCons "BftConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "bftParams") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BftParams) :*: (S1 ('MetaSel ('Just "bftSignKey") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (SignKeyDSIGN (BftDSIGN c))) :*: S1 ('MetaSel ('Just "bftVerKeys") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map NodeId (VerKeyDSIGN (BftDSIGN c)))))))
data ConsensusConfig (HardForkProtocol xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

data ConsensusConfig (Bft c)

(Static) node configuration

Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

data family GenTx blk Source #

Generalized transaction

The mempool (and, accordingly, blocks) consist of "generalized transactions"; this could be "proper" transactions (transferring funds) but also other kinds of things such as update proposals, delegations, etc.

Instances

Instances details
SerialiseNodeToClient BlockA (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

SerialiseNodeToClient BlockA (GenTxId BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

SerialiseNodeToClient BlockB (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToClient BlockB (GenTxId BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockA (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

SerialiseNodeToNode BlockA (GenTxId BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

SerialiseNodeToNode BlockB (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockB (GenTxId BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Generic (Validated (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (Validated (GenTx BlockA)) ∷ TypeType #

Generic (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (Validated (GenTx BlockB)) ∷ TypeType #

Generic (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (GenTx BlockA) ∷ TypeType #

Methods

fromGenTx BlockARep (GenTx BlockA) x #

toRep (GenTx BlockA) x → GenTx BlockA #

Generic (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (GenTx BlockB) ∷ TypeType #

Methods

fromGenTx BlockBRep (GenTx BlockB) x #

toRep (GenTx BlockB) x → GenTx BlockB #

Generic (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (TxId (GenTx BlockA)) ∷ TypeType #

Methods

fromTxId (GenTx BlockA) → Rep (TxId (GenTx BlockA)) x #

toRep (TxId (GenTx BlockA)) x → TxId (GenTx BlockA) #

Generic (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (TxId (GenTx BlockB)) ∷ TypeType #

Methods

fromTxId (GenTx BlockB) → Rep (TxId (GenTx BlockB)) x #

toRep (TxId (GenTx BlockB)) x → TxId (GenTx BlockB) #

Show (Validated (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Show (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Show (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Show (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Show (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Methods

showsPrecIntTxId (GenTx BlockA) → ShowS #

showTxId (GenTx BlockA) → String #

showList ∷ [TxId (GenTx BlockA)] → ShowS #

Show (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

showsPrecIntTxId (GenTx BlockB) → ShowS #

showTxId (GenTx BlockB) → String #

showList ∷ [TxId (GenTx BlockB)] → ShowS #

Eq (Validated (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Eq (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Eq (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Methods

(==)GenTx BlockAGenTx BlockABool #

(/=)GenTx BlockAGenTx BlockABool #

Eq (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

(==)GenTx BlockBGenTx BlockBBool #

(/=)GenTx BlockBGenTx BlockBBool #

Eq (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Methods

(==)TxId (GenTx BlockA) → TxId (GenTx BlockA) → Bool #

(/=)TxId (GenTx BlockA) → TxId (GenTx BlockA) → Bool #

Eq (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

(==)TxId (GenTx BlockB) → TxId (GenTx BlockB) → Bool #

(/=)TxId (GenTx BlockB) → TxId (GenTx BlockB) → Bool #

Ord (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Ord (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (Validated (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ConvertRawTxId (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

ConvertRawTxId (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

HasTxId (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

HasTxId (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Condense (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Condense (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Condense (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Condense (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Serialise (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Serialise (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data GenTx BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data GenTx BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (Validated (GenTx (HardForkBlock xs))) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep (Validated (GenTx (HardForkBlock xs))) = D1 ('MetaData "Validated" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.21.0.0-inplace" 'True) (C1 ('MetaCons "HardForkValidatedGenTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "getHardForkValidatedGenTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (OneEraValidatedGenTx xs))))
type Rep (Validated (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (Validated (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (Validated (GenTx BlockB)) = D1 ('MetaData "Validated" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (V1TypeType)
type Rep (GenTx (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep (GenTx (HardForkBlock xs)) = D1 ('MetaData "GenTx" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.21.0.0-inplace" 'True) (C1 ('MetaCons "HardForkGenTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "getHardForkGenTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (OneEraGenTx xs))))
type Rep (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (GenTx BlockA) = D1 ('MetaData "GenTx" "Test.Consensus.HardFork.Combinator.A" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "TxA" 'PrefixI 'True) (S1 ('MetaSel ('Just "txA_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TxId (GenTx BlockA))) :*: S1 ('MetaSel ('Just "txA_payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxPayloadA)))
type Rep (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (GenTx BlockB) = D1 ('MetaData "GenTx" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (V1TypeType)
type Rep (TxId (GenTx (HardForkBlock xs))) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep (TxId (GenTx (HardForkBlock xs))) = D1 ('MetaData "TxId" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.21.0.0-inplace" 'True) (C1 ('MetaCons "HardForkGenTxId" 'PrefixI 'True) (S1 ('MetaSel ('Just "getHardForkGenTxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (OneEraGenTxId xs))))
type Rep (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (TxId (GenTx BlockA)) = D1 ('MetaData "TxId" "Test.Consensus.HardFork.Combinator.A" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'True) (C1 ('MetaCons "TxIdA" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
type Rep (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (TxId (GenTx BlockB)) = D1 ('MetaData "TxId" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (V1TypeType)
newtype Validated (GenTx (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

newtype Validated (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data Validated (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

newtype GenTx (HardForkBlock xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

newtype TxId (GenTx (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

newtype TxId (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

newtype TxId (GenTx BlockA) = TxIdA Int
data TxId (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data family Header blk Source #

Instances

Instances details
HasNestedContent Header BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

HasNestedContent Header BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ReconstructNestedCtxt Header BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

ReconstructNestedCtxt Header BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockA (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

SerialiseNodeToNode BlockB (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDisk BlockA (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

EncodeDisk BlockB (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

ReconstructNestedCtxt Header (TestBlockWith ptype) 
Instance details

Defined in Test.Util.TestBlock

HasHeader blk ⇒ StandardHash (Header blk ∷ Type) 
Instance details

Defined in Ouroboros.Consensus.Block.Abstract

Typeable ptype ⇒ ShowProxy (Header (TestBlockWith ptype) ∷ Type) 
Instance details

Defined in Test.Util.TestBlock

Methods

showProxyProxy (Header (TestBlockWith ptype)) → String Source #

DecodeDisk BlockA (ByteStringHeader BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

DecodeDisk BlockB (ByteStringHeader BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Generic (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (Header BlockA) ∷ TypeType #

Methods

fromHeader BlockARep (Header BlockA) x #

toRep (Header BlockA) x → Header BlockA #

Generic (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (Header BlockB) ∷ TypeType #

Methods

fromHeader BlockBRep (Header BlockB) x #

toRep (Header BlockB) x → Header BlockB #

Show ptype ⇒ Show (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Methods

showsPrecIntHeader (TestBlockWith ptype) → ShowS #

showHeader (TestBlockWith ptype) → String #

showList ∷ [Header (TestBlockWith ptype)] → ShowS #

Show (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Show (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Eq ptype ⇒ Eq (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Methods

(==)Header (TestBlockWith ptype) → Header (TestBlockWith ptype) → Bool #

(/=)Header (TestBlockWith ptype) → Header (TestBlockWith ptype) → Bool #

Eq (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Eq (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks ptype ⇒ NoThunks (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

NoThunks (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SignedHeader (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

(Typeable ptype, Eq ptype) ⇒ Condense (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Methods

condenseHeader (TestBlockWith ptype) → String Source #

Condense (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Condense (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

(Typeable ptype, Eq ptype) ⇒ HasHeader (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

HasHeader (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

HasHeader (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise ptype ⇒ Serialise (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Serialise (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Serialise (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDiskDep (NestedCtxt Header) BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

DecodeDiskDep (NestedCtxt Header) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

DecodeDiskDepIx (NestedCtxt Header) BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

DecodeDiskDepIx (NestedCtxt Header) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDiskDep (NestedCtxt Header) BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

EncodeDiskDep (NestedCtxt Header) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDiskDepIx (NestedCtxt Header) BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

EncodeDiskDepIx (NestedCtxt Header) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise ptype ⇒ DecodeDiskDep (NestedCtxt Header) (TestBlockWith ptype) 
Instance details

Defined in Test.Util.TestBlock

Methods

decodeDiskDepCodecConfig (TestBlockWith ptype) → NestedCtxt Header (TestBlockWith ptype) a → ∀ s. Decoder s (ByteString → a) Source #

Serialise ptype ⇒ EncodeDisk (TestBlockWith ptype) (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Serialise ptype ⇒ EncodeDiskDep (NestedCtxt Header) (TestBlockWith ptype) 
Instance details

Defined in Test.Util.TestBlock

Serialise ptype ⇒ DecodeDisk (TestBlockWith ptype) (ByteStringHeader (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Methods

decodeDiskCodecConfig (TestBlockWith ptype) → ∀ s. Decoder s (ByteStringHeader (TestBlockWith ptype)) Source #

data Header BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data Header BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type HeaderHash (Header blk ∷ Type) 
Instance details

Defined in Ouroboros.Consensus.Block.Abstract

type HeaderHash (Header blk ∷ Type) = HeaderHash blk
type Rep (Header BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (Header BlockA) = D1 ('MetaData "Header" "Test.Consensus.HardFork.Combinator.A" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "HdrA" 'PrefixI 'True) (S1 ('MetaSel ('Just "hdrA_fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HeaderFields BlockA)) :*: S1 ('MetaSel ('Just "hdrA_prev") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ChainHash BlockA))))
type Rep (Header BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (Header BlockB) = D1 ('MetaData "Header" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "HdrB" 'PrefixI 'True) (S1 ('MetaSel ('Just "hdrB_fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HeaderFields BlockB)) :*: S1 ('MetaSel ('Just "hdrB_prev") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ChainHash BlockB))))
type BlockProtocol (Header blk) 
Instance details

Defined in Ouroboros.Consensus.Block.Abstract

newtype Header (DisableDiffusionPipelining blk) 
Instance details

Defined in Ouroboros.Consensus.Block.SupportsDiffusionPipelining

newtype Header (SelectViewDiffusionPipelining blk) 
Instance details

Defined in Ouroboros.Consensus.Block.SupportsDiffusionPipelining

newtype Header (HardForkBlock xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Block

newtype Header (TestBlockWith ptype) 
Instance details

Defined in Test.Util.TestBlock

type Signed (Header (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

type Signed (Header (TestBlockWith ptype)) = ()

data family LedgerState blk Source #

Ledger state associated with a block

This is the Consensus notion of a ledger state. Each block type is associated with one of the Ledger types for the ledger state. Virtually every concept in this codebase revolves around this type, or the referenced blk. Whenever we use the type variable l, we intend to denote that the expected instantiation is either a LedgerState or some wrapper over it (like the ExtLedgerState).

The main operations we can do with a LedgerState are ticking (defined in IsLedger), and applying a block (defined in ApplyBlock).

Instances

Instances details
DecodeDisk BlockA (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

DecodeDisk BlockB (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

EncodeDisk BlockA (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

EncodeDisk BlockB (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Generic (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Associated Types

type Rep (LedgerState (TestBlockWith ptype)) ∷ TypeType #

Methods

fromLedgerState (TestBlockWith ptype) → Rep (LedgerState (TestBlockWith ptype)) x #

toRep (LedgerState (TestBlockWith ptype)) x → LedgerState (TestBlockWith ptype) #

Generic (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (LedgerState BlockA) ∷ TypeType #

Generic (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (LedgerState BlockB) ∷ TypeType #

Generic (Ticked (LedgerState (TestBlockWith ptype))) 
Instance details

Defined in Test.Util.TestBlock

Associated Types

type Rep (Ticked (LedgerState (TestBlockWith ptype))) ∷ TypeType #

CanHardFork xs ⇒ Show (LedgerState (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

PayloadSemantics ptype ⇒ Show (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Show (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Show (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

PayloadSemantics ptype ⇒ Show (Ticked (LedgerState (TestBlockWith ptype))) 
Instance details

Defined in Test.Util.TestBlock

CanHardFork xs ⇒ Eq (LedgerState (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

PayloadSemantics ptype ⇒ Eq (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Eq (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Eq (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

PayloadSemantics ptype ⇒ Eq (Ticked (LedgerState (TestBlockWith ptype))) 
Instance details

Defined in Test.Util.TestBlock

CanHardFork xs ⇒ NoThunks (LedgerState (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

PayloadSemantics ptype ⇒ NoThunks (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

NoThunks (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

PayloadSemantics ptype ⇒ NoThunks (Ticked (LedgerState (TestBlockWith ptype))) 
Instance details

Defined in Test.Util.TestBlock

NoThunks (Ticked (LedgerState BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (Ticked (LedgerState BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

GetTip (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

GetTip (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

GetTip (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

GetTip (Ticked (LedgerState (TestBlockWith ptype))) 
Instance details

Defined in Test.Util.TestBlock

GetTip (Ticked (LedgerState BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

GetTip (Ticked (LedgerState BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

PayloadSemantics ptype ⇒ IsLedger (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

IsLedger (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

IsLedger (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

PayloadSemantics ptype ⇒ Serialise (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Serialise (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Serialise (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

PayloadSemantics ptype ⇒ ToExpr (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

PayloadSemantics ptype ⇒ ToExpr (Ticked (LedgerState (TestBlockWith ptype))) 
Instance details

Defined in Test.Util.TestBlock

ApplyBlock (LedgerState BlockA) BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

ApplyBlock (LedgerState BlockB) BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

PayloadSemantics ptype ⇒ ApplyBlock (LedgerState (TestBlockWith ptype)) (TestBlockWith ptype) 
Instance details

Defined in Test.Util.TestBlock

PayloadSemantics ptype ⇒ DecodeDisk (TestBlockWith ptype) (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

Methods

decodeDiskCodecConfig (TestBlockWith ptype) → ∀ s. Decoder s (LedgerState (TestBlockWith ptype)) Source #

PayloadSemantics ptype ⇒ EncodeDisk (TestBlockWith ptype) (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

data LedgerState BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data LedgerState BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type HeaderHash (LedgerState blk ∷ Type) 
Instance details

Defined in Ouroboros.Consensus.Ledger.Basics

type HeaderHash (LedgerState blk ∷ Type) = HeaderHash blk
type Rep (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

type Rep (LedgerState (TestBlockWith ptype)) = D1 ('MetaData "LedgerState" "Test.Util.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-unstable-consensus-testlib" 'False) (C1 ('MetaCons "TestLedger" 'PrefixI 'True) (S1 ('MetaSel ('Just "lastAppliedPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point (TestBlockWith ptype))) :*: S1 ('MetaSel ('Just "payloadDependentState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PayloadDependentState ptype))))
type Rep (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (LedgerState BlockA) = D1 ('MetaData "LedgerState" "Test.Consensus.HardFork.Combinator.A" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "LgrA" 'PrefixI 'True) (S1 ('MetaSel ('Just "lgrA_tip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point BlockA)) :*: S1 ('MetaSel ('Just "lgrA_transition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe SlotNo))))
type Rep (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (LedgerState BlockB) = D1 ('MetaData "LedgerState" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "LgrB" 'PrefixI 'True) (S1 ('MetaSel ('Just "lgrB_tip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point BlockB))))
type Rep (Ticked (LedgerState (HardForkBlock xs))) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger

type Rep (Ticked (LedgerState (HardForkBlock xs))) = D1 ('MetaData "Ticked" "Ouroboros.Consensus.HardFork.Combinator.Ledger" "ouroboros-consensus-0.21.0.0-inplace" 'False) (C1 ('MetaCons "TickedHardForkLedgerState" 'PrefixI 'True) (S1 ('MetaSel ('Just "tickedHardForkLedgerStateTransition") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 TransitionInfo) :*: S1 ('MetaSel ('Just "tickedHardForkLedgerStatePerEra") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HardForkState (Ticked :.: LedgerState) xs))))
type Rep (Ticked (LedgerState (TestBlockWith ptype))) 
Instance details

Defined in Test.Util.TestBlock

type Rep (Ticked (LedgerState (TestBlockWith ptype))) = D1 ('MetaData "Ticked" "Test.Util.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-unstable-consensus-testlib" 'True) (C1 ('MetaCons "TickedTestLedger" 'PrefixI 'True) (S1 ('MetaSel ('Just "getTickedTestLedger") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (LedgerState (TestBlockWith ptype)))))
type AuxLedgerEvent (LedgerState (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger

type AuxLedgerEvent (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

type AuxLedgerEvent (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type AuxLedgerEvent (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type LedgerCfg (LedgerState (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

type LedgerCfg (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

type LedgerCfg (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type LedgerCfg (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type LedgerErr (LedgerState (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger

type LedgerErr (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

type LedgerErr (LedgerState BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type LedgerErr (LedgerState BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

newtype LedgerState (HardForkBlock xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

data LedgerState (TestBlockWith ptype) 
Instance details

Defined in Test.Util.TestBlock

data Ticked (LedgerState (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger

newtype Ticked (LedgerState (TestBlockWith ptype)) 
Instance details

Defined in Test.Util.TestBlock

newtype Ticked (LedgerState BlockA) Source #

Ticking has no state on the A ledger state

Instance details

Defined in Test.Consensus.HardFork.Combinator.A

newtype Ticked (LedgerState BlockB) Source #

Ticking has no state on the B ledger state

Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data family NestedCtxt_ blk ∷ (TypeType) → TypeType Source #

Context identifying what kind of block we have

In almost all places we will use NestedCtxt rather than NestedCtxt_.

Instances

Instances details
SameDepIndex (NestedCtxt_ (TestBlockWith ptype) f) 
Instance details

Defined in Test.Util.TestBlock

Methods

sameDepIndexNestedCtxt_ (TestBlockWith ptype) f a → NestedCtxt_ (TestBlockWith ptype) f b → Maybe (a :~: b) Source #

SameDepIndex (NestedCtxt_ BlockA f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Methods

sameDepIndexNestedCtxt_ BlockA f a → NestedCtxt_ BlockA f b → Maybe (a :~: b) Source #

SameDepIndex (NestedCtxt_ BlockB f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

sameDepIndexNestedCtxt_ BlockB f a → NestedCtxt_ BlockB f b → Maybe (a :~: b) Source #

TrivialDependency (NestedCtxt_ (TestBlockWith ptype) f) 
Instance details

Defined in Test.Util.TestBlock

Associated Types

type TrivialIndex (NestedCtxt_ (TestBlockWith ptype) f) Source #

TrivialDependency (NestedCtxt_ BlockA f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type TrivialIndex (NestedCtxt_ BlockA f) Source #

TrivialDependency (NestedCtxt_ BlockB f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type TrivialIndex (NestedCtxt_ BlockB f) Source #

Show (NestedCtxt_ (TestBlockWith ptype) f a) 
Instance details

Defined in Test.Util.TestBlock

Methods

showsPrecIntNestedCtxt_ (TestBlockWith ptype) f a → ShowS #

showNestedCtxt_ (TestBlockWith ptype) f a → String #

showList ∷ [NestedCtxt_ (TestBlockWith ptype) f a] → ShowS #

Show (NestedCtxt_ BlockA f a) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Show (NestedCtxt_ BlockB f a) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data NestedCtxt_ BlockA f a Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data NestedCtxt_ BlockA f a where
data NestedCtxt_ BlockB f a Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data NestedCtxt_ BlockB f a where
data NestedCtxt_ (HardForkBlock xs) a b 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Block

data NestedCtxt_ (HardForkBlock xs) a b where
data NestedCtxt_ (TestBlockWith ptype) f a 
Instance details

Defined in Test.Util.TestBlock

data NestedCtxt_ (TestBlockWith ptype) f a where
type TrivialIndex (NestedCtxt_ (TestBlockWith ptype) f) 
Instance details

Defined in Test.Util.TestBlock

type TrivialIndex (NestedCtxt_ BlockA f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type TrivialIndex (NestedCtxt_ BlockB f) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data family StorageConfig blk Source #

Config needed for the NodeInitStorage class. Defined here to avoid circular dependencies.

Instances

Instances details
Generic (StorageConfig TestBlock) 
Instance details

Defined in Test.Util.TestBlock

Associated Types

type Rep (StorageConfig TestBlock) ∷ TypeType #

Generic (StorageConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (StorageConfig BlockA) ∷ TypeType #

Generic (StorageConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (StorageConfig BlockB) ∷ TypeType #

Show (StorageConfig TestBlock) 
Instance details

Defined in Test.Util.TestBlock

CanHardFork xs ⇒ NoThunks (StorageConfig (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

NoThunks (StorageConfig TestBlock) 
Instance details

Defined in Test.Util.TestBlock

NoThunks (StorageConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (StorageConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

data StorageConfig TestBlock

The TestBlock does not need any storage config

Instance details

Defined in Test.Util.TestBlock

data StorageConfig BlockA Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

data StorageConfig BlockB Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (StorageConfig TestBlock) 
Instance details

Defined in Test.Util.TestBlock

type Rep (StorageConfig TestBlock) = D1 ('MetaData "StorageConfig" "Test.Util.TestBlock" "ouroboros-consensus-0.21.0.0-inplace-unstable-consensus-testlib" 'False) (C1 ('MetaCons "TestBlockStorageConfig" 'PrefixI 'False) (U1TypeType))
type Rep (StorageConfig BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (StorageConfig BlockA) = D1 ('MetaData "StorageConfig" "Test.Consensus.HardFork.Combinator.A" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "SCfgA" 'PrefixI 'False) (U1TypeType))
type Rep (StorageConfig BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (StorageConfig BlockB) = D1 ('MetaData "StorageConfig" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (C1 ('MetaCons "SCfgB" 'PrefixI 'False) (U1TypeType))
newtype StorageConfig (HardForkBlock xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

data family TxId tx Source #

A generalized transaction, GenTx, identifier.

Instances

Instances details
SerialiseNodeToClient BlockA (GenTxId BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

SerialiseNodeToClient BlockB (GenTxId BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

SerialiseNodeToNode BlockA (GenTxId BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

SerialiseNodeToNode BlockB (GenTxId BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Generic (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Associated Types

type Rep (TxId (GenTx BlockA)) ∷ TypeType #

Methods

fromTxId (GenTx BlockA) → Rep (TxId (GenTx BlockA)) x #

toRep (TxId (GenTx BlockA)) x → TxId (GenTx BlockA) #

Generic (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Associated Types

type Rep (TxId (GenTx BlockB)) ∷ TypeType #

Methods

fromTxId (GenTx BlockB) → Rep (TxId (GenTx BlockB)) x #

toRep (TxId (GenTx BlockB)) x → TxId (GenTx BlockB) #

Show (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Methods

showsPrecIntTxId (GenTx BlockA) → ShowS #

showTxId (GenTx BlockA) → String #

showList ∷ [TxId (GenTx BlockA)] → ShowS #

Show (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

showsPrecIntTxId (GenTx BlockB) → ShowS #

showTxId (GenTx BlockB) → String #

showList ∷ [TxId (GenTx BlockB)] → ShowS #

Eq (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Methods

(==)TxId (GenTx BlockA) → TxId (GenTx BlockA) → Bool #

(/=)TxId (GenTx BlockA) → TxId (GenTx BlockA) → Bool #

Eq (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Methods

(==)TxId (GenTx BlockB) → TxId (GenTx BlockB) → Bool #

(/=)TxId (GenTx BlockB) → TxId (GenTx BlockB) → Bool #

Ord (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Ord (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

NoThunks (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

NoThunks (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Condense (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Condense (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

Serialise (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

Serialise (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (TxId (GenTx (HardForkBlock xs))) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

type Rep (TxId (GenTx (HardForkBlock xs))) = D1 ('MetaData "TxId" "Ouroboros.Consensus.HardFork.Combinator.Mempool" "ouroboros-consensus-0.21.0.0-inplace" 'True) (C1 ('MetaCons "HardForkGenTxId" 'PrefixI 'True) (S1 ('MetaSel ('Just "getHardForkGenTxId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (OneEraGenTxId xs))))
type Rep (TxId (GenTx BlockA)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

type Rep (TxId (GenTx BlockA)) = D1 ('MetaData "TxId" "Test.Consensus.HardFork.Combinator.A" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'True) (C1 ('MetaCons "TxIdA" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
type Rep (TxId (GenTx BlockB)) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B

type Rep (TxId (GenTx BlockB)) = D1 ('MetaData "TxId" "Test.Consensus.HardFork.Combinator.B" "ouroboros-consensus-diffusion-0.18.0.0-inplace-consensus-test" 'False) (V1TypeType)
newtype TxId (GenTx (HardForkBlock xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

newtype TxId (GenTx BlockA) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.A

newtype TxId (GenTx BlockA) = TxIdA Int
data TxId (GenTx BlockB) Source # 
Instance details

Defined in Test.Consensus.HardFork.Combinator.B