mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
b5b10a8d35
* serve nodes * remove testing flag * add back bootnode * add dht * add back dht * gaz * fix build * bootnode works in runtime * fix all references * all tests pass * remove feature flag * separate out ports * lint * fix docker build * use one error package
22 lines
603 B
Go
22 lines
603 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
|
|
PrivateKey string
|
|
DataDir string
|
|
TCPPort uint
|
|
UDPPort uint
|
|
MaxPeers uint
|
|
WhitelistCIDR string
|
|
EnableUPnP bool
|
|
Encoding string
|
|
}
|