Interface RpcConfiguration

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

public interface RpcConfiguration extends org.hyperledger.besu.plugin.services.BesuService
RPC configuration of the Besu node.

Provides the RPC-side part of the node configuration to plugins. It exists so that a plugin can read how the node's JSON-RPC HTTP listener is configured 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

    • getConfiguredRpcHttpHost

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

      Integer getConfiguredRpcHttpPort()
      Get the configured RPC http port.
      Returns:
      the configured RPC http port.
    • getConfiguredRpcHttpTimeoutSec

      long getConfiguredRpcHttpTimeoutSec()
      Get the configured RPC http timeout in seconds.
      Returns:
      the configured RPC http timeout in seconds.