fn min_specified_for_upgrade(network: Network, network_upgrade: NetworkUpgrade) -> Version {
        // TODO: Should we reject earlier protocol versions during our initial
        //       sync? zcashd accepts 170_002 or later during its initial sync.
        Version(match (network, network_upgrade) {
            (_, Genesis) | (_, BeforeOverwinter) => 170_002,
            (Testnet, Overwinter) => 170_003,
            (Mainnet, Overwinter) => 170_005,
            (_, Sapling) => 170_007,
            (Testnet, Blossom) => 170_008,
            (Mainnet, Blossom) => 170_009,
            (Testnet, Heartwood) => 170_010,
            (Mainnet, Heartwood) => 170_011,
            (Testnet, Canopy) => 170_012,
            (Mainnet, Canopy) => 170_013,
            (Testnet, Nu5) => 170_015,
            (Mainnet, Nu5) => unreachable!("Nu5 Mainnet protocol version not yet defined"),
        })
    }
/// Returns the minimum specified network protocol version for `network` and
/// `network_upgrade`.
Returns the minimum specified network protocol version for `network` and
`network_upgrade`.
Returns the minimum specified network protocol version for ` network ` and ` network_upgrade ` .
fn min_specified_for_upgrade(network: Network, network_upgrade: NetworkUpgrade) -> Version {
        // TODO: Should we reject earlier protocol versions during our initial
        //       sync? zcashd accepts 170_002 or later during its initial sync.
        Version(match (network, network_upgrade) {
            (_, Genesis) | (_, BeforeOverwinter) => 170_002,
            (Testnet, Overwinter) => 170_003,
            (Mainnet, Overwinter) => 170_005,
            (_, Sapling) => 170_007,
            (Testnet, Blossom) => 170_008,
            (Mainnet, Blossom) => 170_009,
            (Testnet, Heartwood) => 170_010,
            (Mainnet, Heartwood) => 170_011,
            (Testnet, Canopy) => 170_012,
            (Mainnet, Canopy) => 170_013,
            (Testnet, Nu5) => 170_015,
            (Mainnet, Nu5) => unreachable!("Nu5 Mainnet protocol version not yet defined"),
        })
    }
fn min_specified_for_upgrade ( network : Network , network_upgrade : NetworkUpgrade ) -> Version { // TODO: Should we reject earlier protocol versions during our initial //       sync? zcashd accepts 170_002 or later during its initial sync. Version ( match ( network , network_upgrade ) { ( _ , Genesis ) | ( _ , BeforeOverwinter ) => 170_002 , ( Testnet , Overwinter ) => 170_003 , ( Mainnet , Overwinter ) => 170_005 , ( _ , Sapling ) => 170_007 , ( Testnet , Blossom ) => 170_008 , ( Mainnet , Blossom ) => 170_009 , ( Testnet , Heartwood ) => 170_010 , ( Mainnet , Heartwood ) => 170_011 , ( Testnet , Canopy ) => 170_012 , ( Mainnet , Canopy ) => 170_013 , ( Testnet , Nu5 ) => 170_015 , ( Mainnet , Nu5 ) => unreachable ! ( " " ) , } ) }
Returns the minimum specified network protocol version for `network` and
`network_upgrade`.
Returns the minimum specified network protocol version for ` network ` and ` network_upgrade ` .
network
Network
network_upgrade
NetworkUpgrade