Syncing

data class Syncing(val fraction: Float?, val eventsProcessed: Int, val totalEvents: Int, val phase: SyncPhase) : SyncStatus

A sync is in progress.

Constructors

Link copied to clipboard
constructor(fraction: Float?, eventsProcessed: Int, totalEvents: Int, phase: SyncPhase)

Properties

Link copied to clipboard

raw count from the indexer stream (-1 = replaying).

Link copied to clipboard

0f..1f when a count is known; null = indeterminate (the native replay tail, or a phase with no event count).

Link copied to clipboard

which sync is running — the presentation layer resolves the user-facing label from this.

Link copied to clipboard

the chain's dust-event tip (indexer maxId), 0 if unknown.