ElementsProject / ElementsProject/elements
Make setting up a regtest network easier
- Lenguaje dominante
- C++
- Estrellas
- 1.2k
- Forks
- 416
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 15
Descripción
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..
Guía de contribución
Línea de trabajo
Comience reproduciendo el equivalente en Elements de `bitcoind -regtest` y registre el comportamiento de `-regtest`, `-chain=elementsregtest`, `-server=1` y la configuración de monedas predeterminada. Lea el procesamiento de inicio de estas opciones y del RPC `rescanblockchain`. Se considera terminado cuando la configuración de regtest es sencilla, el puerto RPC es visible y una cadena predeterminada proporciona monedas utilizables sin las soluciones alternativas descritas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- blockchain, cli, developer-experience
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100