Private
Readonly
_DNSTreePrivate
Readonly
_errorPrivate
Readonly
dnsPrivate
_getTXTRecordPrivate
_searchRuns a recursive, randomized descent of the DNS tree to retrieve a single ENR record as an ENR. Returns null if parsing or DNS resolution fails.
Returns a list of verified peers listed in an EIP-1459 DNS tree. Method may return fewer peers than requested if
Returns a list of verified peers listed in an EIP-1459 DNS tree. Method may return fewer peers than requested if
wantedNodeCapabilityCount requires larger quantity of peers than available or the number of errors/duplicate peers encountered by randomized search exceeds the sum of the fields of
wantedNodeCapabilityCount plus the
_errorTolerance factor.
Static
dnsOptional
dnsClient: DnsClientGenerated using TypeDoc
Retrieves the TXT record stored at a location from either this DNS tree cache or via DNS query.
Throws
if the TXT Record contains non-UTF-8 values.