Function get_consensus_heights

Source
pub fn get_consensus_heights(
    network_name: NetworkName,
    is_devnet: bool,
) -> Vec<u32>
Expand description

Get the consensus heights for the current network. First check the CONSENSUS_VERSION_HEIGHTS environment variable. Otherwise, if is_devnet is true, then return the test consensus heights. Otherwise, return the consensus heights for the given network.