object DiscoveryService
(source)
A creator of discovery service objects.
open |
Creates a new discovery service, generating the node ENR and configuring the UDP connector. fun open(vertx: Vertx, keyPair: KeyPair, localPort: Int, bindAddress: InetSocketAddress = InetSocketAddress(InetAddress.getLoopbackAddress(), localPort), enrSeq: Long = Instant.now().toEpochMilli(), bootstrapENRList: List<String> = emptyList(), enrStorage: ENRStorage = DefaultENRStorage(), coroutineContext: CoroutineContext = Dispatchers.Default): DiscoveryV5Service |