Hierarchy

  • DnsNodeDiscovery

Constructors

Properties

_DNSTreeCache: {
    [key: string]: string;
}

Type declaration

  • [key: string]: string
_errorTolerance: number = 10

Methods

  • Returns a list of verified peers listed in an EIP-1459 DNS tree. Method may return fewer peers than requested if

    Link

    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

    Link

    wantedNodeCapabilityCount plus the

    Link

    _errorTolerance factor.

    Parameters

    Returns Promise<IEnr[]>

Generated using TypeDoc