ouroboros-consensus-byron-0.1.0.0: Byron ledger integration in the Ouroboros consensus layer
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Byron.Node.Serialisation

Orphan instances

SerialiseNodeToNodeConstraints ByronBlock Source # 
Instance details

SerialiseNodeToClientConstraints ByronBlock Source # 
Instance details

SerialiseDiskConstraints ByronBlock Source # 
Instance details

HasBinaryBlockInfo ByronBlock Source # 
Instance details

SerialiseNodeToNode ByronBlock ByronBlock Source #

CBOR-in-CBOR for the annotation. This also makes it compatible with the wrapped (Serialised) variant.

Instance details

SerialiseNodeToClient ByronBlock SlotNo Source # 
Instance details

SerialiseNodeToClient ByronBlock ApplyMempoolPayloadErr Source #
ApplyTxErr ByronBlock
Instance details

Methods

encodeNodeToClientCodecConfig ByronBlockBlockNodeToClientVersion ByronBlock → ApplyMempoolPayloadErr → Encoding Source #

decodeNodeToClientCodecConfig ByronBlockBlockNodeToClientVersion ByronBlock → ∀ s. Decoder s ApplyMempoolPayloadErr Source #

SerialiseNodeToClient ByronBlock ByronBlock Source #

CBOR-in-CBOR for the annotation. This also makes it compatible with the wrapped (Serialised) variant.

Instance details

EncodeDisk ByronBlock ByronBlock Source # 
Instance details

Methods

encodeDiskCodecConfig ByronBlockByronBlock → Encoding Source #

ReconstructNestedCtxt Header ByronBlock Source # 
Instance details

SerialiseNodeToNode ByronBlock (Serialised ByronBlock) Source #

Serialised uses CBOR-in-CBOR by default.

Instance details

SerialiseNodeToNode ByronBlock (SerialisedHeader ByronBlock) Source # 
Instance details

SerialiseNodeToNode ByronBlock (GenTx ByronBlock) Source #

No CBOR-in-CBOR, because we check for canonical encodings, which means we can use the recomputed encoding for the annotation.

Instance details

SerialiseNodeToNode ByronBlock (GenTxId ByronBlock) Source # 
Instance details

SerialiseNodeToNode ByronBlock (Header ByronBlock) Source # 
Instance details

SerialiseNodeToClient ByronBlock (Serialised ByronBlock) Source #

Serialised uses CBOR-in-CBOR by default.

Instance details

SerialiseNodeToClient ByronBlock (GenTx ByronBlock) Source #

No CBOR-in-CBOR, because we check for canonical encodings, which means we can use the recomputed encoding for the annotation.

Instance details

SerialiseNodeToClient ByronBlock (GenTxId ByronBlock) Source # 
Instance details

SerialiseResult ByronBlock (BlockQuery ByronBlock) Source # 
Instance details

EncodeDisk ByronBlock (PBftState PBftByronCrypto) Source #
ChainDepState (BlockProtocol ByronBlock)
Instance details

EncodeDisk ByronBlock (AnnTip ByronBlock) Source # 
Instance details

EncodeDisk ByronBlock (LedgerState ByronBlock) Source # 
Instance details

DecodeDisk ByronBlock (PBftState PBftByronCrypto) Source #
ChainDepState (BlockProtocol ByronBlock)
Instance details

DecodeDisk ByronBlock (AnnTip ByronBlock) Source # 
Instance details

Methods

decodeDiskCodecConfig ByronBlock → ∀ s. Decoder s (AnnTip ByronBlock) Source #

DecodeDisk ByronBlock (LedgerState ByronBlock) Source # 
Instance details

Methods

decodeDiskCodecConfig ByronBlock → ∀ s. Decoder s (LedgerState ByronBlock) Source #

SerialiseNodeToClient ByronBlock (SomeSecond BlockQuery ByronBlock) Source # 
Instance details

DecodeDisk ByronBlock (ByteStringByronBlock) Source # 
Instance details

Methods

decodeDiskCodecConfig ByronBlock → ∀ s. Decoder s (ByteStringByronBlock) Source #

EncodeDiskDepIx (NestedCtxt Header) ByronBlock Source # 
Instance details

EncodeDiskDep (NestedCtxt Header) ByronBlock Source # 
Instance details

DecodeDiskDepIx (NestedCtxt Header) ByronBlock Source # 
Instance details

DecodeDiskDep (NestedCtxt Header) ByronBlock Source # 
Instance details

Methods

decodeDiskDepCodecConfig ByronBlockNestedCtxt Header ByronBlock a → ∀ s. Decoder s (ByteString → a) Source #