tuweni / org.apache.tuweni.discovery / DNSVisitor

DNSVisitor

interface DNSVisitor (source)

Reads ENR (Ethereum Node Records) entries passed in from DNS.

The visitor may decide to stop the visit by returning false.

Functions

visit

Visit a new ENR record.

abstract fun visit(enr: EthereumNodeRecord): Boolean