Interface BesuConfiguration

All Superinterfaces:
BesuService

public interface BesuConfiguration extends BesuService
Generally useful configuration provided by Besu.
  • Method Details

    • getConfiguredRpcHttpHost

      String getConfiguredRpcHttpHost()
      Get the configured RPC http host.
      Returns:
      the configured RPC http host.
    • getConfiguredRpcHttpTimeoutSec

      long getConfiguredRpcHttpTimeoutSec()
      Get the configured RPC http timeout in second.
      Returns:
      the configured RPC http timeout in second.
    • getConfiguredRpcHttpPort

      Integer getConfiguredRpcHttpPort()
      Get the configured RPC http port.
      Returns:
      the configured RPC http port.
    • 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.
    • getDataPath

      Path getDataPath()
      Location of the data directory in the file system running the client.
      Returns:
      location of the data directory in the file system of the client.
    • getDatabaseFormat

      @Deprecated DataStorageFormat getDatabaseFormat()
      Deprecated.
      Database format. This sets the list of segmentIdentifiers that should be initialized.
      Returns:
      Database format.
    • getMinGasPrice

      org.hyperledger.besu.datatypes.Wei getMinGasPrice()
      The runtime value of the min gas price
      Returns:
      min gas price in wei
    • getDataStorageConfiguration

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