1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 01:43:29 +01:00

Increase default index_lookup_limit to 200

Otherwise it fails when mining >100 regtest blocks to the same address.
This commit is contained in:
Roman Zeyde 2021-08-27 09:28:31 +03:00
parent 4b24e649d6
commit 1008641838
2 changed files with 1 additions and 2 deletions

View File

@ -89,7 +89,7 @@ doc = "Don't sync mempool - queries will show only confirmed transactions."
name = "index_lookup_limit"
type = "usize"
doc = "Number of transactions to lookup before returning an error, to prevent 'too popular' addresses from causing the RPC server to get stuck (0 - disable the limit)"
default = "100"
default = "200"
[[param]]
name = "server_banner"

View File

@ -41,7 +41,6 @@ TIP=`$BTC getbestblockhash`
export RUST_LOG=electrs=debug
electrs \
--index-lookup-limit 200 \
--db-dir=data/electrs \
--daemon-dir=data/bitcoin \
--network=regtest \