1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-23 14:50:45 +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 \