public void writeToDirectory(final Path dataDir) throws IOException {
    MAPPER.writeValue(getDefaultMetadataFile(dataDir), this);
  }
Get the version of Besu that is running.

@return the version of Besu
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/VersionMetadata.java