Browse Source
Remove maker default address
This made only sense during local testing.
new-http-api
Thomas Eizinger
3 years ago
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
3 changed files with
3 additions and
3 deletions
-
.github/workflows/ci.yml
-
daemon/src/taker.rs
-
start_all.sh
|
|
@ -108,7 +108,7 @@ jobs: |
|
|
|
sleep 10s # Wait for maker to start\ |
|
|
|
|
|
|
|
# The maker-id is generated from the makers seed found in daemon/util/testnet_seeds/maker_seed |
|
|
|
target/debug/taker --data-dir=/tmp/taker --maker-id 10d4ba2ac3f7a22da4009d813ff1bc3f404dfe2cc93a32bedf1512aa9951c95e testnet & |
|
|
|
target/debug/taker --data-dir=/tmp/taker --maker localhost:9999 --maker-id 10d4ba2ac3f7a22da4009d813ff1bc3f404dfe2cc93a32bedf1512aa9951c95e testnet & |
|
|
|
sleep 10s # Wait for taker to start |
|
|
|
|
|
|
|
curl --fail http://localhost:8000/api/alive |
|
|
|
|
|
@ -31,7 +31,7 @@ const CONNECTION_RETRY_INTERVAL: Duration = Duration::from_secs(5); |
|
|
|
#[derive(Parser)] |
|
|
|
struct Opts { |
|
|
|
/// The IP address of the other party (i.e. the maker).
|
|
|
|
#[clap(long, default_value = "127.0.0.1:9999")] |
|
|
|
#[clap(long)] |
|
|
|
maker: SocketAddr, |
|
|
|
|
|
|
|
/// The public key of the maker as a 32 byte hex string.
|
|
|
|
|
|
@ -5,4 +5,4 @@ export RUST_BACKTRACE=1 |
|
|
|
# A simple command to spin up the complete package, ie. both daemons and frontends. |
|
|
|
# A single 'ctrl+c' stops all processes. |
|
|
|
# The maker-id is generated from the makers seed found in daemon/util/testnet_seeds/maker_seed |
|
|
|
(trap 'kill 0' SIGINT; cargo run --bin maker -- testnet & cargo run --bin taker -- --maker-id 10d4ba2ac3f7a22da4009d813ff1bc3f404dfe2cc93a32bedf1512aa9951c95e testnet -- & yarn --cwd=./maker-frontend dev & yarn --cwd=./taker-frontend dev) |
|
|
|
(trap 'kill 0' SIGINT; cargo run --bin maker -- testnet & cargo run --bin taker -- --maker localhost:9999 --maker-id 10d4ba2ac3f7a22da4009d813ff1bc3f404dfe2cc93a32bedf1512aa9951c95e testnet -- & yarn --cwd=./maker-frontend dev & yarn --cwd=./taker-frontend dev) |
|
|
|