pub fn current(network: Network, height: block::Height) -> MinimumDifficulty {
        use MinimumDifficulty::*;
        use Network::*;

        match network {
            Mainnet => Rejected,
            Testnet if (height >= TESTNET_MINIMUM_DIFFICULTY_HEIGHT) => AllowedOnTestnet,
            Testnet => Rejected,
        }
    }
/// Returns the current minimum difficulty rule for `network` and `height`.
Returns the current minimum difficulty rule for `network` and `height`.
Returns the current minimum difficulty rule for ` network ` and ` height ` .
pub fn current(network: Network, height: block::Height) -> MinimumDifficulty {
        use MinimumDifficulty::*;
        use Network::*;
        match network {
            Mainnet => Rejected,
            Testnet if (height >= TESTNET_MINIMUM_DIFFICULTY_HEIGHT) => AllowedOnTestnet,
            Testnet => Rejected,
        }
    }
pub fn current ( network : Network , height : block :: Height ) -> MinimumDifficulty { use MinimumDifficulty :: * ; use Network :: * ; match network { Mainnet => Rejected , Testnet if ( height >= TESTNET_MINIMUM_DIFFICULTY_HEIGHT ) => AllowedOnTestnet , Testnet => Rejected , } }
Returns the current minimum difficulty rule for `network` and `height`.
Returns the current minimum difficulty rule for ` network ` and ` height ` .
network
Network
height
block::Height