zakura 1.7.0

Zakura, an independent, consensus-compatible implementation of a Zcash node
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Standalone finalized-state pruning utility.

// This binary reports startup and pruning failures directly to the terminal before any tracing
// subscriber is installed.
#![allow(clippy::print_stderr)]

use clap::Parser;
use zakurad::commands::prune_state::PruneStateCmd;

/// Process entry point for `zakura-prune-state`.
fn main() {
    let command = PruneStateCmd::parse();

    if let Err(error) = command.run_with_config(zakura_state::Config::default()) {
        eprintln!("failed to prune finalized state: {error}");
        std::process::exit(1);
    }
}