cardano-ledger-core-1.19.0.0: Core components of Cardano ledgers from the Shelley release on.
Safe HaskellNone
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 performance 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).

deserialiseAccountAddressOldMonadFail m ⇒ ByteString → m AccountAddress Source #

Deserialise an account address 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.