Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module contains previous implementations for Addr and CoompactAddr deserialization. This is used as an alternative implementation for testing and as a perforance reference for benchmarking.
Synopsis
Documentation
deserialiseAddrOld ∷ MonadFail m ⇒ ByteString → m Addr Source #
Deserialise an address from the external format. This will fail if the input data is not in the right format (or if there is trailing data).
deserialiseRewardAccountOld ∷ MonadFail m ⇒ ByteString → m RewardAccount Source #
Deserialise an reward account from the external format. This will fail if the input data is not in the right format (or if there is trailing data).
decompactAddrOld ∷ CompactAddr → Addr Source #
This is an old decompacter that didn't guard against random junk at the end.
decompactAddrOldLazy ∷ CompactAddr → Addr Source #
This lazy deserializer is kept around purely for benchmarking, so we can
verify that new deserializer decodeAddrStateT
is doing the work lazily.