BlockchainCommons / BlockchainCommons/Bitcoin-Standup-Scripts
bitcoin-cli not working when not logged in as standup
- Lenguaje dominante
- Shell
- Estrellas
- 57
- Forks
- 36
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
After running the standup script with default options (pruned testnet), latest block height was correct. Problem I ran into was that the readme in the Bitcoin-Standup-Scripts repo has you log in as root, so when I was trying to run bitcoin-cli it was giving me "error: Could not connect to the server 127.0.0.1:8332", looking for bitcoind running on the default mainnet port. Since bitcoind was running as the user standup with a custom .conf file (specifying testnet on port 18332) it wasn't reading from the same .conf file I guess. It worked fine when changing user back to standup
Guía de contribución
Línea de trabajo
Comienza con las instrucciones del README para ejecutar bitcoin-cli después de que el script de standup cree un nodo testnet podado. Comprueba cómo se relacionan el usuario documentado y el archivo de configuración con la conexión reportada a 127.0.0.1:8332, y considera el trabajo completo cuando el comando documentado utilice la instancia de standup en ejecución en lugar de la configuración predeterminada de mainnet.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100