Documentation
    Preparing search index...

    Interface DnsDiscOptions

    interface DnsDiscOptions {
        enrUrls: string | string[];
        tagName?: string;
        tagTTL?: number;
        tagValue?: number;
    }
    Index

    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)