Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
5f26f004
Commit
5f26f004
authored
Aug 25, 2017
by
Jeromy Johnson
Committed by
GitHub
Aug 25, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4127 from ipfs/feat/dns-bootstrap
bootstrap: add /dnsaddr nodes
parents
ab9b7363
56891040
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
32 deletions
+16
-32
repo/config/bootstrap_peers.go
repo/config/bootstrap_peers.go
+4
-8
test/sharness/t0120-bootstrap.sh
test/sharness/t0120-bootstrap.sh
+12
-24
No files found.
repo/config/bootstrap_peers.go
View file @
5f26f004
...
...
@@ -14,23 +14,19 @@ import (
// NOTE: This is here -- and not inside cmd/ipfs/init.go -- because of an
// import dependency issue. TODO: move this into a config/default/ package.
var
DefaultBootstrapAddresses
=
[]
string
{
"/dnsaddr/bootstrap.libp2p.io/ipfs/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN"
,
"/dnsaddr/bootstrap.libp2p.io/ipfs/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa"
,
"/dnsaddr/bootstrap.libp2p.io/ipfs/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb"
,
"/dnsaddr/bootstrap.libp2p.io/ipfs/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt"
,
"/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
,
// mars.i.ipfs.io
"/ip4/104.236.176.52/tcp/4001/ipfs/QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z"
,
// neptune.i.ipfs.io
"/ip4/104.236.179.241/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM"
,
// pluto.i.ipfs.io
"/ip4/162.243.248.213/tcp/4001/ipfs/QmSoLueR4xBeUbY9WZ9xGUUxunbKWcrNFTDAadQJmocnWm"
,
// uranus.i.ipfs.io
"/ip4/128.199.219.111/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu"
,
// saturn.i.ipfs.io
"/ip4/104.236.76.40/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64"
,
// venus.i.ipfs.io
"/ip4/178.62.158.247/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd"
,
// earth.i.ipfs.io
"/ip4/178.62.61.185/tcp/4001/ipfs/QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3"
,
// mercury.i.ipfs.io
"/ip4/104.236.151.122/tcp/4001/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx"
,
// jupiter.i.ipfs.io
"/ip6/2604:a880:1:20::1f9:9001/tcp/4001/ipfs/QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z"
,
// neptune.i.ipfs.io
"/ip6/2604:a880:1:20::203:d001/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM"
,
// pluto.i.ipfs.io
"/ip6/2604:a880:0:1010::23:d001/tcp/4001/ipfs/QmSoLueR4xBeUbY9WZ9xGUUxunbKWcrNFTDAadQJmocnWm"
,
// uranus.i.ipfs.io
"/ip6/2400:6180:0:d0::151:6001/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu"
,
// saturn.i.ipfs.io
"/ip6/2604:a880:800:10::4a:5001/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64"
,
// venus.i.ipfs.io
"/ip6/2a03:b0c0:0:1010::23:1001/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd"
,
// earth.i.ipfs.io
"/ip6/2a03:b0c0:1:d0::e7:1/tcp/4001/ipfs/QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3"
,
// mercury.i.ipfs.io
"/ip6/2604:a880:1:20::1d9:6001/tcp/4001/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx"
,
// jupiter.i.ipfs.io
}
// BootstrapPeer is a peer used to bootstrap the network.
...
...
test/sharness/t0120-bootstrap.sh
View file @
5f26f004
...
...
@@ -5,23 +5,19 @@
#
# changing the bootstrap peers will require changing it in two places :)
BP1
=
"/
ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
"
BP2
=
"/
ip4/104.236.151.122/tcp/4001/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx
"
BP3
=
"/
ip4/104.236.176.52/tcp/4001/ipfs/QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z
"
BP4
=
"/
ip4/104.236.179.241/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM
"
BP5
=
"/ip4/104.
236.76.40
/tcp/4001/ipfs/Qm
SoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64
"
BP6
=
"/ip4/1
28
.1
9
9.2
19.11
1/tcp/4001/ipfs/QmSoL
SafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu
"
BP7
=
"/ip4/1
62.243.248.213
/tcp/4001/ipfs/QmSoL
ueR4xBeUbY9WZ9xGUUxunbKWcrNFTDAadQJmocnWm
"
BP8
=
"/ip4/1
7
8.
62.158.247
/tcp/4001/ipfs/QmSoL
er265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd
"
BP9
=
"/ip4/178.62.
61.185
/tcp/4001/ipfs/QmSoL
MeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3
"
BP1
=
"/
dnsaddr/bootstrap.libp2p.io/ipfs/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN
"
BP2
=
"/
dnsaddr/bootstrap.libp2p.io/ipfs/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa
"
BP3
=
"/
dnsaddr/bootstrap.libp2p.io/ipfs/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb
"
BP4
=
"/
dnsaddr/bootstrap.libp2p.io/ipfs/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt
"
BP5
=
"/ip4/104.
131.131.82
/tcp/4001/ipfs/Qm
aCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
"
BP6
=
"/ip4/1
04.236
.1
7
9.2
4
1/tcp/4001/ipfs/QmSoL
PppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM
"
BP7
=
"/ip4/1
04.236.76.40
/tcp/4001/ipfs/QmSoL
V4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64
"
BP8
=
"/ip4/1
2
8.
199.219.111
/tcp/4001/ipfs/QmSoL
SafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu
"
BP9
=
"/ip4/178.62.
158.247
/tcp/4001/ipfs/QmSoL
er265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd
"
BP10
=
"/ip6/2400:6180:0:d0::151:6001/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu"
BP11
=
"/ip6/2604:a880:0:1010::23:d001/tcp/4001/ipfs/QmSoLueR4xBeUbY9WZ9xGUUxunbKWcrNFTDAadQJmocnWm"
BP12
=
"/ip6/2604:a880:1:20::1d9:6001/tcp/4001/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx"
BP13
=
"/ip6/2604:a880:1:20::1f9:9001/tcp/4001/ipfs/QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z"
BP14
=
"/ip6/2604:a880:1:20::203:d001/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM"
BP15
=
"/ip6/2604:a880:800:10::4a:5001/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64"
BP16
=
"/ip6/2a03:b0c0:0:1010::23:1001/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd"
BP17
=
"/ip6/2a03:b0c0:1:d0::e7:1/tcp/4001/ipfs/QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3"
BP11
=
"/ip6/2604:a880:1:20::203:d001/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM"
BP12
=
"/ip6/2604:a880:800:10::4a:5001/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64"
BP13
=
"/ip6/2a03:b0c0:0:1010::23:1001/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd"
test_description
=
"Test ipfs repo operations"
...
...
@@ -106,10 +102,6 @@ test_bootstrap_cmd() {
echo $BP11 >>add2_expected &&
echo $BP12 >>add2_expected &&
echo $BP13 >>add2_expected &&
echo $BP14 >>add2_expected &&
echo $BP15 >>add2_expected &&
echo $BP16 >>add2_expected &&
echo $BP17 >>add2_expected &&
test_cmp add2_expected add2_actual
'
...
...
@@ -133,10 +125,6 @@ test_bootstrap_cmd() {
echo $BP11 >>rm2_expected &&
echo $BP12 >>rm2_expected &&
echo $BP13 >>rm2_expected &&
echo $BP14 >>rm2_expected &&
echo $BP15 >>rm2_expected &&
echo $BP16 >>rm2_expected &&
echo $BP17 >>rm2_expected &&
test_cmp rm2_expected rm2_actual
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment