-
public class BlockHeight.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static BlockHeight.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final BlockHeightnew(ZcashNetwork zcashNetwork, Long blockHeight)final BlockHeightofLatestCheckpoint(Context context, ZcashNetwork zcashNetwork)Useful when creating a new wallet to reduce sync times. -
-
Method Detail
-
new
final BlockHeight new(ZcashNetwork zcashNetwork, Long blockHeight)
- Parameters:
zcashNetwork- Network to use for the block height.blockHeight- The block height.
-
ofLatestCheckpoint
final BlockHeight ofLatestCheckpoint(Context context, ZcashNetwork zcashNetwork)
Useful when creating a new wallet to reduce sync times.
- Parameters:
zcashNetwork- Network to use for the block height.
-
-
-
-