Documentation
¶
Overview ¶
Package ads provides a bundle for peer information advertisement types and initial generation of them, and deriving a peer node data structure from the ad set received over the gossip network.
Index ¶
Constants ¶
View Source
const DefaultAdExpiry = time.Hour * 24 * 7 // one week
DefaultAdExpiry is the base expiry duration
todo: 1 week? Should this be shorter?
View Source
const ErrNilNodeAds = "cannot process nil NodeAds"
ErrNilNodeAds indicates that the NodeAds provided was nil.
Variables ¶
This section is empty.
Functions ¶
func GetAddresses ¶ added in v0.1.20
func GetMultiaddrs ¶ added in v0.1.19
GetMultiaddrs returns a node's listener addresses.
Types ¶
Click to show internal directories.
Click to hide internal directories.