Skip to content

Commit

Permalink
Pass entire config as env to electrumx server
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed May 13, 2024
1 parent 34ac6c2 commit 40c8cc4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ci/setup-coins/litecoin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,8 @@ popd

./litecoin-node/bin/litecoind -regtest -daemon -server=1 -txindex=1 -prune=0 -rpcport=19443 -rpcuser=ci -rpcpassword=password

echo 'COIN=Litecoin' > ~/electrumx.conf
echo 'SERVICES=tcp://127.0.0.1:5000' > ~/electrumx.conf
echo 'DAEMON_URL=ci:[email protected]:19443' > ~/electrumx.conf
echo 'PEER_DISCOVERY=self' > ~/electrumx.conf

mkdir -p ~/electrumx/db
DB_DIRECTORY=~/electrumx/db ./electrumx/electrumx_server &
COIN=Litecoin DB_DIRECTORY="~/electrumx/db" DAEMON_URL="ci:[email protected]:19443" SERVICES="tcp://127.0.0.1:5000" PEER_DISCOVERY=self ./electrumx/electrumx_server &
./electrum-ltc/run_electrum --offline setconfig rpcport 3000
./electrum-ltc/run_electrum --offline setconfig rpcuser ci
./electrum-ltc/run_electrum --offline setconfig rpcpassword password
Expand Down

0 comments on commit 40c8cc4

Please sign in to comment.