Since electrs is not optimized for this use-case, the query may take a lot
of time (on HDDs, the transaction lookups take most of the time).
The limit can be disabled by passing --txid-limit=0 flag.
.help("Number of transactions to keep in for query LRU cache")
.help("Number of transactions to keep in for query LRU cache")
.default_value("10000")// should be enough for a small wallet.
.default_value("10000")// should be enough for a small wallet.
)
)
.arg(
Arg::with_name("txid_limit")
.long("txid-limit")
.help("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_value("100")// should take a few seconds on a HDD