mirror of
https://github.com/transatoshi-mw/grin-explorer.git
synced 2025-10-22 13:53:40 +00:00
adding unspent outputs stats
This commit is contained in:
@@ -47,6 +47,8 @@ pub struct Dashboard {
|
||||
// mempool
|
||||
pub txns: String,
|
||||
pub stem: String,
|
||||
// utxo
|
||||
pub utxo_count: String,
|
||||
}
|
||||
|
||||
impl Dashboard {
|
||||
@@ -76,6 +78,7 @@ impl Dashboard {
|
||||
breakeven_cost: String::new(),
|
||||
txns: String::new(),
|
||||
stem: String::new(),
|
||||
utxo_count: String::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -241,6 +244,8 @@ pub struct Statistics {
|
||||
// Transactions & fees
|
||||
pub txns: Vec<String>,
|
||||
pub fees: Vec<String>,
|
||||
//UTXOs
|
||||
pub utxo_count: Vec<String>,
|
||||
}
|
||||
|
||||
impl Statistics {
|
||||
@@ -253,6 +258,7 @@ impl Statistics {
|
||||
hashrate: Vec::new(),
|
||||
txns: Vec::new(),
|
||||
fees: Vec::new(),
|
||||
utxo_count: Vec::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user