zingolabs / zingo-proxy

Work in progress pure-rust lightwalletd replacement. Currently all methods offload to lwd.
2 stars 4 forks source link

Implement RPCs required for syncing over Nym #19

Open idky137 opened 1 month ago

idky137 commented 1 month ago

Implement the service RPC's required for receiving zcash (syncing) over the mixnet in both zingo-rpc::rpc::nymservice and zingo-rpc::walletrpc::service.

This will require the implementation of tonic::Streaming response types over nym. Possible implementation: Use surbs to send response messages back until last surb available (either individually or grouped to reduce the number of surbs required). When the last surb available is reached send a "re-submit" message back to the client (implementation required). The client can then either a, re-submit the original request, or b, send an empty (referenced?) message to resupply surbs for the streaming response (to be implemented in zingo-rpc::walletrpc).