tuweni / org.apache.tuweni.devp2p.v5 / Scraper / <init>

<init>

Scraper(coroutineContext: CoroutineContext = Executors.newFixedThreadPool(100).asCoroutineDispatcher(), vertx: Vertx = Vertx.vertx(), initialENRs: List<EthereumNodeRecord>, bindAddress: InetSocketAddress, listeners: List<(EthereumNodeRecord, List<EthereumNodeRecord>) -> Unit>, maxWaitForNewPeers: Long = 20, waitBetweenScrapes: Long = 5 * 60)

Discovery scraper that will continue asking peers for peers, and iterate over them, until told to stop.

The scraper sends events of discoveries to listeners.