ElementsProject / ElementsProject/elements

Make setting up a regtest network easier

Aperta
#1,253 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
1.2k
Fork
416
Merge medio
1g 23h
PR unite (30g)
15

Descrizione

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..

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Iniziate riproducendo l’equivalente Elements di `bitcoind -regtest` e registrate il comportamento di `-regtest`, `-chain=elementsregtest`, `-server=1` e della configurazione predefinita delle coin. Leggete la gestione all’avvio di queste opzioni e della RPC `rescanblockchain`. Il lavoro è completato quando la configurazione regtest è semplice, la porta RPC è visibile e una chain predefinita fornisce coin utilizzabili senza le soluzioni alternative descritte.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp
Ambito
blockchain, cli, developer-experience
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.