You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
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
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
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 forFetchService
.Tasks
FetchService
struct inZaino-State
, initially containingZaino-Fetch
's JsonRpcConnector and anon_finalised_state
struct, and implement sync method as a persistent background process.Indexer
forFetchService
.get_compact_block
method toIndexer
trait and implement forStateService
andFetchService
.FetchService
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.The text was updated successfully, but these errors were encountered: