public static Hash ommersHash(final List<BlockHeader> ommers) {
    return Hash.wrap(keccak256(RLP.encode(out -> out.writeList(ommers, BlockHeader::writeTo))));
  }
Generates the ommers hash for a list of ommer block headers

@param ommers the ommer block headers
@return the ommers hash
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/BodyValidation.java