Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.3 - Provide efficient Compact Block fetch and access to a local non-finalised state for backup RPC backend. #55

Open
3 of 4 tasks
idky137 opened this issue Sep 10, 2024 · 0 comments
Labels
tracking ZGM2 Issues that need to be resolved for the completion of the Zaino dev grant milestone 2

Comments

@idky137
Copy link
Contributor

idky137 commented Sep 10, 2024

Zaino currently fetches full blocks and parses them to compact blocks every time a client requests block data. This is very inefficient and access to a local compact block cache or at the very lease an internal non-finalised state is required for scale use. This will be inherited from Zebra when Zaino is backed by the ReadStateService (StateService) but this will still not be the case when Zaino uses its backup RPC backend (FetchService), with zcashd or other future RPC based validators. For this reason we need to implement an internal non-finalised state for FetchService.

Tasks

NOTE: If compact blocks are not available in the ReadStateService at the time this work is being implemented, StateService will continue parse data internally until the required indexes are available.

@idky137 idky137 added this to the Zaino - Dev grant Milestone 2 milestone Sep 10, 2024
@idky137 idky137 added ZGM2 Issues that need to be resolved for the completion of the Zaino dev grant milestone 2 V1.0 Required for Zaino V1.0 labels Sep 10, 2024
@idky137 idky137 changed the title 2.3 - Create an internal CompactBlockCache 2.3 - Provide access to a local CompactBlockCache Sep 24, 2024
@pacu pacu moved this to Backlog in Zaino Tracking Oct 11, 2024
@idky137 idky137 moved this to Backlog in Zaino - MileStone 2 Nov 6, 2024
@idky137 idky137 removed the V1.0 Required for Zaino V1.0 label Nov 19, 2024
@idky137 idky137 changed the title 2.3 - Provide access to a local CompactBlockCache 2.3 - Provide efficient Compact Block fetch and access to a local non-finalised state for backup RPC backend. Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracking ZGM2 Issues that need to be resolved for the completion of the Zaino dev grant milestone 2
Projects
None yet
Development

No branches or pull requests

2 participants