pub async fn sync_status<W>(
wallet: &W,
) -> Result<SyncStatus, SyncStatusError<W::Error>>where
W: SyncWallet + SyncBlocks,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.