prysm-pulse/beacon-chain/p2p/config.go
Nishant Das 7eba8da9d2 Save Network Keys in Data Directory (#3488)
* change marshalling

* add networkkeys

* gaz

* fix test

* add new function

* resolve comments, rename to datadir
2019-09-16 17:09:16 -05:00

20 lines
485 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
StaticPeers []string
BootstrapNodeAddr string
RelayNodeAddr string
HostAddress string
PrivateKey string
DataDir string
TCPPort uint
UDPPort uint
MaxPeers uint
WhitelistCIDR string
EnableUPnP bool
Encoding string
}