mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
Merge branch 'master' into pibd_impl
This commit is contained in:
commit
6412fd1a8e
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ impl Default for ServerStateInfo {
|
||||||
}
|
}
|
||||||
/// Simpler thread-unaware version of above to be populated and returned to
|
/// Simpler thread-unaware version of above to be populated and returned to
|
||||||
/// consumers might be interested in, such as test results or UI
|
/// consumers might be interested in, such as test results or UI
|
||||||
#[derive(Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct ServerStats {
|
pub struct ServerStats {
|
||||||
/// Number of peers
|
/// Number of peers
|
||||||
pub peer_count: u32,
|
pub peer_count: u32,
|
||||||
|
@ -141,7 +141,7 @@ pub struct StratumStats {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Stats on the last WINDOW blocks and the difficulty calculation
|
/// Stats on the last WINDOW blocks and the difficulty calculation
|
||||||
#[derive(Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct DiffStats {
|
pub struct DiffStats {
|
||||||
/// latest height
|
/// latest height
|
||||||
pub height: u64,
|
pub height: u64,
|
||||||
|
|
Loading…
Reference in a new issue