Renamed bitcoin clients
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
pub mod btc_electrum_client;
|
||||
pub mod btc_esplora_client;
|
||||
pub mod electrum;
|
||||
pub mod esplora;
|
||||
|
||||
@@ -32,7 +32,7 @@ pub async fn run() {
|
||||
node.start().await;
|
||||
}
|
||||
Some(Commands::Btc {}) => {
|
||||
let _ = bitcoin::clients::btc_esplora_client::run().await;
|
||||
let _ = bitcoin::clients::esplora::run().await;
|
||||
}
|
||||
None => println!("No command provided. Exiting. See --help for more information."),
|
||||
}
|
||||
@@ -44,7 +44,7 @@ async fn setup(name: &String) -> SideNode {
|
||||
let side_dir = utils::home(name);
|
||||
let bft_crdt_keys = keys::bft_crdt::load_from_file(&side_dir);
|
||||
let keys = bitcoin::keys::load_from_file(&side_dir).unwrap();
|
||||
let bitcoin_wallet = bitcoin::clients::btc_electrum_client::create_wallet(keys).unwrap();
|
||||
let bitcoin_wallet = bitcoin::clients::electrum::create_wallet(keys).unwrap();
|
||||
let crdt = BaseCrdt::<TransactionList>::new(&bft_crdt_keys);
|
||||
|
||||
// Channels for internal communication, and a tokio task for stdin input
|
||||
|
||||
Reference in New Issue
Block a user