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

Commit

Permalink
[#1618] Enable temporary IPv6 bootstrap nodes for mobile package
Browse files Browse the repository at this point in the history
  • Loading branch information
placer14 committed Jun 6, 2019
1 parent b0bc590 commit 68d2462
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion mobile/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,17 @@ 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/2a03:b0c0:1:d0::b:d001/tcp/4001/ipfs/QmZfTbnpvPwxCjpCG3CXJ7pfexgkBZ2kgChAiRJrTK1HsM",
"/ip4/139.59.174.197/tcp/4001/ipfs/QmZfTbnpvPwxCjpCG3CXJ7pfexgkBZ2kgChAiRJrTK1HsM",
"/ip6/2604:a880:2:d0::219d:9001/tcp/4001/ipfs/QmWUdwXW3bTXS19MtMjmfpnRYgssmbJCwnq8Lf9vjZwDii",
"/ip4/138.68.10.227/tcp/4001/ipfs/QmWUdwXW3bTXS19MtMjmfpnRYgssmbJCwnq8Lf9vjZwDii",
}

// Setup testnet
if config.Testnet {
Expand Down

0 comments on commit 68d2462

Please sign in to comment.