Retrieve Cardano blocks with chainsync
in pallas
#1590
Closed
4 tasks done
Labels
chainsync
in pallas
#1590
Why
We want to retrieve blocks from the Cardano node by using the
chainsync
mini protocol instead of reading the immutable files: this will allow us to get data closer to the tip of the chain (e.g. volatile data). This will also enable Mithril node transactions database warm-up in a background thread.What
Create a
PallasBlockReader
that can interact with Cardanochainsync
mini protocol and implements the draft traitChainBlockReader
:How
chain_reader
module inmithril-common
ChainBlockReader
PallasBlockReader
for theChainBlockReader
traitFakeBlockReader
for theChainBlockReader
trait (that we can feed with appropriate list ofChainBlockNext
events)Resources
See
The text was updated successfully, but these errors were encountered: