mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Merge #214
214: Rename nectar to asb (automated swap backend) r=da-kami a=da-kami Co-authored-by: Daniel Karzel <daniel@comit.network>
This commit is contained in:
commit
a6724f29af
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -74,11 +74,11 @@ jobs:
|
|||||||
name: swap-${{ matrix.target }}
|
name: swap-${{ matrix.target }}
|
||||||
path: target/${{ matrix.target }}/debug/swap_cli
|
path: target/${{ matrix.target }}/debug/swap_cli
|
||||||
|
|
||||||
- name: Upload nectar binary
|
- name: Upload asb binary
|
||||||
uses: actions/upload-artifact@v2-preview
|
uses: actions/upload-artifact@v2-preview
|
||||||
with:
|
with:
|
||||||
name: nectar-${{ matrix.target }}
|
name: asb-${{ matrix.target }}
|
||||||
path: target/${{ matrix.target }}/debug/nectar
|
path: target/${{ matrix.target }}/debug/asb
|
||||||
|
|
||||||
test:
|
test:
|
||||||
env:
|
env:
|
||||||
|
@ -104,7 +104,7 @@ where
|
|||||||
pub fn query_user_for_initial_testnet_config() -> Result<Config> {
|
pub fn query_user_for_initial_testnet_config() -> Result<Config> {
|
||||||
println!();
|
println!();
|
||||||
let data_dir = Input::with_theme(&ColorfulTheme::default())
|
let data_dir = Input::with_theme(&ColorfulTheme::default())
|
||||||
.with_prompt("Enter data directory for nectar or hit return to use default")
|
.with_prompt("Enter data directory for asb or hit return to use default")
|
||||||
.default(
|
.default(
|
||||||
default_data_dir()
|
default_data_dir()
|
||||||
.context("No default data dir value for this system")?
|
.context("No default data dir value for this system")?
|
||||||
@ -116,7 +116,7 @@ pub fn query_user_for_initial_testnet_config() -> Result<Config> {
|
|||||||
let data_dir = data_dir.as_str().parse()?;
|
let data_dir = data_dir.as_str().parse()?;
|
||||||
|
|
||||||
let listen_address = Input::with_theme(&ColorfulTheme::default())
|
let listen_address = Input::with_theme(&ColorfulTheme::default())
|
||||||
.with_prompt("Enter multiaddress on which nectar should list for peer-to-peer communications or hit return to use default")
|
.with_prompt("Enter multiaddress on which asb should list for peer-to-peer communications or hit return to use default")
|
||||||
.default(DEFAULT_LISTEN_ADDRESS.to_owned())
|
.default(DEFAULT_LISTEN_ADDRESS.to_owned())
|
||||||
.interact_text()?;
|
.interact_text()?;
|
||||||
let listen_address = listen_address.as_str().parse()?;
|
let listen_address = listen_address.as_str().parse()?;
|
@ -18,6 +18,13 @@ use prettytable::{row, Table};
|
|||||||
use std::{path::Path, sync::Arc};
|
use std::{path::Path, sync::Arc};
|
||||||
use structopt::StructOpt;
|
use structopt::StructOpt;
|
||||||
use swap::{
|
use swap::{
|
||||||
|
asb::{
|
||||||
|
command::{Arguments, Command},
|
||||||
|
config::{
|
||||||
|
initial_setup, query_user_for_initial_testnet_config, read_config, Config,
|
||||||
|
ConfigNotInitialized,
|
||||||
|
},
|
||||||
|
},
|
||||||
bitcoin,
|
bitcoin,
|
||||||
database::Database,
|
database::Database,
|
||||||
execution_params,
|
execution_params,
|
||||||
@ -25,13 +32,6 @@ use swap::{
|
|||||||
fs::default_config_path,
|
fs::default_config_path,
|
||||||
monero,
|
monero,
|
||||||
monero::{CreateWallet, OpenWallet},
|
monero::{CreateWallet, OpenWallet},
|
||||||
nectar::{
|
|
||||||
command::{Arguments, Command},
|
|
||||||
config::{
|
|
||||||
initial_setup, query_user_for_initial_testnet_config, read_config, Config,
|
|
||||||
ConfigNotInitialized,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
protocol::alice::EventLoop,
|
protocol::alice::EventLoop,
|
||||||
seed::Seed,
|
seed::Seed,
|
||||||
trace::init_tracing,
|
trace::init_tracing,
|
@ -16,13 +16,13 @@
|
|||||||
missing_copy_implementations
|
missing_copy_implementations
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
pub mod asb;
|
||||||
pub mod bitcoin;
|
pub mod bitcoin;
|
||||||
pub mod cli;
|
pub mod cli;
|
||||||
pub mod database;
|
pub mod database;
|
||||||
pub mod execution_params;
|
pub mod execution_params;
|
||||||
pub mod fs;
|
pub mod fs;
|
||||||
pub mod monero;
|
pub mod monero;
|
||||||
pub mod nectar;
|
|
||||||
pub mod protocol;
|
pub mod protocol;
|
||||||
pub mod seed;
|
pub mod seed;
|
||||||
pub mod trace;
|
pub mod trace;
|
||||||
|
Loading…
Reference in New Issue
Block a user