[2.8] Store Meshtastic identity evidence + predicted 2.8 node ID
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 40/100
Hướng nghiên cứu
Start with the ObservedNode and ManagedNode models and the NodeInfoPacket history they are backfilled from, then look at the existing migrations and management commands for the pattern to follow. Add a normalised hex public key and an indexed crc32 id to ObservedNode, and meshtastic_public_key to ManagedNode, then extend the admin list filter. Done when the migration applies, the backfill is idempotent, malformed keys yield null, and a known test key predicts the expected id. Firmware reference: NodeDB.cpp:543.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of pskillen/meshflow-api#437 (Meshtastic 2.8.x support). Code: ID-1 · Priority: Must · Size: M
Summary
In 2.8, node number = crc32(public_key) (firmware NodeDB.cpp:543). Upgrades reuse the existing private key, so we can predict each node's 2.8 number from keys we already store. Do this before any other upgrade work so links can be made the moment upgraded nodes appear.
ObservedNode: add a normalised public key (hex) andmeshtastic_key_node_id(crc32 of the 32-byte key), indexed.ManagedNode: addmeshtastic_public_key.- Backfill command from
ObservedNodeandNodeInfoPackethistory.
Acceptance criteria
- Migration + idempotent backfill management command
- Known test key predicts the expected id; cross-checked on real hardware (2.7 → 2.8.2 upgrade of a spare node)
- Malformed / non-32-byte keys produce null, not errors
- Admin list filter/search on predicted id
Depends on: none
Refs: Report §4.1 linking design. Worked example: !da545c78 → !4396524c (unverified).
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 0
- Merge trung bình
- 23 giờ 9 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pskillen/meshflow-api
-
enhancement meshtastic-2.8
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pskillen/meshflow-api#459 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
pskillen/meshflow-api#480 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
pskillen/meshflow-api#479 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
pskillen/meshflow-api#478 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 73/100
pskillen/meshflow-api#472 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pskillen/meshflow-api
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
huggingface/accelerate#4511 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
pylint-dev/pylint#11791 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Rasterio granule reads never retry, so one 503 (Service Unavailable) fails the whole requestCó thể đã có người làm @chuckwondo đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
developmentseed/titiler-cmr#305 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày