pub async fn start_snapshot(mode: SnapshotMode) -> Result<(), Box<dyn Error>>
Initiates a new snapshot process
Collects the local transaction log and sends snapshot requests to all peers.