interface NodeDiscoveryService : CoroutineScope
(source)
Service executes network discovery, according to discv5 specification (https://github.com/ethereum/devp2p/blob/master/discv5/discv5.md)
start |
Starts the node discovery service. abstract suspend fun start(): Unit |
startAsync |
Starts the discovery service, providing a handle to the completion of the start operation. open fun startAsync(): AsyncCompletion |
terminate |
Stops the node discovery service. abstract suspend fun terminate(): Unit |
terminateAsync |
Stops the node discovery service, providing a handle to the completion of the shutdown operation. open fun terminateAsync(): AsyncCompletion |
DefaultNodeDiscoveryService |
class DefaultNodeDiscoveryService : NodeDiscoveryService |