Function check_sync

Source
async fn check_sync(peer: &'static Peer, path: Path) -> Result<()>
Expand description

Checks if this node is in sync for the given path with the given peer.

Syncs whenever a difference is detected.