Longest and slowest path wins when sending dm to a contact

Đang mở
#3,940 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C
Star
3.9k
Fork
1.5k
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
56

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của meshcore-dev/MeshCore

Tất cả issue của meshcore-dev/MeshCore

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.