zcash-android-wallet-sdk / cash.z.wallet.sdk.block / CompactBlockProcessor / onChainErrorListener

onChainErrorListener

var onChainErrorListener: ((Int, Int) -> Any)?

Callbaqck for reorgs. This callback is invoked when validation fails with the height at which an error was found and the lower bound to which the data will rewind, at most.