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 ¶
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
}
Advertisment is the contact details, UUID and services available on a node
Click to show internal directories.
Click to hide internal directories.