From 6c2873ec90192be329aa1186f797e0b974bc2e93 Mon Sep 17 00:00:00 2001 From: openoms Date: Tue, 21 Sep 2021 10:16:51 +0100 Subject: [PATCH] electrs: use v0.8.12 until #2548 is resolved move index-batch-size=10 to config --- CHANGES.md | 2 +- home.admin/config.scripts/bonus.electrs.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c5ae541a2..505dd712a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,7 +14,7 @@ - Update: Specter Desktop 1.6.0 [details](https://github.com/cryptoadvance/specter-desktop/blob/master/README.md) - Update: JoinMarket v0.9.1 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/#joinmarket-clientserver) - Update: JoininBox v0.6.0 [details](https://github.com/openoms/joininbox/tree/master#joininbox) -- Update: Electrum Server in Rust (electrs) v0.9.0-rc1 [details](https://github.com/romanz/electrs/blob/v0.9.0-rc1/RELEASE-NOTES.md) +- Update: Electrum Server in Rust (electrs) v0.8.12 [details](https://github.com/romanz/electrs/blob/v0.8.12/RELEASE-NOTES.md) - Update: Mempool 2.2.2 [details](https://github.com/mempool/mempool) - Update: BTC-RPC-Explorer v3.2.0 [details](https://github.com/janoside/btc-rpc-explorer/blob/master/CHANGELOG.md#v320) - Update: stacking-sats-kraken 0.4.4 [details](https://github.com/dennisreimann/stacking-sats-kraken/blob/master/README.md) diff --git a/home.admin/config.scripts/bonus.electrs.sh b/home.admin/config.scripts/bonus.electrs.sh index 614c6447f..f38a2b648 100755 --- a/home.admin/config.scripts/bonus.electrs.sh +++ b/home.admin/config.scripts/bonus.electrs.sh @@ -1,7 +1,7 @@ #!/bin/bash # https://github.com/romanz/electrs/blob/master/doc/usage.md -ELECTRSVERSION="v0.9.0-rc1" +ELECTRSVERSION="v0.8.12" # command info if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then @@ -306,6 +306,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then verbose = 2 timestamp = true jsonrpc_import = true +index-batch-size=10 db_dir = \"/mnt/hdd/app-storage/electrs/db\" auth = \"$RPC_USER:$PASSWORD_B\" # allow BTC-RPC-explorer show tx-s for addresses with a history of more than 100 @@ -398,7 +399,7 @@ After=bitcoind.service [Service] WorkingDirectory=/home/electrs/electrs -ExecStart=/home/electrs/electrs/target/release/electrs --index-batch-size=10 --electrum-rpc-addr=\"0.0.0.0:50001\" +ExecStart=/home/electrs/electrs/target/release/electrs --electrum-rpc-addr=\"0.0.0.0:50001\" User=electrs Group=electrs Type=simple