Documentation ¶
Index ¶
Constants ¶
View Source
const (
SubnetworkIDPrefixChar byte = 'n'
)
Variables ¶
This section is empty.
Functions ¶
func SeedFromDNS ¶
func SeedFromDNS(dagParams *dagconfig.Params, customSeed string, includeAllSubnetworks bool, subnetworkID *externalapi.DomainSubnetworkID, lookupFn LookupFunc, seedFn OnSeed)
func SeedFromGRPC ¶
func SeedFromGRPC(dagParams *dagconfig.Params, customSeed string, includeAllSubnetworks bool, subnetworkID *externalapi.DomainSubnetworkID, seedFn OnSeed)
SeedFromGRPC send gRPC request to get list of peers for a given host
Types ¶
type OnSeed ¶
type OnSeed func(addrs []*appmessage.NetAddress)
Click to show internal directories.
Click to hide internal directories.