(Typeable era, Typeable proto) ⇒ ShowProxy (Header (ShelleyBlock proto era) ∷ Type) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
(Typeable era, Typeable proto) ⇒ ShowProxy (Validated (GenTx (ShelleyBlock proto era)) ∷ Type) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
(Typeable era, Typeable proto) ⇒ ShowProxy (GenTx (ShelleyBlock proto era) ∷ Type) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
(Typeable era, Typeable proto) ⇒ ShowProxy (TxId (GenTx (ShelleyBlock proto era)) ∷ Type) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
HasNestedContent f (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyBasedEra era ⇒ ReconstructNestedCtxt Header (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ StandardHash (ShelleyBlock proto era ∷ Type) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
(Typeable era, Typeable proto) ⇒ ShowProxy (ShelleyBlock proto era ∷ Type) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
(ShelleyBasedEra era, TranslateEra era (ShelleyTip proto), TranslateEra era NewEpochState, TranslationError era NewEpochState ~ Void) ⇒ TranslateEra era (LedgerState :.: ShelleyBlock proto) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
(ShelleyBasedEra era, TranslateEra era WrapTx) ⇒ TranslateEra era (GenTx :.: ShelleyBlock proto) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
(ShelleyBasedEra era, TranslateEra era WrapTx) ⇒ TranslateEra era (WrapValidatedGenTx :.: ShelleyBlock proto) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
Generic (BlockConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
Generic (CodecConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
Generic (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
Generic (StorageConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
Generic (Validated (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
Generic (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
Generic (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
Generic (Ticked (LedgerState (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyBasedEra era ⇒ Show (BlockConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
ShelleyCompatible proto era ⇒ Show (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyBasedEra era ⇒ Show (Validated (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyBasedEra era ⇒ Show (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyBasedEra era ⇒ Show (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
Show (GenTxId (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible proto era ⇒ FromCBOR (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible proto era ⇒ ToCBOR (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible proto era ⇒ DecCBOR (Annotator (Header (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyCompatible proto era ⇒ DecCBOR (Annotator (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
(Crypto (EraCrypto era), Typeable era, Typeable proto) ⇒ DecCBOR (TxId (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible proto era ⇒ EncCBOR (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
(Crypto (EraCrypto era), Typeable era, Typeable proto) ⇒ EncCBOR (TxId (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible proto era ⇒ Eq (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyBasedEra era ⇒ Eq (Validated (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyBasedEra era ⇒ Eq (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyBasedEra era ⇒ Eq (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
Eq (TxId (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
Ord (TxId (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyBasedEra era ⇒ NoThunks (BlockConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
NoThunks (CodecConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
ShelleyCompatible proto era ⇒ NoThunks (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
NoThunks (StorageConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
ShelleyBasedEra era ⇒ NoThunks (Validated (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyBasedEra era ⇒ NoThunks (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyBasedEra era ⇒ NoThunks (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
NoThunks (TxId (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyBasedEra era ⇒ NoThunks (Ticked (LedgerState (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
CardanoHardForkConstraints c ⇒ CanHardFork (CardanoEras c) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.CanHardFork |
CardanoHardForkConstraints c ⇒ CondenseConstraints (CardanoBlock c) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Condense |
CardanoHardForkConstraints c ⇒ SerialiseHFC (CardanoEras c) Source # | Important: we need to maintain binary compatibility with Byron blocks, as
they are already stored on disk. We also want to be able to efficiently detect (without having to peek far
ahead) whether we're dealing with a Byron or Shelley block, so that we can
invoke the right decoder. We plan to have a few more hard forks after
Shelley (Goguen, Basho, Voltaire), so we want a future-proof envelope for
distinguishing the different block types, i.e., a byte indicating the era. Byron does not provide such an envelope. However, a Byron block is a CBOR
2-tuple with the first element being a tag (Word : 0 = EBB; 1 = regular
block) and the second being the payload. We can easily extend this encoding
format with support for Shelley, Goguen, etc. We encode a CardanoBlock as the same CBOR 2-tuple as a Byron block, but
we use the tags after 1 for the hard forks after Byron: - Byron EBB
- Byron regular block
- Shelley block
- Allegra block
- Mary block
- Goguen block
- etc.
For more details, see:
https://github.com/IntersectMBO/ouroboros-network/pull/1175#issuecomment-558147194 |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Node |
GetTip (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
GetTip (Ticked (LedgerState (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyBasedEra era ⇒ IsLedger (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyBasedEra era ⇒ ConvertRawTxId (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyBasedEra era ⇒ HasTxId (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
CardanoHardForkConstraints c ⇒ SupportedNetworkProtocolVersion (CardanoBlock c) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Node |
SignedHeader (ShelleyProtocolHeader proto) ⇒ SignedHeader (Header (ShelleyBlock proto era)) Source # | |
|
ShelleyCompatible proto era ⇒ Condense (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyBasedEra era ⇒ Condense (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
Condense (GenTxId (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
SameDepIndex (BlockQuery (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Query |
ShelleyCompatible proto era ⇒ HasHeader (Header (ShelleyBlock proto era)) Source # | |
|
ShelleyCompatible proto era ⇒ ShowQuery (BlockQuery (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Query |
ShelleyCompatible proto era ⇒ ApplyBlock (LedgerState (ShelleyBlock proto era)) (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyCompatible proto era ⇒ DecodeDiskDep (NestedCtxt Header) (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyBasedEra era ⇒ DecodeDiskDepIx (NestedCtxt Header) (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ EncodeDiskDep (NestedCtxt Header) (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyBasedEra era ⇒ EncodeDiskDepIx (NestedCtxt Header) (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
Show (BlockQuery (ShelleyBlock proto era) result) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Query |
ShelleyCompatible proto era ⇒ Show (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyCompatible proto era ⇒ EncCBOR (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
Eq (BlockQuery (ShelleyBlock proto era) result) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Query |
ShelleyCompatible proto era ⇒ Eq (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyCompatible proto era ⇒ ConvertRawHash (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyCompatible proto era ⇒ GetHeader (ShelleyBlock proto era) Source # | |
|
ShelleyCompatible proto era ⇒ GetPrevHash (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
(ShelleyCompatible proto era, BlockSupportsProtocol (ShelleyBlock proto era)) ⇒ BlockSupportsDiffusionPipelining (ShelleyBlock proto era) Source # | A header can be pipelined iff no trap header with the same block number and
by the same issuer was pipelined before. See HotIdentity for what exactly
we use for the issuer identity. |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.DiffusionPipelining |
ShelleyCompatible proto era ⇒ BlockSupportsMetrics (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node |
ShelleyCompatible proto era ⇒ BlockSupportsProtocol (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Protocol |
ConsensusProtocol proto ⇒ BlockSupportsSanityCheck (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node |
ConfigSupportsNode (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Common |
HasHardForkHistory (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
(ShelleyCompatible proto era, LedgerSupportsProtocol (ShelleyBlock proto era), TxLimits (ShelleyBlock proto era)) ⇒ NoHardForks (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
(ShelleyCompatible proto era, LedgerSupportsProtocol (ShelleyBlock proto era), TxLimits (ShelleyBlock proto era)) ⇒ SingleEraBlock (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
ShelleyCompatible proto era ⇒ CondenseConstraints (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.Condense |
ShelleyCompatible proto era ⇒ HasPartialLedgerConfig (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
(ShelleyCompatible proto era, LedgerSupportsProtocol (ShelleyBlock proto era), TxLimits (ShelleyBlock proto era)) ⇒ SerialiseConstraintsHFC (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
ShelleyCompatible proto era ⇒ BasicEnvelopeValidation (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyCompatible proto era ⇒ HasAnnTip (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyCompatible proto era ⇒ ValidateEnvelope (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyCompatible proto era ⇒ UpdateLedger (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyCompatible proto era ⇒ CommonProtocolParams (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
ShelleyBasedEra era ⇒ InspectLedger (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Inspect |
(ShelleyCompatible proto era, ProtoCrypto proto ~ crypto) ⇒ BlockSupportsLedgerQuery (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Query |
ShelleyBasedEra era ⇒ HasTxs (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
(ShelleyCompatible proto era, TxLimits (ShelleyBlock proto era)) ⇒ LedgerSupportsMempool (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible p (AllegraEra c) ⇒ TxLimits (ShelleyBlock p (AllegraEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible p (AlonzoEra c) ⇒ TxLimits (ShelleyBlock p (AlonzoEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible p (BabbageEra c) ⇒ TxLimits (ShelleyBlock p (BabbageEra c)) Source # | We anachronistically use ConwayMeasure in Babbage. |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible p (ConwayEra c) ⇒ TxLimits (ShelleyBlock p (ConwayEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible p (MaryEra c) ⇒ TxLimits (ShelleyBlock p (MaryEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
ShelleyCompatible p (ShelleyEra c) ⇒ TxLimits (ShelleyBlock p (ShelleyEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
c ~ EraCrypto era ⇒ LedgerSupportsPeerSelection (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.PeerSelection |
(ShelleyCompatible (Praos crypto) era, ShelleyCompatible (TPraos crypto) era, crypto ~ EraCrypto era, TranslateProto (TPraos crypto) (Praos crypto)) ⇒ LedgerSupportsProtocol (ShelleyBlock (Praos crypto) era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.SupportsProtocol |
(ShelleyCompatible (TPraos crypto) era, crypto ~ EraCrypto era) ⇒ LedgerSupportsProtocol (ShelleyBlock (TPraos crypto) era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.SupportsProtocol |
ShelleyCompatible proto era ⇒ NodeInitStorage (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Common |
HasNetworkProtocolVersion (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.NetworkProtocolVersion |
SupportedNetworkProtocolVersion (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.NetworkProtocolVersion |
(ShelleyCompatible proto era, LedgerSupportsProtocol (ShelleyBlock proto era), TxLimits (ShelleyBlock proto era)) ⇒ SupportedNetworkProtocolVersion (ShelleyBlockHFC proto era) Source # | Forward to the ShelleyBlock instance. Only supports
HardForkNodeToNodeDisabled , which is compatible with nodes running with
ShelleyBlock . |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
(ShelleyCompatible proto era, LedgerSupportsProtocol (ShelleyBlock proto era), BlockSupportsSanityCheck (ShelleyBlock proto era), TxLimits (ShelleyBlock proto era)) ⇒ RunNode (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node |
ShelleyCompatible proto era ⇒ SerialiseNodeToClientConstraints (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseNodeToNodeConstraints (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseDiskConstraints (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ HasBinaryBlockInfo (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ Condense (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
SameDepIndex (NestedCtxt_ (ShelleyBlock proto era) f) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
TrivialDependency (NestedCtxt_ (ShelleyBlock proto era) f) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
(proto ~ BlockProtocol (ShelleyBlock proto era), ShelleyCompatible proto era) ⇒ IsShelleyBlock (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
ShelleyCompatible proto era ⇒ HasHeader (ShelleyBlock proto era) Source # | |
|
ShelleyCompatible proto era ⇒ SerialiseNodeToClient (ShelleyBlock proto era) SlotNo Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyBasedEra era ⇒ SerialiseNodeToClient (ShelleyBlock proto era) (ApplyTxError era) Source # | ApplyTxErr '(ShelleyBlock era)'
|
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseNodeToClient (ShelleyBlock proto era) (GenTx (ShelleyBlock proto era)) Source # | Uses CBOR-in-CBOR in the To/FromCBOR instances to get the annotation. |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseNodeToClient (ShelleyBlock proto era) (GenTxId (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseNodeToNode (ShelleyBlock proto era) (Header (ShelleyBlock proto era)) Source # | CBOR-in-CBOR to be compatible with the wrapped (Serialised ) variant. |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseNodeToNode (ShelleyBlock proto era) (GenTx (ShelleyBlock proto era)) Source # | The To/FromCBOR instances defined in cardano-ledger use
CBOR-in-CBOR to get the annotation. |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseNodeToNode (ShelleyBlock proto era) (GenTxId (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
SerialiseNodeToNode (ShelleyBlock proto era) (SerialisedHeader (ShelleyBlock proto era)) Source # | We use CBOR-in-CBOR |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseResult (ShelleyBlock proto era) (BlockQuery (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ DecodeDisk (ShelleyBlock proto era) (AnnTip (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ DecodeDisk (ShelleyBlock proto era) (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
(ShelleyCompatible proto era, EraCrypto era ~ c, PraosCrypto c) ⇒ DecodeDisk (ShelleyBlock proto era) (PraosState c) Source # | ChainDepState (BlockProtocol (ShelleyBlock era))
|
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
(ShelleyCompatible proto era, EraCrypto era ~ c, PraosCrypto c) ⇒ DecodeDisk (ShelleyBlock proto era) (TPraosState c) Source # | ChainDepState (BlockProtocol (ShelleyBlock era))
|
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ EncodeDisk (ShelleyBlock proto era) (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ EncodeDisk (ShelleyBlock proto era) (AnnTip (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ EncodeDisk (ShelleyBlock proto era) (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
(ShelleyCompatible proto era, EraCrypto era ~ c, PraosCrypto c) ⇒ EncodeDisk (ShelleyBlock proto era) (PraosState c) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
(ShelleyCompatible proto era, EraCrypto era ~ c, PraosCrypto c) ⇒ EncodeDisk (ShelleyBlock proto era) (TPraosState c) Source # | ChainDepState (BlockProtocol (ShelleyBlock era))
|
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
(Typeable era, Typeable proto) ⇒ ShowProxy (BlockQuery (ShelleyBlock proto era) ∷ Type → Type) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Query |
ShelleyCompatible proto era ⇒ SerialiseNodeToClient (ShelleyBlock proto era) (ShelleyBlock proto era) Source # | CBOR-in-CBOR for the annotation. This also makes it compatible with the
wrapped (Serialised ) variant. |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
SerialiseNodeToClient (ShelleyBlock proto era) (Serialised (ShelleyBlock proto era)) Source # | Serialised uses CBOR-in-CBOR by default.
|
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseNodeToNode (ShelleyBlock proto era) (ShelleyBlock proto era) Source # | CBOR-in-CBOR for the annotation. This also makes it compatible with the
wrapped (Serialised ) variant. |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
SerialiseNodeToNode (ShelleyBlock proto era) (Serialised (ShelleyBlock proto era)) Source # | Serialised uses CBOR-in-CBOR by default.
|
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ DecodeDisk (ShelleyBlock proto era) (ByteString → Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ DecodeDisk (ShelleyBlock proto era) (ByteString → ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ EncodeDisk (ShelleyBlock proto era) (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
ShelleyCompatible proto era ⇒ SerialiseNodeToClient (ShelleyBlock proto era) (SomeSecond BlockQuery (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Serialisation |
Show (NestedCtxt_ (ShelleyBlock proto era) f a) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
(ShelleyCompatible proto era, LedgerSupportsProtocol (ShelleyBlock proto era), TxLimits (ShelleyBlock proto era)) ⇒ SerialiseHFC '[ShelleyBlock proto era] Source # | Use the default implementations. This means the serialisation of blocks
includes an era wrapper. Each block should do this from the start to be
prepared for future hard forks without having to do any bit twiddling. |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
type HeaderHash (ShelleyBlock proto era ∷ Type) Source # | |
|
type TranslationError era (LedgerState :.: ShelleyBlock proto) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
type TranslationError era (GenTx :.: ShelleyBlock proto) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
type TranslationError era (WrapValidatedGenTx :.: ShelleyBlock proto) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
type Rep (BlockConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
type Rep (CodecConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
type Rep (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
type Rep (StorageConfig (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
type Rep (Validated (GenTx (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type Rep (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
type Rep (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type Rep (Ticked (LedgerState (ShelleyBlock proto era))) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
type HardForkTxMeasure (CardanoEras c) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Cardano.CanHardFork |
data Validated (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type AuxLedgerEvent (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
type LedgerCfg (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
type LedgerErr (LedgerState (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
newtype TxId (GenTx (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type Signed (Header (ShelleyBlock proto era)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Protocol |
data Ticked (LedgerState (ShelleyBlock proto era)) Source # | Ticking only affects the state itself |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
data BlockConfig (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
type BlockProtocol (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Protocol |
data CodecConfig (ShelleyBlock proto era) Source # | No particular codec configuration is needed for Shelley |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
data Header (ShelleyBlock proto era) Source # | |
|
data StorageConfig (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Config |
type CannotForge (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Common |
type ForgeStateInfo (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Common |
type ForgeStateUpdateError (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Node.Common |
data NestedCtxt_ (ShelleyBlock proto era) f a Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
type TentativeHeaderState (ShelleyBlock proto era) Source # | |
|
type TentativeHeaderView (ShelleyBlock proto era) Source # | |
|
type HardForkIndices (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
type PartialLedgerConfig (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.ShelleyHFC |
type OtherHeaderEnvelopeError (ShelleyBlock proto era) Source # | |
|
type TipInfo (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |
data LedgerState (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Ledger |
type LedgerUpdate (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Inspect |
type LedgerWarning (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Inspect |
data BlockQuery (ShelleyBlock proto era) a Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Query |
type ApplyTxErr (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
data GenTx (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type TxMeasure (ShelleyBlock p (AllegraEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type TxMeasure (ShelleyBlock p (AlonzoEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type TxMeasure (ShelleyBlock p (BabbageEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type TxMeasure (ShelleyBlock p (ConwayEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type TxMeasure (ShelleyBlock p (MaryEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type TxMeasure (ShelleyBlock p (ShelleyEra c)) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Mempool |
type BlockNodeToClientVersion (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.NetworkProtocolVersion |
type BlockNodeToNodeVersion (ShelleyBlock proto era) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.NetworkProtocolVersion |
type TrivialIndex (NestedCtxt_ (ShelleyBlock proto era) f) Source # | |
Instance detailsDefined in Ouroboros.Consensus.Shelley.Ledger.Block |