Constant zebra_chain::parameters::network_upgrade::MAINNET_ACTIVATION_HEIGHTS
source · pub(super) const MAINNET_ACTIVATION_HEIGHTS: &[(Height, NetworkUpgrade)];
Expand description
Mainnet network upgrade activation heights.
This is actually a bijective map, but it is const, so we use a vector, and do the uniqueness check in the unit tests.
§Correctness
Don’t use this directly; use NetworkUpgrade::activation_list() so that we can switch to fake activation heights for some tests.