Skip to content

Commit

Permalink
- fixed p2p configs
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianpascalau committed Mar 16, 2022
1 parent 0233b3b commit 427eed8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/bridge/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const (
logFilePrefix = "elrond-eth-bridge"
p2pPeerNetworkDiscoverer = "optimized"
nilListSharderType = "NilListSharder"
disabledWatcher = "disabled"
dbPath = "db"
timeForBootstrap = time.Second * 20
timeBeforeRepeatJoin = time.Minute * 5
Expand Down Expand Up @@ -312,6 +313,7 @@ func buildNetMessenger(cfg config.Config, marshalizer marshal.Marshalizer) (p2p.
Seed: cfg.P2P.Seed,
MaximumExpectedPeerCount: 0,
ThresholdMinConnectedPeers: 0,
ConnectionWatcherType: disabledWatcher,
}
peerDiscoveryConfig := elrondConfig.KadDhtPeerDiscoveryConfig{
Enabled: true,
Expand Down

0 comments on commit 427eed8

Please sign in to comment.