miden-validator 0.16.0-alpha.2

Miden validator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;
mod commands;

// MAIN
// ================================================================================================

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let command = commands::ValidatorCommand::parse();

    let _otel_guard = miden_node_utils::logging::setup_tracing(command.open_telemetry())?;

    miden_node_utils::shutdown::run_with_shutdown(|shutdown| command.handle(shutdown)).await
}