devp2p / org.apache.tuweni.devp2p.v5 / NodeDiscoveryService

NodeDiscoveryService

interface NodeDiscoveryService (source)

Service executes network discovery, according to discv5 specification (https://github.com/ethereum/devp2p/blob/master/discv5/discv5.md)

Functions

start

abstract suspend fun start(): Unit

Initializes node discovery

terminate

abstract suspend fun terminate(): Unit

Executes service shut down