mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 21:57:16 +00:00
24 lines
663 B
Go
24 lines
663 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
|
|
KademliaBootStrapAddr []string
|
|
Discv5BootStrapAddr []string
|
|
RelayNodeAddr string
|
|
LocalIP string
|
|
HostAddress string
|
|
HostDNS string
|
|
PrivateKey string
|
|
DataDir string
|
|
TCPPort uint
|
|
UDPPort uint
|
|
MaxPeers uint
|
|
WhitelistCIDR string
|
|
EnableUPnP bool
|
|
Encoding string
|
|
}
|