mirror of https://github.com/meshcore-dev/MeshCore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
acdf4e5bdc
anon-contacts-fix
default-scope
dev
fast-st7735-display
flood.max.advert
gh-pages
main
t-impulse-ui
companion-v1.0.0a
companion-v1.0.0b
companion-v1.0.0c
companion-v1.10.0
companion-v1.11.0
companion-v1.12.0
companion-v1.13.0
companion-v1.14.0
companion-v1.14.1
companion-v1.15.0
companion-v1.16.0
companion-v1.2.0
companion-v1.2.1
companion-v1.2.2
companion-v1.3.0
companion-v1.4.0
companion-v1.4.1
companion-v1.4.2
companion-v1.4.3
companion-v1.5.0
companion-v1.5.1
companion-v1.6.0
companion-v1.6.1
companion-v1.6.2
companion-v1.7.0
companion-v1.7.1
companion-v1.7.2
companion-v1.7.3
companion-v1.7.4
companion-v1.8.0
companion-v1.8.1
companion-v1.9.0
rep-v6
repeater-v1.0.0a
repeater-v1.0.0c
repeater-v1.0.0d
repeater-v1.10.0
repeater-v1.11.0
repeater-v1.12.0
repeater-v1.13.0
repeater-v1.14.0
repeater-v1.14.1
repeater-v1.15.0
repeater-v1.16.0
repeater-v1.2.0
repeater-v1.2.1
repeater-v1.2.2
repeater-v1.3.0
repeater-v1.4.0
repeater-v1.4.1
repeater-v1.4.2
repeater-v1.4.3
repeater-v1.5.0
repeater-v1.5.1
repeater-v1.6.0
repeater-v1.6.1
repeater-v1.6.2
repeater-v1.7.0
repeater-v1.7.1
repeater-v1.7.2
repeater-v1.7.3
repeater-v1.7.4
repeater-v1.8.0
repeater-v1.8.1
repeater-v1.9.0
repeater-v1.9.1
room-server-v1.0.0a
room-server-v1.0.0c
room-server-v1.10.0
room-server-v1.11.0
room-server-v1.12.0
room-server-v1.13.0
room-server-v1.14.0
room-server-v1.14.1
room-server-v1.15.0
room-server-v1.16.0
room-server-v1.2.0
room-server-v1.2.1
room-server-v1.2.2
room-server-v1.3.0
room-server-v1.4.0
room-server-v1.4.1
room-server-v1.4.2
room-server-v1.4.3
room-server-v1.5.0
room-server-v1.5.1
room-server-v1.6.0
room-server-v1.6.1
room-server-v1.6.2
room-server-v1.7.0
room-server-v1.7.1
room-server-v1.7.2
room-server-v1.7.3
room-server-v1.7.4
room-server-v1.8.0
room-server-v1.8.1
room-server-v1.9.0
room-v6
${ noResults }
hasSeen() was simultaneously a predicate and a mutator — it inserted the packet hash on every miss, making five call sites that only wanted to mark a packet as sent call it with the return value discarded. Split into: - wasSeen() — pure predicate, no side effects - markSeen() — explicit insert All query sites now call markSeen() immediately after wasSeen() returns false, preserving identical runtime behaviour. The five mark-only send sites (sendFlood, sendDirect, sendZeroHop x2) now call markSeen directly. Also fixes three bridge sites (BridgeBase, ESPNowBridge, RS232Bridge) that had the same query+implicit-insert pattern. Tests: add test/test_mesh_tables/ covering wasSeen purity, markSeen, dup stats, and clear. Update SHA256 mock to produce deterministic output (previously finalize() was a no-op). Add Packet.cpp to native build filter. |
6 days ago | |
|---|---|---|
| .. | ||
| test_simple_mesh_tables.cpp | refactor: split MeshTables::hasSeen into pure query + markSeen | 6 days ago |