The difficulty is automatically adjusted based the amount of computational power on the network, or hashrate, to keep the time it takes to mine a block roughly stable at 10 minutes . The higher the hashrate, the higher the difficulty, and vice versa.