Module testnet

Source
Expand description

Types and implementation for Testnet consensus parameters

Structs§

ConfiguredActivationHeights
Configurable activation heights for Regtest and configured Testnets.
ConfiguredFundingStreamRecipient
Configurable funding stream recipient for configured Testnets.
ConfiguredFundingStreams
Configurable funding streams for configured Testnets.
Parameters
Network consensus parameters for test networks such as Regtest and the default Testnet.
ParametersBuilder
Builder for the Parameters struct.

Constants§

MAX_HRP_LENGTH
Maximum length for a configured human-readable prefix.
MAX_NETWORK_NAME_LENGTH
Maximum length for a configured network name.
PRE_BLOSSOM_REGTEST_HALVING_INTERVAL 🔒
The halving height interval in the regtest is 6 hours. zcashd regtest halving interval
REGTEST_GENESIS_HASH 🔒
The block hash of the Regtest genesis block, zcash-cli -regtest getblockhash 0
REGTEST_NU5_ACTIVATION_HEIGHT
The Regtest NU5 activation height in tests
RESERVED_NETWORK_NAMES
Reserved network names that should not be allowed for configured Testnets.
TESTNET_GENESIS_HASH 🔒
The block hash of the Testnet genesis block, zcash-cli -testnet getblockhash 0

Functions§

check_funding_stream_address_period 🔒
Checks that the provided FundingStreams has sufficient recipient addresses for the funding stream address period of the provided Network.