Interface StorageConfiguration

All Superinterfaces:
org.hyperledger.besu.plugin.services.BesuService

public interface StorageConfiguration extends org.hyperledger.besu.plugin.services.BesuService
Storage configuration of the Besu node.

Provides the storage-side part of the node configuration to storage plugins. It exists so that a storage plugin can read where the database lives and how it is formatted without depending on the full configuration surface. The remaining configuration is available through org.hyperledger.besu.plugin.services.BesuConfiguration and, for the data directory, CoreConfiguration.

  • Method Details

    • getStoragePath

      Path getStoragePath()
      Location of the working directory of the storage in the file system running the client.
      Returns:
      location of the storage in the file system of the client.
    • getDataStorageConfiguration

      DataStorageConfiguration getDataStorageConfiguration()
      Database storage configuration.
      Returns:
      Database storage configuration.