docker run bitcoin testnet3 and signet doesn't work well

オープン
#503 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker

調査の方向性

リンクされた build と Bitcoin testnet3 の手順を使用して Docker セットアップを再現し、その後 testnet3 および signet の動作を regtest と比較します。まず、コンテナの nginx 設定、electrs のログ、/var/electrs-rest.sock の存在を確認します。同期後にバックエンド REST サービスが起動し、testnet3 と signet 用のソケットが作成されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

run esplora via docker:

  1. build the docker image first on server according to https://github.com/Blockstream/esplora?tab=readme-ov-file#how-to-build-the-docker-image

  2. run testnet3 according to https://github.com/Blockstream/esplora?tab=readme-ov-file#how-to-run-the-explorer-for-bitcoin-testnet3

bitcoind can sync up blocks normally, yet the backend service is not started.

check nginx config in the container:

CleanShot-20240609014811

ls under /var:

CleanShot-20240609014718

/var/electrs-rest.sock does not exist

check electrs logs:

CleanShot-20240609015508

it keeps printing the same log without errors after syncing all the blocks.

--

try to run bitcoin signet, the phenomenon is the same as testnet3

--

try to run bitcoin regtest, everything works well.

check regtest electrs logs:

CleanShot-20240609020105

it has 2 lines of output that say the rest service is up, once the blocks are synced, whereas testnet3 and signet don't have this kind of log.

please check

主要言語
JavaScript
スター
1.3k
フォーク
527
平均マージ
2日 5時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Blockstream/esplora のほかの issue

Blockstream/esplora の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。