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

19 lines
459 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
RelayNodeAddr string
HostAddress string
PrivateKey string
TCPPort uint
UDPPort uint
2019-08-13 21:12:00 +00:00
MaxPeers uint
WhitelistCIDR string
EnableUPnP bool
Encoding string
2019-08-13 21:12:00 +00:00
}