From: Matt Corallo Date: Wed, 8 Feb 2023 16:55:23 +0000 (+0000) Subject: Stop pruning the network graph on startup X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=34466acd2f9d06e0dcd6bd9aeb322ede31ce2fcf;p=rapid-gossip-sync-server Stop pruning the network graph on startup There's not a lot of reason for this and better to keep things around until we go to build the gossip output --- diff --git a/src/lib.rs b/src/lib.rs index 25ce1a2..026357c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,7 +60,6 @@ impl RapidSyncProcessor { let mut buffered_reader = BufReader::new(file); let network_graph_result = NetworkGraph::read(&mut buffered_reader, logger); if let Ok(network_graph) = network_graph_result { - network_graph.remove_stale_channels_and_tracking(); println!("Initialized from cached network graph!"); network_graph } else {