-
public final class ZcashNetworkThe Zcash network. Should be one of ZcashNetwork.Testnet or ZcashNetwork.Mainnet.
The constructor for the network is public to allow for certain test cases to use a custom "darkside" network.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classZcashNetwork.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integeridprivate final StringnetworkNameprivate final BlockHeightsaplingActivationHeightprivate final BlockHeightorchardActivationHeight
-
Constructor Summary
Constructors Constructor Description ZcashNetwork(Integer id, String networkName, BlockHeight saplingActivationHeight, BlockHeight orchardActivationHeight)
-
Method Summary
Modifier and Type Method Description final IntegergetId()final StringgetNetworkName()final BlockHeightgetSaplingActivationHeight()final BlockHeightgetOrchardActivationHeight()final BooleanisMainnet()final BooleanisTestnet()-
-
Constructor Detail
-
ZcashNetwork
ZcashNetwork(Integer id, String networkName, BlockHeight saplingActivationHeight, BlockHeight orchardActivationHeight)
-
-
Method Detail
-
getNetworkName
final String getNetworkName()
-
getSaplingActivationHeight
final BlockHeight getSaplingActivationHeight()
-
getOrchardActivationHeight
final BlockHeight getOrchardActivationHeight()
-
-
-
-