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

Create a new binary zebra-scanner #8581

Closed
Tracked by #8632
oxarbitrage opened this issue Jun 4, 2024 · 0 comments · Fixed by #8608
Closed
Tracked by #8632

Create a new binary zebra-scanner #8581

oxarbitrage opened this issue Jun 4, 2024 · 0 comments · Fixed by #8608
Assignees
Labels
A-blockchain-scanner Area: Blockchain scanner of shielded transactions A-infrastructure Area: Infrastructure changes

Comments

@oxarbitrage
Copy link
Contributor

We want to create a new binary zebra-scanner inside the zebra-scan crate.

This should call zebra_scanner::spawn_init with the ReadState::init(#8520) as the state argument and the last chain from the database as the ChainTipChange(#8580) argument.

The new process should start the scanning and the grpc server to interact with it. Scanner program will run until ctrl-c.

When we get into the details of the non-finalized change we might want to check an RPC endpoint to shut down too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-blockchain-scanner Area: Blockchain scanner of shielded transactions A-infrastructure Area: Infrastructure changes
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant