Expand description
Types and implementation for Testnet consensus parameters
Structs§
- Configured
Activation Heights - Configurable activation heights for Regtest and configured Testnets.
- Configured
Funding Stream Recipient - Configurable funding stream recipient for configured Testnets.
- Configured
Funding Streams - Configurable funding streams for configured Testnets.
- Parameters
- Network consensus parameters for test networks such as Regtest and the default Testnet.
- Parameters
Builder - 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 providedNetwork
.