tuweni / org.apache.tuweni.eth.crawler / CrawlerConfig

CrawlerConfig

class CrawlerConfig (source)

Constructors

<init>

CrawlerConfig(filePath: Path)

Properties

config

val config: Configuration!

filePath

val filePath: Path

Functions

bootNodes

fun bootNodes(): List<URI!>

clientIdsInterval

fun clientIdsInterval(): Long

clientsStatsDelay

fun clientsStatsDelay(): Long

corsAllowedOrigins

fun corsAllowedOrigins(): String!

discoveryDNS

fun discoveryDNS(): String!

discoveryDNSPollingPeriod

fun discoveryDNSPollingPeriod(): Long

discoveryNetworkInterface

fun discoveryNetworkInterface(): String!

discoveryPort

fun discoveryPort(): Int

ethstatsNetworkInterface

fun ethstatsNetworkInterface(): String!

ethstatsPort

fun ethstatsPort(): Int

ethstatsSecret

fun ethstatsSecret(): String!

genesisFile

fun genesisFile(): String!

jdbcConnections

fun jdbcConnections(): Int

jdbcUrl

fun jdbcUrl(): String!

maxRequestsPerSec

fun maxRequestsPerSec(): Int

metricsGrpcPushEnabled

fun metricsGrpcPushEnabled(): Boolean

metricsNetworkInterface

fun metricsNetworkInterface(): String!

metricsPort

fun metricsPort(): Int

metricsPrometheusEnabled

fun metricsPrometheusEnabled(): Boolean

network

fun network(): String!

numberOfThreads

fun numberOfThreads(): Int

peerCacheExpiration

fun peerCacheExpiration(): Long

restNetworkInterface

fun restNetworkInterface(): String!

restPort

fun restPort(): Int

rlpxDisconnectionDelay

fun rlpxDisconnectionDelay(): Long

Companion Object Properties

mainnetDiscoveryDNS

val mainnetDiscoveryDNS: String

mainnetEthereumBootnodes

val mainnetEthereumBootnodes: List<String>

Companion Object Functions

schema

fun schema(): Schema!