@Override
  public boolean equals(final Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    VersionedHash that = (VersionedHash) o;
    return getVersionId() == that.getVersionId() && Objects.equals(this.toBytes(), that.toBytes());
  }
The version id of the hash.

@return the version id.
datatypes/src/main/java/org/hyperledger/besu/datatypes/VersionedHash.java