Starting to write config file

This commit is contained in:
Dave Hrycyszyn
2024-06-06 15:54:33 +01:00
parent dc3d0ad83a
commit 1e1f452cff
6 changed files with 117 additions and 39 deletions

View File

@@ -11,7 +11,11 @@ async fn main() {
match &args.command {
Some(Commands::Init {}) => {
let _ = init::init(home());
let config = init::config::SideNodeConfig {
name: "alice".to_string(),
};
let _ = init::init(home(), config);
}
Some(Commands::Run {}) => {
let (mut bft_crdt, keys) = list_transaction_crdt::new();