public DifficultyCalculator getDifficultyCalculator() {
    return difficultyCalculator;
  }
Returns the DifficultyCalculator used in this specification.

@return the difficulty calculator.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/ProtocolSpec.java