mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
17 lines
409 B
Go
17 lines
409 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
|
|
MaxPeers uint
|
|
WhitelistCIDR string
|
|
EnableUPnP bool
|
|
}
|