MCPcopy Create free account
hub / github.com/SeismicSystems/summit / Args

Class Args

node/src/bin/protocol_params.rs:49–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48#[derive(Parser, Debug)]
49struct Args {
50 /// Path to the directory containing historical blocks for benchmarking
51 #[cfg(feature = "bench")]
52 #[arg(long)]
53 pub bench_block_dir: Option<String>,
54 /// Path to the log directory
55 #[arg(long)]
56 pub log_dir: Option<String>,
57 /// Path to the data directory for test
58 #[arg(long, default_value = "/tmp/summit_withdraw_test")]
59 pub data_dir: String,
60}
61
62fn main() -> Result<(), Box<dyn std::error::Error>> {
63 let args = Args::parse();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected