Documentation
¶
Overview ¶
Package discovery provides peer discovery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func DefaultConfig ¶
DefaultConfig constructs discovery config using viper.
type Node ¶
type Node struct {
Config *Config
Peers *Peers
PrivateKey *ecdsa.PrivateKey
// contains filtered or unexported fields
}
Node participates in the discv5 network.
Click to show internal directories.
Click to hide internal directories.