Skip to content

Show per-aircraft peer count in detail panel#64

Merged
MrSuttonmann merged 1 commit into
mainfrom
p2p-peer-count
May 3, 2026
Merged

Show per-aircraft peer count in detail panel#64
MrSuttonmann merged 1 commit into
mainfrom
p2p-peer-count

Conversation

@MrSuttonmann
Copy link
Copy Markdown
Owner

Relay tracks a contributor WebSocket set per ICAO and emits seen_by_others per-recipient in each aggregate broadcast (subtracting the recipient from the count). The .NET side carries it through SnapshotAircraft + PeerMerge.Combine, and strips it from both outbound P2P paths so a relay-computed value is never echoed back. The detail panel surfaces "Also seen by N peer(s)" alongside the existing stats, hidden when zero or absent.

Relay tracks a contributor WebSocket set per ICAO and emits
seen_by_others per-recipient in each aggregate broadcast (subtracting
the recipient from the count). The .NET side carries it through
SnapshotAircraft + PeerMerge.Combine, and strips it from both outbound
P2P paths so a relay-computed value is never echoed back. The detail
panel surfaces "Also seen by N peer(s)" alongside the existing stats,
hidden when zero or absent.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MrSuttonmann MrSuttonmann merged commit 4930208 into main May 3, 2026
11 checks passed
@MrSuttonmann MrSuttonmann deleted the p2p-peer-count branch May 3, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant