LBRY-Vault/electrum/tests/regtest/start_electrumx.sh
ThomasV a698344136 cleanup tests that use regtest:
- separate setup from execution
 - install bitcoind and electrumx in travis
 - use the same framework for lnwatcher and forwarding
 - make tests runnable locally
2019-08-20 09:03:11 +02:00

7 lines
266 B
Bash
Executable file

#!/usr/bin/env bash
export HOME=~
set -eux pipefail
cd
rm -rf electrumx_db
mkdir electrumx_db
COIN=BitcoinSegwit TCP_PORT=51001 RPC_PORT=8000 NET=regtest DAEMON_URL=http://doggman:donkey@127.0.0.1:18554 DB_DIRECTORY=~/electrumx_db electrumx_server > electrumx.log &