Ouroboros.Consensus.HardFork.Combinator.Serialisation.SerialiseDisk
Contents
Methods
reconstructPrefixLen :: proxy ( Header ( HardForkBlock xs)) -> PrefixLen Source #
reconstructNestedCtxt :: proxy ( Header ( HardForkBlock xs)) -> ShortByteString -> SizeInBytes -> SomeSecond ( NestedCtxt Header ) ( HardForkBlock xs) Source #
getBinaryBlockInfo :: HardForkBlock xs -> BinaryBlockInfo Source #
decodeDiskDep :: CodecConfig ( HardForkBlock xs) -> NestedCtxt Header ( HardForkBlock xs) a -> forall s. Decoder s ( ByteString -> a) Source #
decodeDiskDepIx :: CodecConfig ( HardForkBlock xs) -> Decoder s ( SomeSecond ( NestedCtxt Header ) ( HardForkBlock xs)) Source #
encodeDiskDep :: CodecConfig ( HardForkBlock xs) -> NestedCtxt Header ( HardForkBlock xs) a -> a -> Encoding Source #
encodeDiskDepIx :: CodecConfig ( HardForkBlock xs) -> SomeSecond ( NestedCtxt Header ) ( HardForkBlock xs) -> Encoding Source #
decodeDisk :: CodecConfig ( HardForkBlock xs) -> forall s. Decoder s ( LedgerState ( HardForkBlock xs)) Source #
decodeDisk :: CodecConfig ( HardForkBlock xs) -> forall s. Decoder s ( HardForkChainDepState xs) Source #
decodeDisk :: CodecConfig ( HardForkBlock xs) -> forall s. Decoder s ( AnnTip ( HardForkBlock xs)) Source #
encodeDisk :: CodecConfig ( HardForkBlock xs) -> LedgerState ( HardForkBlock xs) -> Encoding Source #
encodeDisk :: CodecConfig ( HardForkBlock xs) -> HardForkChainDepState xs -> Encoding Source #
encodeDisk :: CodecConfig ( HardForkBlock xs) -> AnnTip ( HardForkBlock xs) -> Encoding Source #
encodeDisk :: CodecConfig ( HardForkBlock xs) -> HardForkBlock xs -> Encoding Source #
decodeDisk :: CodecConfig ( HardForkBlock xs) -> forall s. Decoder s ( ByteString -> HardForkBlock xs) Source #