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
Zebra’s ReadStateService currently only allows local access, limiting its integration with external tools and remote debugging. Enabling remote access would streamline workflows, simplify testing, and support scalable, decentralized deployments—fostering a more modular and community-friendly Zcash ecosystem
This feature was discussed in several Zcashd deprecation meetings and it was agreed that the Zaino dev team would take responsibility for implementing this functionality.
Add a remote_state_request RPC to Zebra's JsonRPC server that acts as a wrapper to the ReadStateService's Call method.
Add a RemoteStateService to zebra-state::service that uses JsonRpSee to send state requests to Zebrad and implement tower::Service for equivalent functionality. (Could be implemented in Zaino?)
NOTE: The current plan is to add this feature under a "remote_read_state_service" feature flag but this could be removed if this functionality should be enabled by default.
Complex Code or Requirements
NA
Testing
Possible solution: Add set of tests that compare output of Call method from both ReadStateService and RemoteStateService.
Related Work
NA
The text was updated successfully, but these errors were encountered:
Motivation
Zebra’s ReadStateService currently only allows local access, limiting its integration with external tools and remote debugging. Enabling remote access would streamline workflows, simplify testing, and support scalable, decentralized deployments—fostering a more modular and community-friendly Zcash ecosystem
This feature was discussed in several Zcashd deprecation meetings and it was agreed that the Zaino dev team would take responsibility for implementing this functionality.
Specifications
The current plan for this feature is as follows:
Use
Serde
to implementSerialize
andDeserialize
for theReadRequest
andReadResponse
structs inZebra-State
.*This step will also require changes in
librustzcash::zcash_history
. (Add Serde Serialize and Deserialise to structs inzcash_history
zcash/librustzcash#1744)Add a
remote_state_request
RPC to Zebra's JsonRPC server that acts as a wrapper to theReadStateService
'sCall
method.Add a
RemoteStateService
tozebra-state::service
that usesJsonRpSee
to send state requests toZebrad
and implementtower::Service
for equivalent functionality. (Could be implemented in Zaino?)NOTE: The current plan is to add this feature under a "remote_read_state_service" feature flag but this could be removed if this functionality should be enabled by default.
Complex Code or Requirements
NA
Testing
Possible solution: Add set of tests that compare output of
Call
method from bothReadStateService
andRemoteStateService
.Related Work
NA
The text was updated successfully, but these errors were encountered: