arena: vote author attribution by peer id over a window, follow renames #18

Merged
grenade merged 1 commits from arena/stable-attribution into main 2026-09-04 06:57:36 +00:00

1 Commits

Author SHA1 Message Date
Rob Thijssen
5067579d86 arena: vote author attribution by peer id over a window, follow renames
Telemetry node ids are per connection: a node that restarts or renames
comes back under a new id, so votes keyed by node id split across the old
and new identity, and with a lifetime attempt count the new identity had to
outvote the whole history before the name came back. Votes are now keyed by
peer id (stable across restarts and renames; node id only when telemetry
gave no peer id), kept for the last 20 blocks per author, and displayed
with the latest name telemetry reported for that peer, so a rename shows
within a block and a restart within a few. Lifetime attempts/attributed
counters are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
2026-09-04 09:57:13 +03:00