mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-29 14:48:28 +00:00
79e57e8e8e
* add flag and enum * change help message * linter * add flag * add comment * one more comment * fix panic * preston's comments * add panic
19 lines
459 B
Go
19 lines
459 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
|
|
Port uint
|
|
UDPPort uint
|
|
MaxPeers uint
|
|
WhitelistCIDR string
|
|
EnableUPnP bool
|
|
Encoding string
|
|
}
|