ZcashFoundation / zebra

Zcash - Financial Privacy in Rust 🦓
https://zfnd.org/zebra/
Apache License 2.0
402 stars 95 forks source link

Tracking: Enable `zebra-scan` to run as a separate independent process from `zebrad` #8573

Closed mpguerra closed 3 days ago

mpguerra commented 3 months ago

Motivation

In order to keep private key material outside of zebra, we need to decouple zebra-scan functionality from zebrad.

Design

Some diagrams for the design can be found in https://github.com/oxarbitrage/zebra-grpc-scan-spec/blob/main/zebra-scanner-process.md

We want to get started with the finalized state (reading from the database) part of the blockchain:

Non finalized state:

We should also evaluate if it makes sense to keep the zebra-scan crate inside the zebra repo as it is now or whether we need to move it to another repo.

Related work

This a step towards enabling zcashd deprecation by replacing the zcashd built in wallet with a zebra backed equivalent as per zcash/librustzcash#1373 .

oxarbitrage commented 3 months ago

Related:

mpguerra commented 3 days ago

We've finished all the required tasks here