zcash-android-wallet-sdk / cash.z.wallet.sdk / Synchronizer / Status

Status

enum class Status

Represents the status of this Synchronizer, which is useful for communicating to the user.

Enum Values

STOPPED

Indicates that stop has been called on this Synchronizer and it will no longer be used.

DISCONNECTED

Indicates that this Synchronizer is disconnected from its lightwalletd server. When set, a UI element may want to turn red.

DOWNLOADING

Indicates that this Synchronizer is actively downloading new blocks from the server.

VALIDATING

Indicates that this Synchronizer is actively validating new blocks that were downloaded from the server. Blocks need to be verified before they are scanned. This confirms that each block is chain-sequential, thereby detecting missing blocks and reorgs.

SCANNING

Indicates that this Synchronizer is actively decrypting new blocks that were downloaded from the server.

SYNCED

Indicates that this Synchronizer is fully up to date and ready for all wallet functions. When set, a UI element may want to turn green. In this state, the balance can be trusted.