2022-07-06 12:11:13 +02:00
|
|
|
#!/usr/bin/env zsh
|
2022-03-07 20:25:48 +01:00
|
|
|
cd "${HOME}/electrs"
|
|
|
|
#source "${HOME}/.cargo/env"
|
|
|
|
#export PATH="${HOME}/.cargo/bin:${PATH}"
|
2021-02-20 19:44:33 +01:00
|
|
|
|
|
|
|
until false
|
|
|
|
do
|
|
|
|
cargo run \
|
|
|
|
--release \
|
|
|
|
--bin electrs \
|
|
|
|
-- \
|
|
|
|
-vv \
|
|
|
|
--network signet \
|
2021-11-10 07:56:07 +01:00
|
|
|
--address-search \
|
2021-03-03 13:29:18 +01:00
|
|
|
--cors '*' \
|
2022-03-07 20:25:48 +01:00
|
|
|
--db-dir __ELECTRS_DATA_ROOT__ \
|
2021-02-20 19:44:33 +01:00
|
|
|
--daemon-rpc-addr '127.0.0.1:38332' \
|
2022-03-07 20:25:48 +01:00
|
|
|
--daemon-dir "${HOME}" \
|
2023-03-07 09:19:16 +01:00
|
|
|
--http-socket-file '/bitcoin/socket/esplora-bitcoin-signet' \
|
2022-03-07 20:25:48 +01:00
|
|
|
--cookie '__BITCOIN_RPC_USER__:__BITCOIN_RPC_PASS__' \
|
|
|
|
--precache-scripts "${HOME}/electrs/contrib/popular-scripts.txt"
|
2021-02-20 19:44:33 +01:00
|
|
|
sleep 1
|
|
|
|
done
|