prysm-pulse/beacon-chain/p2p/config.go

25 lines
691 B
Go
Raw Normal View History

2019-08-13 21:12:00 +00:00
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
2020-01-23 03:25:10 +00:00
LocalIP string
HostAddress string
HostDNS string
PrivateKey string
DataDir string
TCPPort uint
UDPPort uint
MaxPeers uint
WhitelistCIDR string
Encoding string
2019-08-13 21:12:00 +00:00
}