Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1627 from OpenBazaar/1618-mobile-ipv6-bootstrap-n…
Browse files Browse the repository at this point in the history
…odes

[#1618] Enable temporary IPv6 bootstrap nodes for mobile package
  • Loading branch information
placer14 authored Jun 10, 2019
2 parents b0bc590 + 4c79e5a commit 7945d11
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion mobile/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,19 @@ func NewNodeWithConfig(config *NodeConfig, password string, mnemonic string) (*N
return nil, err
}
cfg.Identity = identity
cfg.Swarm.DisableNatPortMap = true
cfg.Swarm.DisableNatPortMap = false
cfg.Swarm.EnableAutoRelay = true
cfg.Swarm.EnableAutoNATService = false

// Temporary override of bootstrap nodes
cfg.Bootstrap = []string{
"/ip6/2604:a880:2:d0::219d:9001/tcp/4001/ipfs/QmWUdwXW3bTXS19MtMjmfpnRYgssmbJCwnq8Lf9vjZwDii",
"/ip6/2604:a880:400:d1::c1d:2001/tcp/4001/ipfs/QmcXwJePGLsP1x7gTXLE51BmE7peUKe2eQuR5LGbmasekt",
"/ip6/2604:a880:400:d1::99a:8001/tcp/4001/ipfs/Qmb8i7uy6rk47hNorNLMVRMer4Nv9YWRhzZrWVqnvk5mSk",
"/ip4/138.68.10.227/tcp/4001/ipfs/QmWUdwXW3bTXS19MtMjmfpnRYgssmbJCwnq8Lf9vjZwDii",
"/ip4/157.230.59.219/tcp/4001/ipfs/QmcXwJePGLsP1x7gTXLE51BmE7peUKe2eQuR5LGbmasekt",
"/ip4/206.189.224.90/tcp/4001/ipfs/Qmb8i7uy6rk47hNorNLMVRMer4Nv9YWRhzZrWVqnvk5mSk",
}

// Setup testnet
if config.Testnet {
Expand Down

0 comments on commit 7945d11

Please sign in to comment.