sync_status

Function sync_status 

Source
pub async fn sync_status<W>(
    wallet: &W,
) -> Result<SyncStatus, SyncStatusError<W::Error>>
Expand description

Creates a self::SyncStatus from the wallet’s current crate::wallet::SyncState.

Intended to be called while self::sync is running in a separate task.