-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass entire config as env to electrumx server
- Loading branch information
1 parent
34ac6c2
commit 40c8cc4
Showing
1 changed file
with
1 addition
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|