This pull request adds a data type ChainPoint to the Cardano.Wallet.Read hierarchy.
In order to add this type, we also need to
Add functions related to hashing. The Cardano.Crypto.Hash.Class provides a very thoughtful API, we re-export it.
Add a type RawHeaderHash that is an era-independent string of bytes representing a HeaderHash.
Comments
This ChainPoint type is meant to be consistent with the other types in the Cardano.Wallet.Read hierarchy, which are in turn meant to be consistent with the ledger specification.
The ledger specification stipulates that SlotNo ~ Natural. We stick to this type.
The goal is to eventually remove the old primitive types.
This pull request adds a data type
ChainPoint
to theCardano.Wallet.Read
hierarchy.In order to add this type, we also need to
Cardano.Crypto.Hash.Class
provides a very thoughtful API, we re-export it.RawHeaderHash
that is an era-independent string of bytes representing aHeaderHash
.Comments
ChainPoint
type is meant to be consistent with the other types in theCardano.Wallet.Read
hierarchy, which are in turn meant to be consistent with the ledger specification.SlotNo ~ Natural
. We stick to this type.primitive
types.Issue Number
ADP-3350