ouroboros-consensus-shelley-0.1.0.1: Shelley ledger integration in the Ouroboros consensus layer
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.Shelley.Node.Serialisation

Orphan instances

ShelleyBasedEra era => ReconstructNestedCtxt Header ( ShelleyBlock proto era) Source #
Instance details

ShelleyBasedEra era => EncodeDiskDepIx ( NestedCtxt Header ) ( ShelleyBlock proto era) Source #
Instance details

ShelleyCompatible proto era => EncodeDiskDep ( NestedCtxt Header ) ( ShelleyBlock proto era) Source #
Instance details

ShelleyBasedEra era => DecodeDiskDepIx ( NestedCtxt Header ) ( ShelleyBlock proto era) Source #
Instance details

ShelleyCompatible proto era => DecodeDiskDep ( NestedCtxt Header ) ( ShelleyBlock proto era) Source #
Instance details

ShelleyCompatible proto era => SerialiseNodeToNodeConstraints ( ShelleyBlock proto era) Source #
Instance details

ShelleyCompatible proto era => SerialiseNodeToClientConstraints ( ShelleyBlock proto era) Source #
Instance details

ShelleyCompatible proto era => SerialiseDiskConstraints ( ShelleyBlock proto era) Source #
Instance details

ShelleyCompatible proto era => HasBinaryBlockInfo ( ShelleyBlock proto era) Source #
Instance details

ShelleyCompatible proto era => SerialiseNodeToClient ( ShelleyBlock proto era) SlotNo Source #
Instance details

ShelleyCompatible proto era => SerialiseNodeToNode ( ShelleyBlock proto era) ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

ShelleyCompatible proto era => SerialiseNodeToNode ( ShelleyBlock proto era) ( GenTx ( ShelleyBlock proto era)) Source #

The To/FromCBOR instances defined in cardano-ledger-specs use CBOR-in-CBOR to get the annotation.

Instance details

SerialiseNodeToNode ( ShelleyBlock proto era) ( SerialisedHeader ( ShelleyBlock proto era)) Source #

We use CBOR-in-CBOR

Instance details

ShelleyCompatible proto era => SerialiseNodeToNode ( ShelleyBlock proto era) ( Header ( ShelleyBlock proto era)) Source #

CBOR-in-CBOR to be compatible with the wrapped ( Serialised ) variant.

Instance details

SerialiseNodeToNode ( ShelleyBlock proto era) ( Serialised ( ShelleyBlock proto era)) Source #

Serialised uses CBOR-in-CBOR by default.

Instance details

ShelleyBasedEra era => SerialiseNodeToClient ( ShelleyBlock proto era) ( ApplyTxError era) Source #
ApplyTxErr '(ShelleyBlock era)'
Instance details

ShelleyCompatible proto era => SerialiseNodeToClient ( ShelleyBlock proto era) ( GenTxId ( ShelleyBlock proto era)) Source #
Instance details

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 details

SerialiseNodeToClient ( ShelleyBlock proto era) ( Serialised ( ShelleyBlock proto era)) Source #

Serialised uses CBOR-in-CBOR by default.

Instance details

ShelleyCompatible proto era => SerialiseResult ( ShelleyBlock proto era) ( BlockQuery ( ShelleyBlock proto era)) Source #
Instance details

ShelleyCompatible proto era => EncodeDisk ( ShelleyBlock proto era) ( AnnTip ( ShelleyBlock proto era)) Source #
Instance details

( ShelleyCompatible proto era, EraCrypto era ~ c, PraosCrypto c) => EncodeDisk ( ShelleyBlock proto era) ( PraosState c) Source #
Instance details

( ShelleyCompatible proto era, EraCrypto era ~ c, PraosCrypto c) => EncodeDisk ( ShelleyBlock proto era) ( TPraosState c) Source #
ChainDepState (BlockProtocol (ShelleyBlock era))
Instance details

ShelleyCompatible proto era => EncodeDisk ( ShelleyBlock proto era) ( LedgerState ( ShelleyBlock proto era)) Source #
Instance details

ShelleyCompatible proto era => EncodeDisk ( ShelleyBlock proto era) ( Header ( ShelleyBlock proto era)) Source #
Instance details

ShelleyCompatible proto era => DecodeDisk ( ShelleyBlock proto era) ( AnnTip ( ShelleyBlock proto era)) Source #
Instance details

( ShelleyCompatible proto era, EraCrypto era ~ c, PraosCrypto c) => DecodeDisk ( ShelleyBlock proto era) ( PraosState c) Source #
ChainDepState (BlockProtocol (ShelleyBlock era))
Instance details

( ShelleyCompatible proto era, EraCrypto era ~ c, PraosCrypto c) => DecodeDisk ( ShelleyBlock proto era) ( TPraosState c) Source #
ChainDepState (BlockProtocol (ShelleyBlock era))
Instance details

ShelleyCompatible proto era => DecodeDisk ( ShelleyBlock proto era) ( LedgerState ( ShelleyBlock proto era)) Source #
Instance details

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 details

ShelleyCompatible proto era => SerialiseNodeToClient ( ShelleyBlock proto era) ( SomeSecond BlockQuery ( ShelleyBlock proto era)) Source #
Instance details

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 details

ShelleyCompatible proto era => EncodeDisk ( ShelleyBlock proto era) ( ShelleyBlock proto era) Source #
Instance details

ShelleyCompatible proto era => DecodeDisk ( ShelleyBlock proto era) ( ByteString -> Header ( ShelleyBlock proto era)) Source #
Instance details

ShelleyCompatible proto era => DecodeDisk ( ShelleyBlock proto era) ( ByteString -> ShelleyBlock proto era) Source #
Instance details