Constant zebra_chain::parameters::network_upgrade::TESTNET_ACTIVATION_HEIGHTS
source · pub(super) const TESTNET_ACTIVATION_HEIGHTS: &[(Height, NetworkUpgrade)];
Expand description
Testnet 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.