-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiaddrs with .../ipfs/... #608
Conversation
This builds on #583 |
20655b7
to
d9b0c54
Compare
The relevant part is only fd041ec...d9b0c54 -- will be clearer once #583 merges. |
Interesting that the network test failed... not entirely sure why that would happen. "files didnt match" |
i think it's the reuse port-- sec |
d9b0c54
to
a8e2652
Compare
ah no-- it was a test case fix. we'll see I guess |
It may be some config / bootstrap addr problem. |
The network test has manually-defined bootstrap configs. |
724b403
to
99c991c
Compare
RFCR here @whyrusleeping or @briantigerchow And, @briantigerchow not sure what's going wrong with the network test. this error is different than before. any ideas? looks like it broke fig:
|
Looks like these changes break
|
re: network test error. On first glance, that looks like an actual bug/error. |
It changes the config format. can you try removing the bootstrap entry from config and retrying? Actually, can you test whether:
works? maybe try an
version. (need to find out exactly what we can tell users) |
The error happens for all commands if there is a config file with the old bootstrap format. I deleted my |
I may have to update some parsing in ipfs ping due to this change. |
99c991c
to
fb85322
Compare
I've rebased this. I want to get it merged in today.
|
5152326
to
0ef4bcc
Compare
fixed a bug: index 7ae4fde..b1d1f25 100644
--- a/core/bootstrap.go
+++ b/core/bootstrap.go
@@ -233,7 +233,7 @@ func toPeerInfo(bp config.BootstrapPeer) peer.PeerInfo {
// of the codebase currently uses addresses without the peerid part.
m := bp.Multiaddr()
s := ma.Split(m)
- m = ma.Join(s[len(s)-1])
+ m = ma.Join(s[:len(s)-1]...)
return peer.PeerInfo{
ID: bp.ID(),
|
Im getting the same problems as @mappum cant bootstrap to anyone |
Pushed my fix for pings address parsing here |
eefa56a
to
0814361
Compare
⚠️ this commit makes your current configs unusable, as the default bootstrap peers. You may need to edit your config. Go from: ```js Bootstrap: [ { "Address": "/ip4/104.131.131.82/tcp/4001", "PeerID": "QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ" } ] ``` To: ```js Bootstrap: [ "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ" ] ```
852cf55
to
de464b7
Compare
and do it both online + offline
@whyrusleeping @mappum saw what you meant. fixed in 188d336 |
This commit adds multiaddr support for "proper ipfs addresses", and
tries it out in bootstrap peers.
bootstrap peers. You may need to edit your config.
Go from:
To:
Note the
.../ipfs/...