cardano-foundation / cardano-wallet

HTTP server & command-line for managing UTxOs and HD wallets in Cardano.
Apache License 2.0
764 stars 212 forks source link

[ADP-3350] Change `chainSync` to use `Read.ChainPoint` #4550

Closed HeinrichApfelmus closed 5 months ago

HeinrichApfelmus commented 5 months ago

This pull request changes the chainSync function to use the data type ChainPoint from the Cardano.Wallet.Read hierarchy.

In order to keep the scope of this change limited, we add conversion functions fromWalletChainPoint and toWalletChainPoint — otherwise, we might have to propagate the change all the way to the database, which I don't want to do here. This pull request focuses on changing the NetworkLayer, not on changing the Cardano.Wallet.

Comments

Issue Number

ADP-3350