readme: update

This commit is contained in:
nym21
2025-03-03 10:52:07 +01:00
parent be2012f28d
commit 0ebaf6a171
7 changed files with 28 additions and 31 deletions

View File

@@ -9,11 +9,11 @@ use clap::Parser;
use log::info;
#[derive(Parser, Debug)]
pub struct RunArgs {
pub struct RunConfig {
name: Option<String>,
}
pub fn run(mut indexer: Indexer, mut computer: Computer) -> color_eyre::Result<()> {
pub fn run(mut indexer: Indexer, mut computer: Computer, config: &RunConfig) -> color_eyre::Result<()> {
let data_dir = Path::new("../../../bitcoin");
let rpc = Box::leak(Box::new(rpc::Client::new(