interface DnsDiscOptions {
    enrUrls: string | string[];
    tagName?: string;
    tagTTL?: number;
    tagValue?: number;
    wantedNodeCapabilityCount: Partial<NodeCapabilityCount>;
}

Properties

enrUrls: string | string[]

ENR URL to use for DNS discovery

tagName?: string

Tag a bootstrap peer with this name before "discovering" it (default: 'bootstrap')

tagTTL?: number

Cause the bootstrap peer tag to be removed after this number of ms (default: 2 minutes)

tagValue?: number

The bootstrap peer tag will have this value (default: 50)

wantedNodeCapabilityCount: Partial<NodeCapabilityCount>

Specifies what type of nodes are wanted from the discovery process