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.

Enumsยง

NetworkUpgrade
A Zcash network upgrade.

Constantsยง

CONSENSUS_BRANCH_IDS ๐Ÿ”’
Network Upgrade Consensus Branch Ids.
MAINNET_ACTIVATION_HEIGHTS ๐Ÿ”’
Mainnet network upgrade activation heights.
NETWORK_UPGRADES_IN_ORDER ๐Ÿ”’
A list of network upgrades in the order that they must be activated.
NU6_1_ACTIVATION_HEIGHT_TESTNET
The block height at which NU6.1 activates on the default Testnet.
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.