Feature Request: Let electrs and esplora be self-hosted by users (not currently possible)

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞

調査の方向性

この issue は Esplora の依存関係としての electrs に関するもので、Liquid ネットワークの同期中にリソース枯渇が発生すると報告しています。まず、メモリ制限を electrs と Esplora のどちらに実装すべきかを判断し、報告された 16 GB の制約で同期を再現して、クラッシュせずに完了できるリソース上限を定義してください。

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

説明

I did not see a way to open an issue on the Blockstream electrs fork. So I am opening it here as it is a dependency of Esplora.

My computer has 16 GB of RAM. Even if I'm only using a few GB of RAM before trying to sync electrs for the liquid network, it quickly consumes all of my RAM casuing both liquid and electrs to crash. Right now it is impossible to actually get electrs to work due to the memory leak or resource depletion. I happen to be on a computer with intel ME stripped out (impossible to do after sandy and ivy bridge) so I am able to handle 16 GB of RAM. However, most freedom computers which do not include backdoors in the CPU (like intel or AMD) actually are limited to 4GB of RAM. Does electrs (and blockstream green of which electrs is a dependency of to use it privately) actually require use of backdoored computers to use? I'd think that even 16 GB of RAM would have been enough. But we should also keep in mind the computers that are capped at 4 GB of RAM.

Is it possible to limit the amount of RAM used by electrs to prevent it from consuming all system resources and crashing? 16 GB of RAM is ALOT and should in itself be enough.

主要言語
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 を短くまとめたダイジェスト。