@Override
  public boolean equals(final Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof BlockHeader other)) {
      return false;
    }
    return getHash().equals(other.getHash());
  }
Write an RLP representation.

@param out The RLP output to write to
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/BlockHeader.java