Expand description
Network upgrade consensus parameters for Zcash.
Structsยง
- Consensus
Branch Id - The Consensus Branch Id, used to bind transactions and blocks to a particular network upgrade.
- Network
Upgrade Iter - An iterator over the variants of NetworkUpgrade
Enumsยง
- Network
Upgrade - A Zcash network upgrade.
Constantsยง
- CONSENSUS_
BRANCH_ ๐IDS - Network Upgrade Consensus Branch Ids.
- MAINNET_
ACTIVATION_ ๐HEIGHTS - Mainnet network upgrade activation heights.
- MAX_
POW_ AVERAGING_ WINDOW - The largest averaging window used by any network upgrade.
- NU7_
POW_ TARGET_ SPACING_ RATIO - The ratio between the post-Blossom and post-NU7 target block spacings.
- POST_
BLOSSOM_ POW_ TARGET_ SPACING - The target block spacing after Blossom activation, and before NU7.
- POST_
NU7_ POW_ AVERAGING_ WINDOW - The averaging window for difficulty threshold arithmetic mean calculations, from NU7 onward.
- POST_
NU7_ POW_ TARGET_ SPACING - The target block spacing after NU7 activation.
- POST_
NU7_ ๐TESTNET_ MINIMUM_ DIFFICULTY_ GAP_ MULTIPLIER - The NU7 Testnet gap multiplier, preserving the 450-second threshold at 25-second spacing.
- POW_
AVERAGING_ WINDOW - The averaging window for difficulty threshold arithmetic mean calculations, before NU7.
- PRE_
BLOSSOM_ ๐POW_ TARGET_ SPACING - The target block spacing before Blossom.
- TESTNET_
ACTIVATION_ ๐HEIGHTS - Testnet network upgrade activation heights.
- TESTNET_
MAX_ TIME_ START_ HEIGHT - The activation height for the block maximum time rule on Testnet.
- TESTNET_
MINIMUM_ ๐DIFFICULTY_ GAP_ MULTIPLIER - The multiplier used to derive the testnet minimum difficulty block time gap threshold before NU7.
- TESTNET_
MINIMUM_ ๐DIFFICULTY_ START_ HEIGHT - The start height for the testnet minimum difficulty consensus rule.