Neptune-Crypto/neptune-core

Display `PeerStanding`'s latest reward & punishment times

Open

#475 opened on Feb 27, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (45 forks)auto 404
good first issuelow priorityminorneptune-dashboard

Repository metrics

Stars
 (110 stars)
PR merge metrics
 (PR metrics pending)

Description

The struct PeerStanding records the most recent reward and the most recent punishment. Alongside, it records the time of the respective event. Currently, this timestamp is never used.

Quoting @Sword-Smith, “the timestamp could be very valuable for debugging purposes -- as it allows you to go into the logs and see what caused the negative sanction.” In order to effectively use it,1 the times should be displayed.

Footnotes

  1. I don't consider digging through some JSON output effective in this context

Contributor guide