Feature request: get time sync from nearby/faraway nodes

オープン
#4,008 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
c

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C
スター
3.9k
フォーク
1.5k
平均マージ
2日 7時間
マージ済み PR(30日)
56

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

meshcore-dev/MeshCore のほかの issue

meshcore-dev/MeshCore の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。