mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +00:00
a1e3c2d47c
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
23 lines
633 B
Go
23 lines
633 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
|
|
HostAddress string
|
|
HostDNS string
|
|
PrivateKey string
|
|
DataDir string
|
|
TCPPort uint
|
|
UDPPort uint
|
|
MaxPeers uint
|
|
WhitelistCIDR string
|
|
EnableUPnP bool
|
|
Encoding string
|
|
}
|