WalletBackupPrefs

data class WalletBackupPrefs(val dustBackupEnabled: Boolean, val dustBackupOptedOut: Boolean)

Wallet-level backup preferences that travel WITH the wallet (inside the seed-keyed app-state blob) instead of dying with the install (package-local prefs).

Why: on a fresh install the dust-backup toggle state was unrecoverable, so the app couldn't know a cloud checkpoint existed and silently fell back to a genesis replay. These prefs restore silently with the app-state blob (Block Store — no consent), letting the host drive the restore-over-genesis flow. See docs/projects/dust-backup-restore-continuity.md.

Constructors

Link copied to clipboard
constructor(dustBackupEnabled: Boolean, dustBackupOptedOut: Boolean)

Properties

Link copied to clipboard

the user actually enabled dust cloud backup (the committed toggle — consent granted at least once), not merely "never opted out".

Link copied to clipboard

the user explicitly disabled backup (#246). A restored opted-out wallet must never be re-prompted for consent.