cardano-ledger-core-1.17.0.0: Core components of Cardano ledgers from the Shelley release on.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Core.Address

Description

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

deserialiseAddrOldMonadFail 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).

deserialiseRewardAccountOldMonadFail 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).

decompactAddrOldCompactAddrAddr Source #

This is an old decompacter that didn't guard against random junk at the end.

decompactAddrOldLazyCompactAddrAddr Source #

This lazy deserializer is kept around purely for benchmarking, so we can verify that new deserializer decodeAddrStateT is doing the work lazily.