Skip to main content

Module network_upgrade

Module network_upgrade 

Source
Expand description

Network upgrade consensus parameters for Zcash.

Structsยง

ConsensusBranchId
The Consensus Branch Id, used to bind transactions and blocks to a particular network upgrade.
NetworkUpgradeIter
An iterator over the variants of NetworkUpgrade

Enumsยง

NetworkUpgrade
A Zcash network upgrade.

Constantsยง

CONSENSUS_BRANCH_IDS ๐Ÿ”’
Network Upgrade Consensus Branch Ids.
MAINNET_ACTIVATION_HEIGHTS ๐Ÿ”’
Mainnet network upgrade activation heights.
POST_BLOSSOM_POW_TARGET_SPACING
The target block spacing after Blossom activation.
POW_AVERAGING_WINDOW
The averaging window for difficulty threshold arithmetic mean calculations.
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.
TESTNET_MINIMUM_DIFFICULTY_START_HEIGHT ๐Ÿ”’
The start height for the testnet minimum difficulty consensus rule.