Commit Graph

336 Commits

Author SHA1 Message Date
Adin Schmahmann
491b88a6eb chore: bump go-ipfs-cmds 2020-09-09 18:15:27 -04:00
Adin Schmahmann
ba1d225212 fix: ipfs dht put/get commands now work on keys encoded as peerIDs and fail early for namespaces other than /pk or /ipns 2020-08-30 02:16:15 -04:00
Adin Schmahmann
38da1cc991
Merge pull request #7625 from ipfs/fix/7624-do-not-fetch-on-pin-ls
Fix #7624: Do not fetch dag nodes when checking if a pin exists
2020-08-26 14:50:18 -04:00
Adin Schmahmann
077e3e0648 chore: bump go-path 2020-08-26 14:35:52 -04:00
dependabot-preview[bot]
b542da46f5
chore(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.3.4 to 0.3.5
Bumps [github.com/libp2p/go-libp2p-pubsub](https://github.com/libp2p/go-libp2p-pubsub) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/libp2p/go-libp2p-pubsub/releases)
- [Commits](https://github.com/libp2p/go-libp2p-pubsub/compare/v0.3.4...v0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 11:27:48 +00:00
Adin Schmahmann
2ecde1a18c chore: update dht and kbucket 2020-08-25 21:13:18 -04:00
Adin Schmahmann
af90822262 chore: update quic 2020-08-25 20:07:54 -04:00
Adin Schmahmann
18013a3bfc chore: update deps 2020-08-25 20:07:51 -04:00
Adin Schmahmann
b88bdfeb9d chore: update go-multiaddr and go-multiaddr-net 2020-08-25 15:24:48 -04:00
Peter Rabbitson
90a573354a Upgrade graphsync deps 2020-08-17 12:23:59 +02:00
Adin Schmahmann
692e9f59ff refactor: get rid of cmdDetails awkwardness 2020-08-04 18:28:40 -04:00
Petar Maymounkov
e384b5964a IPNS format keys in b36cid 2020-08-04 00:18:29 -04:00
Petar Maymounkov
086ea33827 update libp2p deps 2020-08-03 17:53:19 -04:00
Marten Seemann
be171d5e3c update QUIC, enable the RetireBugBackwardsCompatibilityMode 2020-07-20 10:29:43 -04:00
Petar Maymounkov
4674f770b7 Choosable key types at initialization
* add support for choosing a peer key type (e.g. RSA or Ed25519) when initializing the repo
* test all variants of ipfs init: RSA, Ed25519 and default
* update subdomain gateway sharness test to publish IPNS using RSA and
Ed25519 keys
* use default identity bit lengths defined in config repo instead of
having separate defaults in go-ipfs
* update config repo dependency

Co-authored-by: Will Scott <will@cypherpunk.email>
Co-authored-by: Petar Maymounkov <petarm@gmail.com>
2020-07-14 14:42:49 -04:00
Petar Maymounkov
b3e5ffc41a
feat: add flag to ipfs key and list to output keys in b36/CIDv1 (#7531)
* add flag to "ipfs key gen" to output keys in b36 CIDv1
* add flag to "ipfs key list" to output keys in b36 CIDv1
* add and modify corresponding sharness tests
2020-07-13 12:08:34 -04:00
Marten Seemann
8b235cf47a update QUIC 2020-07-02 14:57:34 +07:00
Adin Schmahmann
19d6230cde Merge branch 'release' into master 2020-06-19 20:04:30 -04:00
Steven Allen
e164af1f2a feat: add a transport config section
This way, users can disable transports (especially QUIC), and set muxer/security
transport priorities.
2020-06-16 15:15:47 -07:00
Steven Allen
eb1300c3a8 chore: update go-libp2p-quic-transport
Adds support for draft 29.
2020-06-12 12:49:53 -07:00
Steven Allen
2e0060c5d6 chore: update bitswap
Fixes another race condition and a metrics bug.
2020-06-10 14:21:53 -07:00
Steven Allen
1841691e45 chore: update bitswap
Fixes a concurrent map access.
2020-06-09 19:12:28 -07:00
Adin Schmahmann
70ccb7326d chore: update deps 2020-06-09 19:17:59 -04:00
Steven Allen
9467986a1d chore: update quic 2020-06-09 08:34:36 -07:00
Steven Allen
a2cd58edf1 chore: update bitswap
* Protect conns to peers actively giving us useful data.
* Only count _useful_ received data in the ledger.
2020-06-08 11:32:15 -07:00
Steven Allen
2bb093b4c2 chore: update go-libp2p-peestore 2020-06-08 08:41:28 -07:00
Steven Allen
2d72467d07 chore: update kad dht 2020-06-05 17:27:30 -07:00
Steven Allen
5e6d855455 update libp2p 2020-06-05 14:21:53 -07:00
Steven Allen
10dfd9a3c2 chore: update quic transport
This is a _protocol breaking_ change for the QUIC transport, the last one before
we stabilize it.

(cherry picked from commit 0865634f75)
2020-06-02 17:36:30 -07:00
Steven Allen
9123de0427
Merge pull request #7391 from ipfs/dependabot/go_modules/github.com/stretchr/testify-1.6.0
chore(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0
2020-06-02 10:46:52 -07:00
dependabot-preview[bot]
8bd2b36fe1
chore(deps): bump github.com/coreos/go-systemd/v22 from 22.0.0 to 22.1.0
Bumps [github.com/coreos/go-systemd/v22](https://github.com/coreos/go-systemd) from 22.0.0 to 22.1.0.
- [Release notes](https://github.com/coreos/go-systemd/releases)
- [Commits](https://github.com/coreos/go-systemd/compare/v22.0.0...v22.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 11:27:23 +00:00
Steven Allen
0865634f75 chore: update quic transport
This is a _protocol breaking_ change for the QUIC transport, the last one before
we stabilize it.
2020-06-01 14:46:35 -07:00
dependabot-preview[bot]
a773e890d8
chore(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-29 11:27:31 +00:00
dependabot-preview[bot]
e925313d6c
chore(deps): bump github.com/libp2p/go-libp2p-kad-dht
Bumps [github.com/libp2p/go-libp2p-kad-dht](https://github.com/libp2p/go-libp2p-kad-dht) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/libp2p/go-libp2p-kad-dht/releases)
- [Commits](https://github.com/libp2p/go-libp2p-kad-dht/compare/v0.8.0...v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 11:28:27 +00:00
Adin Schmahmann
e6c8457702 chore: update deps 2020-05-27 18:38:45 -04:00
Steven Allen
02f42f5862 chore: update deps
* Updates circuit relay to rebalance connection manager tags.
* Update pubsub to fix some bugs.
* Other misc updates.
2020-05-26 14:37:05 -07:00
Steven Allen
d48b80b30e feat: add noise support
We can add a proper configuration option in a followup patch after the RC.
2020-05-25 23:46:48 -07:00
Steven Allen
1bf711d310
Merge pull request #7362 from ipfs/feat/peering
feat: implement peering service
2020-05-25 21:31:48 -07:00
Steven Allen
978091a626 feat: implement peering service
MVP for #6097

This feature will repeatedly reconnect (with a randomized exponential backoff)
to peers in a set of "peered" peers.

In the future, this should be extended to:

1. Include a CLI for modifying this list at runtime.
2. Include additional options for peers we want to _protect_ but not connect to.
3. Allow configuring timeouts, backoff, etc.
4. Allow groups? Possibly through textile threads.
5. Allow for runtime-only peering rules.
6. Different reconnect policies.

But this MVP should be a significant step forward.
2020-05-25 20:24:41 -07:00
Steven Allen
d7691caf6d
Merge pull request #7364 from ipfs/chore/update-quic
chore: update quic-go
2020-05-25 18:49:28 -07:00
Steven Allen
7859232ff2 chore: update quic-go 2020-05-25 18:29:51 -07:00
Steven Allen
478510ed94 chore: update go-multibase for base36 support 2020-05-25 18:25:11 -07:00
Steven Allen
c17bcbd4e0
Merge pull request #7340 from ipfs/feat/boostrap-when-low
feat: bootstrap in dht when the routing table is empty
2020-05-25 13:01:08 -07:00
Steven Allen
ff17485cbb feat: bootstrap in dht when the routing table is empty
Otherwise, we could end up with only DHT clients and never re-bootstrap.

I've left the default go-ipfs bootstrapping code in for now as it's technically
possible to disable the DHT entirely.
2020-05-24 22:55:30 -07:00
Steven Allen
48302a1a9d chore: update go-ipfs-config
Fixes init output.
2020-05-22 16:40:43 -07:00
Steven Allen
ed437fa64e chore: update go-ipfs-config 2020-05-22 13:47:57 -07:00
Steven Allen
c1a49d3b8f chore: update libp2p deps
* Update swarm to prefer QUIC addrs over other addrs.
* Update yamux to increase throughput.
2020-05-20 22:13:46 -07:00
Steven Allen
0a8b2f117b chore: update deps
And remove use of mafilter library (now rolled into go-multiaddr).
2020-05-20 17:51:04 -07:00
Steven Allen
69ccf99915 chore: update libp2p 2020-05-20 16:56:22 -07:00
dependabot-preview[bot]
5ed2fe53a2
chore(deps): bump github.com/ipfs/go-bitswap from 0.2.13 to 0.2.14
Bumps [github.com/ipfs/go-bitswap](https://github.com/ipfs/go-bitswap) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/ipfs/go-bitswap/releases)
- [Commits](https://github.com/ipfs/go-bitswap/compare/v0.2.13...v0.2.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 11:28:35 +00:00