zcash-android-wallet-sdk / cash.z.wallet.sdk.block / CompactBlockProcessor / ProcessorInfo / <init>

<init>

ProcessorInfo(networkBlockHeight: Int = -1, lastScannedHeight: Int = -1, lastDownloadedHeight: Int = -1, lastDownloadRange: IntRange = 0..-1, lastScanRange: IntRange = 0..-1)

Data class for holding detailed information about the processor.

Parameters

networkBlockHeight - the latest block available to lightwalletd that may or may not be downloaded by this wallet yet.

lastScannedHeight - the height up to which the wallet last scanned. This determines where the next scan will begin.

lastDownloadedHeight - the last compact block that was successfully downloaded.

lastDownloadRange - inclusive range to download. Meaning, if the range is 10..10, then we will download exactly block 10. If the range is 11..10, then we want to download block 11 but can't.

lastScanRange - inclusive range to scan.