prysm-pulse/beacon-chain/p2p/config.go
Preston Van Loon 7bdd1355b8
Add maligned struct static check (#5296)
* Add maligned static check
* Add file, oops
* lint
2020-04-03 05:09:15 +00:00

25 lines
691 B
Go

package p2p
// Config for the p2p service. These parameters are set from application level flags
// to initialize the p2p service.
type Config struct {
NoDiscovery bool
EnableUPnP bool
EnableDiscv5 bool
StaticPeers []string
BootstrapNodeAddr []string
KademliaBootStrapAddr []string
Discv5BootStrapAddr []string
RelayNodeAddr string
LocalIP string
HostAddress string
HostDNS string
PrivateKey string
DataDir string
TCPPort uint
UDPPort uint
MaxPeers uint
WhitelistCIDR string
Encoding string
}