Uses pendingDifficulty