Roman Zeyde

Results 503 comments of Roman Zeyde

@adriankae Does the error reproduce if the index DB is rebuilt from scratch?

On Ubuntu 24.04 installing `clang` results in Clang 18: ``` $ c++ --version Ubuntu clang version 18.1.3 (1ubuntu1) ... ``` If I then install `build-essential`, GCC 13 becomes the default:...

Reproduced using a Ubuntu 24.04 Docker container: ``` $ gdb --args /usr/bin/electrs --log-filters INFO (gdb) r ... [2024-10-29T14:15:03.607Z INFO electrs::chain] chain updated: tip=00000000000004ff83b6c10460b239ef4a6aa320e5fffd6c7bcedefa8c78593c, height=180000 [2024-10-29T14:15:03.608Z INFO electrs::index] indexing 2000 blocks:...

@embetrix many thanks! Could you please share the details of your system and build environment?

Please make sure your `bitcoind` is configured with the following flags: https://github.com/romanz/electrs/blob/master/doc/config.md#bitcoind-configuration ``` maxconnections=N [email protected] ```

Closing for now, please re-open if the issue reproduces.

https://mempool.space/address/1NDyJtNTjmwk5xPNhjgAMu4HDHigtobu1s has >1M txs. https://mempool.space/address/bc1qns9f7yfx3ry9lj6yz7c9er0vwa0ye2eklpzqfw has >500M txs. https://mempool.space/address/1N52wHoVR79PMDishab2XmRHsbekCdGquK has > 400k txs. Currently, electrs will take quite a while to compute the history for such "popular" addresses - since...

> If there is a way to know in advance if a query will hang, it would be a ok-ish workaround for me. @su-sd You can use `index_lookup_limit` config flag...

Reproduced using `./history.py bc1qns9f7yfx3ry9lj6yz7c9er0vwa0ye2eklpzqfw` - it seems that electrs is sending a request which is too large - and gets disconnected (in my case): ``` $ bitcoind -debug=net ... 2024-08-12T18:55:09Z...