Devnet 3; Builtin bootstrap; NAT Port Map

This commit is contained in:
Łukasz Magiera
2019-10-09 05:16:35 +02:00
parent ed78894d20
commit 752654ab03
14 changed files with 290 additions and 85 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ func libp2p() Option {
Override(BaseRoutingKey, lp2p.BaseRouting),
Override(new(routing.Routing), lp2p.Routing),
//Override(NatPortMapKey, lp2p.NatPortMap), //TODO: reenable when closing logic is actually there
Override(NatPortMapKey, lp2p.NatPortMap),
Override(ConnectionManagerKey, lp2p.ConnectionManager(50, 200, 20*time.Second)),
Override(new(*pubsub.PubSub), lp2p.GossipSub()),