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

tagValue?: number

The bootstrap peer tag will have this value

Default

50
timeout?: number

How long to wait before discovering bootstrap nodes