Feature request: get time sync from nearby/faraway nodes

Abierto
#4,008 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
c

Línea de trabajo

Start by reading the firmware’s timekeeping and node communication entry points to find how time is initialized and whether nodes currently exchange timestamps; the issue does not name files or tests. Compare the proposed trusted-key and nearby-node approaches, including how to validate timestamps and agreement across nodes. Done criteria need agreement on the design and how it will be tested.

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

Descripción

Hopefully I am not missing anything but ... when most nodes reboot they lose time and date, no?

Maybe in settings menu we can set 2-3 public keys from where the node can get time sync. Like a NTP server.

OR

If storing 2-3 keys use storage resources, maybe firmware can act like this:

If current time is lower than year 2020 or something, then it gets a sync from nearby nodes. If there are more than X nodes that sent about the same time.
To prevent bad values or abuse, maybe get from nodes from various signal values and distances.

Lenguaje dominante
C
Estrellas
3.9k
Forks
1.5k
Merge medio
2 d 7 h
PR fusionados (30 d)
56

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de meshcore-dev/MeshCore

Todos los issues de meshcore-dev/MeshCore

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.