A panic in src/new_index/fetch.rs:143:17
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reading src/new_index/fetch.rs around line 143 and comparing the custom signet configuration and reported block counts with the blk*.dat files in /data/bitcoin/signet/blocks. Re-run the supplied Docker command with RUST_BACKTRACE=1; done means the panic's cause is identified and this input no longer aborts indexing.
Written by the indexing model from the issue text.
Description
I am running a custom signet.
Modified run script like this:
docker run -p 50001:50001 -p 8084:80 \
--volume $PWD/data_bitcoin_signet:/data \
--rm -i -t blockstream/esplora \
bash -c '
echo "Creating configuration file..."
cat << EOF > /srv/explorer/source/contrib/bitcoin-signet-explorer.conf.in
signet=1
[signet]
signetchallenge=51210............................. # CUSTOM SIGNET
server=1
peerbloomfilters=0
enforcenodebloom=1
disablewallet=1
listenonion=1
listen=1
mempoolfullrbf=1
blocknotify=pkill -USR1 electrs
maxmempool=1000
EOF
echo "Configuration file created. Starting explorer..."
/srv/explorer/run.sh bitcoin-signet explorer
'
Docker image:
blockstream/esplora latest 177ecccc19cb 4 months ago 1.03GB
Here is the panic:
2-thread 'blkfiles_fetcher' panicked at src/new_index/fetch.rs:143:17: 2-failed to index 4711 blocks from blk*.dat files
2-note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2-Config { log: StdErrLog { verbosity: Info, quiet: false, show_level: true, timestamp: Millisecond, modules: [], writer: "stderr", color_choice: Never, show_module_names: false }, network_type: Signet, db_path: "/data/electrs_bitcoin_db/signet/signet", daemon_dir: "/data/bitcoin/signet", blocks_dir: "/data/bitcoin/signet/blocks", daemon_rpc_addr: 127.0.0.1:38332, cookie: None, electrum_rpc_addr: 0.0.0.0:50001, http_addr: 127.0.0.1:3000, http_socket_file: Some("/var/electrs-rest.sock"), monitoring_addr: 0.0.0.0:4224, jsonrpc_import: false, light_mode: false, address_search: true, index_unspendables: false, cors: None, precache_scripts: None, utxos_limit: 500, electrum_txs_limit: 100000, electrum_banner: "Welcome to electrs-esplora 0.4.1", electrum_public_hosts: None, electrum_announce: false, tor_proxy: Some(127.0.0.1:9050) }
2-2024-09-06T11:22:52.780+00:00 - INFO NetworkInfo { version: 240100, subversion: "/Satoshi:24.1.0/", relayfee: 1e-5 }
2-2024-09-06T11:22:52.781+00:00 - INFO BlockchainInfo { chain: "signet", blocks: 4710, headers: 4710, bestblockhash: "00000077de172497375c8744b61f06f6c4967d4db55929131cde7a5b2864936b", pruned: false, verificationprogress: 1.0, initialblockdownload: Some(false) }
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 527
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 4
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Blockstream/esplora
-
testOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
Blockstream/esplora#676 ·
-
Split style.css into separate filesMay be free again @Randy808 claimed this 83 days ago, and no pull request is open. Open
Blockstream/esplora#665 · 1 assignee ·
-
"⌘K" may be macOS-specificPossibly taken @Tyagiquamar claimed this 57 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
Blockstream/esplora#664 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Blockstream/esplora#651 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Blockstream/esplora#637 ·
All issues in Blockstream/esplora
Similar issues
-
documentation enhancement first-time-contributor good first issue
Difficulty 1/5 Under an hour Newbie friendliness 84/100
SasanLabs/VulnerableApp#961 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Band: hits() drops git grep rows from CRLF files -> false "callers open" (and missed defs in reuse)Possibly taken @zhangkom claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DietrichGebert/ponytail#1543 ·
Maintainers usually reply within 2 days
-
marketing
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Fei2411/DeepSeek-Bot#2090 ·