Neptune-Crypto/neptune-core

Display `PeerStanding`'s latest reward & punishment times

Aperta

#475 aperta il 27 feb 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (45 fork)auto 404
good first issuelow priorityminorneptune-dashboard

Metriche repository

Star
 (110 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor