use std::collections::HashMap;
pub struct MonitoringSystem;
impl Default for MonitoringSystem {
fn default() -> Self {
Self::new()
}
}
impl MonitoringSystem {
pub fn new() -> Self {
Self
}
pub fn update_metric(&self, _name: &str, _value: f64) -> Result<(), String> {
Ok(())
}
pub fn get_metrics(&self) -> HashMap<String, f64> {
HashMap::new()
}
}
pub struct Registry;
impl Default for Registry {
fn default() -> Self {
Self::new()
}
}
impl Registry {
pub fn new() -> Self {
Self
}
}
pub struct NetworkMetric;
impl NetworkMetric {
pub fn new(_registry: &Registry) -> Self {
Self
}
pub fn update(&self, _value: f64) {}
pub fn get_value(&self) -> f64 {
0.0
}
pub fn description(&self) -> &'static str {
"Network health status"
}
}
pub struct FeeMetric;
impl FeeMetric {
pub fn new(_registry: &Registry) -> Self {
Self
}
pub fn update(&self, _value: f64) {}
pub fn get_value(&self) -> f64 {
0.0
}
pub fn description(&self) -> &'static str {
"Current fee rate and distribution"
}
}