anya-core 1.2.0

Enterprise-grade Bitcoin Infrastructure Platform
Documentation
1
2
3
4
5
6
7
use std::error::Error;
impl LightningNode {
    pub async fn sync_network_graph(&self) -> Result<()> {
        let rapid_sync = RapidGossipSync::new(self.network_graph.clone());
        rapid_sync.sync_from_file("latest_snapshot").await
    }
}