interface Options {
    maxRetries?: number;
    queryInterval?: number;
    tagName?: string;
    tagTTL?: number;
    tagValue?: number;


maxRetries?: number

The number of attempts before the queries to a peer are aborted (default: 3)

queryInterval?: number

The interval between queries to a peer (default: 10 seconds) The interval will increase by a factor of an incrementing number (starting at 1) until it reaches the maximum attempts before backoff

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)

Generated using TypeDoc