Interface BesuConfiguration
- All Superinterfaces:
BesuService
Generally useful configuration provided by Besu.
-
Method Summary
Modifier and TypeMethodDescriptionGet the configured RPC http host.Get the configured RPC http port.longGet the configured RPC http timeout in second.Deprecated.Location of the data directory in the file system running the client.Database storage configuration.org.hyperledger.besu.datatypes.WeiThe runtime value of the min gas priceLocation of the working directory of the storage in the file system running the client.
-
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.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.
-