This commit is contained in:
John Smith
2022-12-25 21:28:45 -05:00
parent e9da652e9a
commit 525baea32c
7 changed files with 9 additions and 373 deletions

View File

@@ -1514,6 +1514,7 @@ impl NetworkManager {
bps_down: 0.into(),
bps_up: 0.into(),
peers: Vec::new(),
};
}
let routing_table = self.routing_table();

View File

@@ -59,6 +59,10 @@ pub struct RoutingTableHealth {
pub unreliable_entry_count: usize,
/// Number of dead (always unresponsive) entries in the routing table
pub dead_entry_count: usize,
/// If PublicInternet network class is valid yet
pub public_internet_network_class_valid: bool, xxx do this and add to attachment calculation
/// If LocalNetwork network class is valid yet
pub local_network_network_class_valid: bool,
}
pub(super) struct RoutingTableUnlockedInner {