Table of Contents

Class DnsSeedClient

Namespace
NLightning.Bolts.BOLT10.Services
Assembly
NLightning.Bolts.dll
public static class DnsSeedClient
Inheritance
DnsSeedClient
Inherited Members

Methods

FindNodes(int, List<string>, bool, bool, params IPAddress[])

Find Nodes from DNS seed domains

public static List<DnsSeedClient.NodeRecord> FindNodes(int nodeCount, List<string> seeds, bool ipV6 = false, bool useTcp = false, params IPAddress[] nameServers)

Parameters

nodeCount int

Records to return

seeds List<string>

List of seed domains

ipV6 bool

Return IPv6 endpoints

useTcp bool

Use TCP Only

nameServers IPAddress[]

Provide your own nameservers to override system

Returns

List<DnsSeedClient.NodeRecord>