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.
FAKE_MAINNET_ACTIVATION_HEIGHTS 🔒
Fake mainnet network upgrade activation heights, used in tests.
FAKE_TESTNET_ACTIVATION_HEIGHTS 🔒
Fake testnet network upgrade activation heights, used in tests.
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.
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.