Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Make setting up a regtest network easier

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp

調査の方向性

まず bitcoind -regtest に相当する Elements の動作を再現し、-regtest-chain=elementsregtest-server=1、およびデフォルトの coin セットアップの挙動を記録します。これらのオプションと rescanblockchain RPC の起動時の処理を読みます。regtest のセットアップが簡単で、RPC ポートが確認でき、デフォルトの chain が説明されている回避策なしで使用可能な coin を提供すれば完了です。

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

説明

Some things I have ran into many times in the past that are just really annoying for developer experience:

  • -regtest gives you bitcoin regtest. Should really make that equivalent to -chain=elementsregtest.
  • -server=1 doesn't print what RPC port is being listened to. This might be a bitcoind issue too, but anyone can google the default regtest RPC port for Bitcoin, I always spend 3 minutes trying to figure out what the one for elementsregtest is and eventually giving up and using -rpcport=8888..
  • There are no coins in the default chain. I know this might be a feature, but if no parent chain info is given, maybe there should be money. I tried adding -initialfreecoins=2100000000000000 -anyonecanspendaremine=1 also without success. So I'm now at figuring out how to add money. It seems like the rescanblockchain rpc is needed now.

All this which in Bitcoin is just bitcoind -regtest is a real pain for Elements..

主要言語
C++
スター
1.2k
フォーク
418
平均マージ
1日 12時間
マージ済み PR(30日)
13

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

ElementsProject/elements のほかの issue

ElementsProject/elements の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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