hirosystems / hirosystems/stacks-devnet-api

remove `sleep(Duration::from_secs(5));` from `deploy_devnet`

Abierto
#9 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
2
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Currently when deploying a devnet, we sleep for 5 seconds to allow the bitcoin node to get initialized before starting the stacks node.

The chain coordinator should communicate with the API server to indicate that the bitcoin node is ready, and _then_ the subsequent nodes should be deployed.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start at deploy_devnet and locate the fixed sleep after the bitcoin node is deployed. Trace how the chain coordinator and API server currently communicate, then determine how readiness should be signaled before subsequent nodes start. Done means deployment no longer relies on the five-second delay and waits for bitcoin readiness instead.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
backend, backend-api-design
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.