mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
evgrd: add datastore and hostlist to evgrd.toml
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
[net]
|
||||
datastore = "~/.local/darkfi/evgrd"
|
||||
hostlist = "~/.local/darkfi/evgrd/p2p_hostlist.tsv"
|
||||
|
||||
|
||||
@@ -99,12 +99,12 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
|
||||
let datastore = expand_path(&args.datastore)?;
|
||||
fs::create_dir_all(&datastore).await?;
|
||||
|
||||
/*
|
||||
let replay_datastore = expand_path(&args.replay_datastore)?;
|
||||
let replay_mode = args.replay_mode;
|
||||
|
||||
info!("Instantiating event DAG");
|
||||
let sled_db = sled::open(datastore)?;
|
||||
/*
|
||||
let mut p2p_settings: darkfi::net::Settings = args.net.into();
|
||||
p2p_settings.app_version = semver::Version::parse(env!("CARGO_PKG_VERSION")).unwrap();
|
||||
let p2p = P2p::new(p2p_settings, ex.clone()).await?;
|
||||
|
||||
Reference in New Issue
Block a user