Package-level declarations
Types
A block pinned as a chain-instance identity: its height and hash. See SyncStateManager.
Detects a chain RESET — a localnet docker down/up replaces the chain with a fresh genesis — and wipes the stale wallet caches so they re-sync from the new chain.
Manages subscription to dust-related blockchain events and syncs them to DustLocalState.
Raised from inside the subscription flow when the indexer reports a highestTransactionId lower than what we have locally. Means the server's view of the chain went backwards (reorg, indexer DB wiped, dev localnet reset from genesis). SubscriptionManager catches this, wipes local state via performFullResync, and lets kotlinx.coroutines.flow.retryWhen restart the subscription cleanly from the new server truth.
Manages subscription lifecycle for UTXO syncing.
Manages subscription sync state for resuming after app restarts.