MeshCLI and RoomServer initialization with identity and storage handler support; update neighbor listing to filter repeaters and zero hop nodes.

This commit is contained in:
Lloyd
2025-12-20 22:03:02 +00:00
parent 6c2c2a13aa
commit f5daf41825
4 changed files with 88 additions and 19 deletions
+2 -1
View File
@@ -557,7 +557,7 @@ class SQLiteHandler:
neighbors = conn.execute("""
SELECT pubkey, node_name, is_repeater, route_type, contact_type,
latitude, longitude, first_seen, last_seen, rssi, snr, advert_count
latitude, longitude, first_seen, last_seen, rssi, snr, advert_count, zero_hop
FROM adverts a1
WHERE last_seen = (
SELECT MAX(last_seen)
@@ -581,6 +581,7 @@ class SQLiteHandler:
"rssi": row["rssi"],
"snr": row["snr"],
"advert_count": row["advert_count"],
"zero_hop": bool(row["zero_hop"]),
}
return result