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
intRecords to return
seeds
List<string>List of seed domains
ipV6
boolReturn IPv6 endpoints
useTcp
boolUse TCP Only
nameServers
IPAddress[]Provide your own nameservers to override system