Feature request: get time sync from nearby/faraway nodes

Aberta
#4,008 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
c

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C
Estrelas
3.9k
Forks
1.5k
Merge médio
2d 19h
PRs com merge (30d)
61

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de meshcore-dev/MeshCore

Todas as issues de meshcore-dev/MeshCore

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.