Initial commit
This commit is contained in:
14
docs/-sdk-synchronizer/-sync-state/-cache-only/-init-.md
Normal file
14
docs/-sdk-synchronizer/-sync-state/-cache-only/-init-.md
Normal file
@@ -0,0 +1,14 @@
|
||||
[zcash-android-wallet-sdk](../../../../index.md) / [cash.z.ecc.android.sdk.data](../../../index.md) / [SdkSynchronizer](../../index.md) / [SyncState](../index.md) / [CacheOnly](index.md) / [<init>](./-init-.md)
|
||||
|
||||
# <init>
|
||||
|
||||
`CacheOnly(startingBlockHeight: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = 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.
|
||||
|
||||
### 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.
|
||||
26
docs/-sdk-synchronizer/-sync-state/-cache-only/README.md
Normal file
26
docs/-sdk-synchronizer/-sync-state/-cache-only/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
[zcash-android-wallet-sdk](../../../../index.md) / [cash.z.ecc.android.sdk.data](../../../index.md) / [SdkSynchronizer](../../index.md) / [SyncState](../index.md) / [CacheOnly](./index.md)
|
||||
|
||||
# CacheOnly
|
||||
|
||||
`class CacheOnly : `[`SdkSynchronizer.SyncState`](../index.md)
|
||||
|
||||
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>](-init-.md) | `CacheOnly(startingBlockHeight: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = Int.MAX_VALUE)`<br>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](starting-block-height.md) | `val startingBlockHeight: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)<br>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. |
|
||||
@@ -0,0 +1,9 @@
|
||||
[zcash-android-wallet-sdk](../../../../index.md) / [cash.z.ecc.android.sdk.data](../../../index.md) / [SdkSynchronizer](../../index.md) / [SyncState](../index.md) / [CacheOnly](index.md) / [startingBlockHeight](./starting-block-height.md)
|
||||
|
||||
# startingBlockHeight
|
||||
|
||||
`val startingBlockHeight: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user