tuweni / org.apache.tuweni.ethclient

Package org.apache.tuweni.ethclient

Types

AppOptions

class AppOptions

ConnectionManagementStrategy

class ConnectionManagementStrategy : ConnectionSelectionStrategy

DataStoreConfiguration

interface DataStoreConfiguration

DiscoveryPeerRepository

class DiscoveryPeerRepository : PeerRepository

DNSClient

Wrapper for running a DNS daemon with configuration.

class DNSClient

DNSConfiguration

interface DNSConfiguration

DNSConfigurationImpl

data class DNSConfigurationImpl : DNSConfiguration

EthereumClient

Top-level class to run an Ethereum client.

class EthereumClient : CoroutineScope

EthereumClientConfig

Configuration of EthereumClient. Can be provided via file or over the wire.

class EthereumClientConfig

EthereumConnection

interface EthereumConnection : Connection

EthereumPeerRepository

A peer repository of peers implementing the eth subprotocol.

interface EthereumPeerRepository : PeerRepository

FromBestBlockSynchronizer

class FromBestBlockSynchronizer : Synchronizer

FromUnknownParentSynchronizer

class FromUnknownParentSynchronizer : Synchronizer

GenesisFileConfiguration

interface GenesisFileConfiguration

MemoryEthereumPeerRepository

Memory-backed Ethereum peer repository.

class MemoryEthereumPeerRepository : EthereumPeerRepository

PeerRepositoryConfiguration

interface PeerRepositoryConfiguration

PeerStatusEthSynchronizer

Synchronizer responsible for pulling blocks until such time the highest known block is met, or close enough.

class PeerStatusEthSynchronizer : Synchronizer

PersistenceMarshaller

class PersistenceMarshaller : AbstractMarshaller

RLPxServiceConfiguration

interface RLPxServiceConfiguration

ScoredConnectionSelectionStrategy

class ScoredConnectionSelectionStrategy : ConnectionSelectionStrategy

StaticPeersConfiguration

interface StaticPeersConfiguration

StaticPeersConfigurationImpl

data class StaticPeersConfigurationImpl : StaticPeersConfiguration

Synchronizer

abstract class Synchronizer : CoroutineScope

WireConnectionPeerRepositoryAdapter

Class bridging the subprotocols and the connection repository of the RLPx service, updating the Ethereum peer repository with information.

class WireConnectionPeerRepositoryAdapter : WireConnectionRepository

Properties

BEST_PEER_DELAY

const val BEST_PEER_DELAY: Long

DELAY

const val DELAY: Long

HEADER_PARENT_HEADER_REQUEST_SIZE

const val HEADER_PARENT_HEADER_REQUEST_SIZE: Long

HEADER_REQUEST_SIZE

const val HEADER_REQUEST_SIZE: Long

HEADERS_RESPONSE_TIMEOUT

const val HEADERS_RESPONSE_TIMEOUT: Long

logger

val logger: Logger!

Functions

main

fun main(args: Array<String>): Unit