static adjustDifficulty({ originalBlock, timestamp }) {
    const { difficulty } = originalBlock;

    if (difficulty < 1) return 1;
    const timeDifference = timestamp - originalBlock.timestamp;
    if (timeDifference > MINE_RATE) {
      return difficulty - 1;
    }

    return difficulty + 1;
  }
// ADJUST THE MINE RATE OF BLOCKS
ADJUST THE MINE RATE OF BLOCKS
ADJUST THE MINE RATE OF BLOCKS
static adjustDifficulty({ originalBlock, timestamp }) {
    const { difficulty } = originalBlock;
    if (difficulty < 1) return 1;
    const timeDifference = timestamp - originalBlock.timestamp;
    if (timeDifference > MINE_RATE) {
      return difficulty - 1;
    }
    return difficulty + 1;
  }
static adjustDifficulty ( { originalBlock , timestamp } ) { const { difficulty } = originalBlock ; if ( difficulty < 1 ) return 1 ; const timeDifference = timestamp - originalBlock . timestamp ; if ( timeDifference > MINE_RATE ) { return difficulty - 1 ; } return difficulty + 1 ; }
ADJUST THE MINE RATE OF BLOCKS
ADJUST THE MINE RATE OF BLOCKS