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

22 lines
603 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
StaticPeers []string
BootstrapNodeAddr []string
KademliaBootStrapAddr []string
Discv5BootStrapAddr []string
RelayNodeAddr string
HostAddress string
PrivateKey string
DataDir string
TCPPort uint
UDPPort uint
MaxPeers uint
WhitelistCIDR string
EnableUPnP bool
Encoding string
2019-08-13 21:12:00 +00:00
}