mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
71a6c73e93
* fully remove kad * Merge branch 'master' into rem-kad * Update beacon-chain/p2p/service.go * no workspace kad * Merge branch 'rem-kad' of github.com:prysmaticlabs/prysm into rem-kad * mod tidy * Merge refs/heads/master into rem-kad * Merge refs/heads/master into rem-kad * Merge refs/heads/master into rem-kad * add back bootnode query tool * Merge branch 'rem-kad' of github.com:prysmaticlabs/prysm into rem-kad * fix up multiaddr tests * fix build * fix up go build * fix go build * update dep * Merge refs/heads/master into rem-kad * Merge refs/heads/master into rem-kad * Merge refs/heads/master into rem-kad * Merge refs/heads/master into rem-kad
32 lines
836 B
Go
32 lines
836 B
Go
package p2p
|
|
|
|
import (
|
|
statefeed "github.com/prysmaticlabs/prysm/beacon-chain/core/feed/state"
|
|
)
|
|
|
|
// Config for the p2p service. These parameters are set from application level flags
|
|
// to initialize the p2p service.
|
|
type Config struct {
|
|
NoDiscovery bool
|
|
EnableUPnP bool
|
|
DisableDiscv5 bool
|
|
StaticPeers []string
|
|
BootstrapNodeAddr []string
|
|
Discv5BootStrapAddr []string
|
|
RelayNodeAddr string
|
|
LocalIP string
|
|
HostAddress string
|
|
HostDNS string
|
|
PrivateKey string
|
|
DataDir string
|
|
MetaDataDir string
|
|
TCPPort uint
|
|
UDPPort uint
|
|
MaxPeers uint
|
|
AllowListCIDR string
|
|
DenyListCIDR []string
|
|
Encoding string
|
|
StateNotifier statefeed.Notifier
|
|
PubSub string
|
|
}
|