- Preparing search index...
- The search index is not available
polykey
Function resolveSeednodes
- resolveSeednodes(hostname, resolveSrv?): Promise<SeedNodes>
-
Parameters
-
-
resolveSrv: ((hostname) => Promise<{
name: string;
port: number;
}[]>) = dns.promises.resolveSrv
-
- (hostname): Promise<{
name: string;
port: number;
}[]>
-
Returns Promise<{
name: string;
port: number;
}[]>
Takes in a hostname/domain and performs a DNS resolution for related seednode services.