zebra icon indicating copy to clipboard operation
zebra copied to clipboard

Create a new binary `zebra-scanner`

Open oxarbitrage opened this issue 1 month ago • 0 comments

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(https://github.com/ZcashFoundation/zebra/issues/8520) as the state argument and the last chain from the database as the ChainTipChange(https://github.com/ZcashFoundation/zebra/issues/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.

oxarbitrage avatar Jun 04 '24 20:06 oxarbitrage