Expand description
Types and implementation for Testnet consensus parameters
Structsยง
- Configurable activation heights for Regtest and configured Testnets.
- Configurable funding stream recipient for configured Testnets.
- Configurable funding streams for configured Testnets.
- Network consensus parameters for test networks such as Regtest and the default Testnet.
- Builder for the
Parameters
struct.
Constantsยง
- Maximum length for a configured human-readable prefix.
- Maximum length for a configured network name.
- 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
- The Regtest NU5 activation height in tests
- 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ยง
- Checks that the provided
FundingStreams
has sufficient recipient addresses for the funding stream address period of the providedNetwork
.