-
public final class JniWalletSummaryServes as cross layer (Kotlin, Rust) communication class.
-
-
Field Summary
Fields Modifier and Type Field Description private final Array<JniAccountBalance>accountBalancesprivate final LongchainTipHeightprivate final LongfullyScannedHeightprivate final LongscanProgressNumeratorprivate final LongscanProgressDenominatorprivate final LongrecoveryProgressNumeratorprivate final LongrecoveryProgressDenominatorprivate final LongnextSaplingSubtreeIndexprivate final LongnextOrchardSubtreeIndex
-
Constructor Summary
Constructors Constructor Description JniWalletSummary(Array<JniAccountBalance> accountBalances, Long chainTipHeight, Long fullyScannedHeight, Long scanProgressNumerator, Long scanProgressDenominator, Long recoveryProgressNumerator, Long recoveryProgressDenominator, Long nextSaplingSubtreeIndex, Long nextOrchardSubtreeIndex)
-
Method Summary
Modifier and Type Method Description final Array<JniAccountBalance>getAccountBalances()final LonggetChainTipHeight()final LonggetFullyScannedHeight()final LonggetScanProgressNumerator()final LonggetScanProgressDenominator()final LonggetRecoveryProgressNumerator()final LonggetRecoveryProgressDenominator()final LonggetNextSaplingSubtreeIndex()final LonggetNextOrchardSubtreeIndex()-
-
Constructor Detail
-
JniWalletSummary
JniWalletSummary(Array<JniAccountBalance> accountBalances, Long chainTipHeight, Long fullyScannedHeight, Long scanProgressNumerator, Long scanProgressDenominator, Long recoveryProgressNumerator, Long recoveryProgressDenominator, Long nextSaplingSubtreeIndex, Long nextOrchardSubtreeIndex)
- Parameters:
accountBalances- the balances of the wallet accountschainTipHeight- the wallet's view of the current chain tipfullyScannedHeight- the height below which all blocks have been scanned by the wallet, ignoring blocks below the wallet birthday.scanProgressNumerator- the numerator of the scan progress ratioscanProgressDenominator- the denominator of the scan progress ratio.recoveryProgressNumerator- the numerator of the recovery progress ratiorecoveryProgressDenominator- the denominator of the recovery progress ratio.nextSaplingSubtreeIndex- the Sapling subtree index that should start the next range of subtree roots passed toBackend.putSaplingSubtreeRoots.nextOrchardSubtreeIndex- the Orchard subtree index that should start the next range of subtree roots passed toBackend.putOrchardSubtreeRoots.
-
-
Method Detail
-
getAccountBalances
final Array<JniAccountBalance> getAccountBalances()
-
getChainTipHeight
final Long getChainTipHeight()
-
getFullyScannedHeight
final Long getFullyScannedHeight()
-
getScanProgressNumerator
final Long getScanProgressNumerator()
-
getScanProgressDenominator
final Long getScanProgressDenominator()
-
getRecoveryProgressNumerator
final Long getRecoveryProgressNumerator()
-
getRecoveryProgressDenominator
final Long getRecoveryProgressDenominator()
-
getNextSaplingSubtreeIndex
final Long getNextSaplingSubtreeIndex()
-
getNextOrchardSubtreeIndex
final Long getNextOrchardSubtreeIndex()
-
-
-
-