We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eed586 commit 119809eCopy full SHA for 119809e
validator-api/src/rewarding/mod.rs
@@ -54,6 +54,8 @@ pub(crate) struct MixnodeToReward {
54
55
/// Total number of individual addresses that have delegated to this particular node
56
pub(crate) total_delegations: usize,
57
+ /// Node absolute uptime over total active set uptime
58
+ pub(crate) performance: Option<f64>
59
}
60
61
#[derive(Debug, Clone)]
@@ -285,6 +287,7 @@ impl Rewarder {
285
287
uptime: self
286
288
.calculate_absolute_uptime(mix.last_day_ipv4, mix.last_day_ipv6),
289
total_delegations,
290
+ performance: None
291
})
292
293
.filter(|node| node.uptime.u8() > 0)
0 commit comments