interface BootstrapInit {
    list: string[];
    tagName?: string;
    tagTTL?: number;
    tagValue?: number;
    timeout?: number;
}

Properties

list: string[]

The list of peer addresses in multi-address format

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)

timeout?: number

How long to wait before discovering bootstrap nodes