Longest and slowest path wins when sending dm to a contact

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c
領域
networking

調査の方向性

Start by tracing how MeshCore handles incoming path messages for direct messages and updates a contact’s route. Compare how the 4-hop and 8-hop paths are accepted when they arrive at different times, then identify the rule that determines which route is stored. Done means a contact keeps the preferable route instead of switching to a slower, longer one; the issue does not name files or tests, so locating the relevant routing code will take investigation.

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

説明

Scenario.

The network in Denmark has quite good coverage, and a path message might take different routes back to the sender of the dm.

I have noticed a couple of time that the contact receives a path message which updates the contact with the shortest route 4 hops.

Within milliseconds this is replaced with a new path to contact of 8 hops.

The logic I see is, that the slowest path wins, and the user ends up using the longest route for new dm's until this is reset using flood for the next dm.

主要言語
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 を短くまとめたダイジェスト。