Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var F, E, W, I, D, T logg.LevelPrinter = logg.GetLogPrinterSet(subsystem)
View Source
var Magic = []byte{'a', 'd', 'v', 1}
Functions ¶
Types ¶
type Advertisment ¶ added in v1.9.16
type Advertisment struct { // IPs is here stored as an empty struct map so shuffling is automatic IPs map[string]struct{} // P2P is the port on which the node can be contacted by other peers P2P uint16 // UUID is a unique identifier randomly generated at each initialisation UUID uint64 // Services reflects the services available, in time the controller will be // merged into wire, along with other key protocols implemented in pod Services wire.ServiceFlag }
Advertisment is the contact details, UUID and services available on a node
Click to show internal directories.
Click to hide internal directories.