Merge pull request #1397 from input-output-hk/fix-explorer-sanchonet-respin
Switch explorer to run on preview & clear TVL on Finalized
Switch explorer to run on preview & clear TVL on Finalized
This pull request changes the `fetchNextBlock` function to use the data type `ChainPoint` to the `Cardano.Wallet.Read` hierarchy. ### Comments * The goal is to eventually remove the legacy `primitive` types. ### Issue number ADP-3350
This change enables retrieval of big ledger peers. This data can be saved and loaded later, and used by the network layer to facilitate syncing up a node from a fresh or stale state.
Becuase the current does not observe our opened head.
So it only consider value locked when the head is initializing, open or closing.
This query equips CLI with a new query command which requests a snapshot of big ledger peers from the tip of a node. This snapshot is serialized to a file. A node can be configured to leverage such a snapshot when syncing up.
The endpoint is directly returning the UTxO as it would be the case for a restful API and deliberately not embeds the headId in the response.