public static Hash createHash(final BlockHeader header) {
    final Bytes rlp = RLP.encode(header::writeTo);
    return Hash.hash(rlp);
  }
Implements the block hashing algorithm for MainNet as per the yellow paper.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetBlockHeaderFunctions.java