zcash-android-wallet-sdk/docs/-sdk-synchronizer/-sync-state/-cache-only
Kevin Gorham aa569c99dd
Major refactor: corrected package name.
Now the SDK matches everything else that we have published to bintray and jcenter.
2020-06-10 03:08:19 -04:00
..
-init-.md Major refactor: corrected package name. 2020-06-10 03:08:19 -04:00
README.md Major refactor: corrected package name. 2020-06-10 03:08:19 -04:00
starting-block-height.md Major refactor: corrected package name. 2020-06-10 03:08:19 -04:00

README.md

zcash-android-wallet-sdk / cash.z.ecc.android.sdk.data / SdkSynchronizer / SyncState / CacheOnly

CacheOnly

class CacheOnly : SdkSynchronizer.SyncState

State for when compact blocks have been downloaded but not scanned. This state is typically achieved when the app was previously started but killed before the first scan took place. In this case, we do not need to download compact blocks that we already have.

Parameters

startingBlockHeight - the last block that has been downloaded into the cache. We do not need to download any blocks before this height because we already have them.

Constructors

Name Summary
<init> CacheOnly(startingBlockHeight: Int = Int.MAX_VALUE)
State for when compact blocks have been downloaded but not scanned. This state is typically achieved when the app was previously started but killed before the first scan took place. In this case, we do not need to download compact blocks that we already have.

Properties

Name Summary
startingBlockHeight val startingBlockHeight: Int
the last block that has been downloaded into the cache. We do not need to download any blocks before this height because we already have them.