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:
parent
4b24e649d6
commit
1008641838
@ -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"
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user