//! Sync-state contract: where the sync loop sits relative to the chain tip (SPEC §6).
use ;
/// Where the sync loop is relative to the chain tip (a tri-state, pushed via a `SyncProgress`
/// event).
///
/// Serializes as a snake_case string on the wire (`"idle"` / `"syncing"` / `"synced"`).
/// A snapshot of sync state for a wallet.