Neptune-Crypto/neptune-core

Display `PeerStanding`'s latest reward & punishment times

开放

#475 创建于 2025年2月27日

 (0 条评论) (0 个反应) (0 位负责人)Rust (45 个派生)auto 404
good first issuelow priorityminorneptune-dashboard

仓库指标

星标
 (110 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南