arena: name authors from telemetry first-import; leaderboard shows author, drops preimage and ours #17

Merged
grenade merged 1 commits from arena/author-names into main 2026-09-04 06:42:51 +00:00
Owner

Closes #11.

The exporter ingests the telemetry feed's ImportedBlock reports and keeps, per block hash, the first reporter and its lead over the second. Each tip block is joined with that after 8 s. A reward preimage gets the node's telemetry name once at least 3 of its blocks were attempted and 60% or more were first reported by the same node. Emitted as quantus_author_node_info{preimage,display,node_name,peer_id,self} <confidence> plus attempts/attributed counters per preimage.

Measured today: first-import leads are 40-100 ms for authors on the feed (the network is better connected than when 200-700 ms was measured), so the lead threshold is 20 ms and identity consistency carries the attribution. Validated for ten minutes against bob: ours -> baba-gorchitsa, 0x2ccf39 -> quanpool-planck, GUI miners -> QuantusMinerGUI, all at confidence 1.0.

Dashboard: the leaderboard joins quantus_author_node_info and shows the display label as "author" (node name, else 0x134e73…df59) in place of the reward preimage; the "ours" column is gone, so the panel is fit to share. ARENA_DEBUG=1 logs each attribution decision.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5

Closes #11. The exporter ingests the telemetry feed's ImportedBlock reports and keeps, per block hash, the first reporter and its lead over the second. Each tip block is joined with that after 8 s. A reward preimage gets the node's telemetry name once at least 3 of its blocks were attempted and 60% or more were first reported by the same node. Emitted as `quantus_author_node_info{preimage,display,node_name,peer_id,self} <confidence>` plus attempts/attributed counters per preimage. Measured today: first-import leads are 40-100 ms for authors on the feed (the network is better connected than when 200-700 ms was measured), so the lead threshold is 20 ms and identity consistency carries the attribution. Validated for ten minutes against bob: ours -> baba-gorchitsa, 0x2ccf39 -> quanpool-planck, GUI miners -> QuantusMinerGUI, all at confidence 1.0. Dashboard: the leaderboard joins `quantus_author_node_info` and shows the display label as "author" (node name, else `0x134e73…df59`) in place of the reward preimage; the "ours" column is gone, so the panel is fit to share. `ARENA_DEBUG=1` logs each attribution decision. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
grenade added 1 commit 2026-09-04 06:42:45 +00:00
The exporter ingests the feed's ImportedBlock (code 6) reports and keeps,
per block hash, the first reporter and its lead over the second. Each tip
block is joined with that after 8 s; a reward preimage gets the node's
telemetry name once at least 3 of its blocks were attempted and 60% or more
were first reported by the same node. Emitted as
quantus_author_node_info{preimage,display,node_name,peer_id,self} confidence
with attempts/attributed counters per preimage; display is the name, or
the abbreviated preimage (first 8, last 4) when no confident attribution.

Measured today: leads are 40-100 ms for authors on the feed (the network is
better connected than when 200-700 ms was measured), so the lead threshold
is 20 ms and identity consistency carries the attribution. Validated for
ten minutes against bob: ours -> baba-gorchitsa, 0x2ccf39 -> quanpool-planck,
GUI miners -> QuantusMinerGUI at confidence 1.0.

Dashboard: the leaderboard joins quantus_author_node_info and shows the
display label as "author" in place of the reward preimage; the "ours" column
is gone, so the panel is fit to share. ARENA_DEBUG=1 turns on debug logging
(per-block attribution decisions).

Closes #11.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
grenade merged commit 933f9870a1 into main 2026-09-04 06:42:51 +00:00
grenade deleted branch arena/author-names 2026-09-04 06:42:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lair/quantus#17