tuweni / org.apache.tuweni.ethclient / DNSClient

DNSClient

class DNSClient (source)

Wrapper for running a DNS daemon with configuration.

Constructors

<init>

Wrapper for running a DNS daemon with configuration.

DNSClient(config: DNSConfiguration, metadataStore: KeyValueStore<String, String>, peerRepository: PeerRepository)

Functions

seq

suspend fun seq(): Long

Sets the sequence

suspend fun seq(seq: Long): Unit

start

Start the client

suspend fun start(): Unit

stop

Stop the client

fun stop(): Unit