Module constants

Source
Expand description

Network-specific Zcash constants.

Modules§

mainnet
Constants for the Zcash main network.
regtest
Regtest constants
testnet
Constants for the Zcash test network.

Constants§

V3_TX_VERSION
Transaction version 3, which was introduced by the Overwinter network upgrade and allowed until Sapling activation. It is specified in § 7.1 Transaction Encoding and Consensus.
V3_VERSION_GROUP_ID
The version group ID for Zcash v3 transactions.
V4_TX_VERSION
Transaction version 4, which was introduced by the Sapling network upgrade. It is specified in § 7.1 Transaction Encoding and Consensus.
V4_VERSION_GROUP_ID
The version group ID for Zcash v4 transactions.
V5_TX_VERSION
Transaction version 5, which was introduced by the NU5 network upgrade. It is specified in § 7.1 Transaction Encoding and Consensus and ZIP 225.
V5_VERSION_GROUP_ID
The version group ID for Zcash v5 transactions.