mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-10 15:30:14 -04:00
Deterministic peer id from seed for alice
This includes the introduction of the --data-dir parameter instead of the --database. Both the seed file and the database are stored in the data-dir, the database in sub-folder `database`.
This commit is contained in:
parent
64ba8d6a87
commit
0a21040e08
18 changed files with 377 additions and 35 deletions
|
@ -7,8 +7,8 @@ use crate::{bitcoin, monero};
|
|||
#[derive(structopt::StructOpt, Debug)]
|
||||
pub struct Options {
|
||||
// TODO: Default value should points to proper configuration folder in home folder
|
||||
#[structopt(long = "database", default_value = "./.swap-db/")]
|
||||
pub db_path: String,
|
||||
#[structopt(long = "data-dir", default_value = "./.swap-data/")]
|
||||
pub data_dir: String,
|
||||
|
||||
#[structopt(subcommand)]
|
||||
pub cmd: Command,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue