Commit Graph

150 Commits

Author SHA1 Message Date
Steven Allen
035c90e718
Merge pull request #6875 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-pubsub-router-0.2.1
chore(deps): bump github.com/libp2p/go-libp2p-pubsub-router from 0.2.0 to 0.2.1
2020-02-06 07:35:05 -08:00
dependabot-preview[bot]
9bc46bcc16
chore(deps): bump github.com/multiformats/go-multiaddr-net
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.1...v0.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 11:25:01 +00:00
dependabot-preview[bot]
0aaef3141d
chore(deps): bump github.com/libp2p/go-libp2p-pubsub-router
Bumps [github.com/libp2p/go-libp2p-pubsub-router](https://github.com/libp2p/go-libp2p-pubsub-router) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/libp2p/go-libp2p-pubsub-router/releases)
- [Commits](https://github.com/libp2p/go-libp2p-pubsub-router/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 11:24:23 +00:00
dependabot-preview[bot]
50d83d3e14
chore(deps): bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](https://github.com/ipfs/go-cid/compare/v0.0.4...v0.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 11:23:59 +00:00
Steven Allen
e2e00e7ab3 chore(dep): update go-multistream to fix a potential panic
likely fixes #6802
2020-02-04 10:12:03 -08:00
dependabot-preview[bot]
f1c1cd6836
chore(deps): bump github.com/ipfs/go-ipld-cbor from 0.0.3 to 0.0.4
Bumps [github.com/ipfs/go-ipld-cbor](https://github.com/ipfs/go-ipld-cbor) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/ipfs/go-ipld-cbor/releases)
- [Commits](https://github.com/ipfs/go-ipld-cbor/compare/v0.0.3...v0.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 11:23:52 +00:00
Steven Allen
830e8322bc chore(dep): update quic-go
* Fixes a CPU usage issue in the QUIC transport.
2020-01-29 08:25:51 -08:00
Steven Allen
906f45edd9 fix(tracing): remove event tracing
We've deprecated this system and have yet to move to a new system. We might as
well remove everything, switch to a new system, then deliberately trace the
entire system.
2020-01-28 21:31:12 -08:00
Steven Allen
c2d1f3a6a3 chore(dep): update deps
Update all deps.
2020-01-28 21:20:17 -08:00
Steven Allen
98d2fef6ec fix: use pre-defined relays for autorelay
Unfortunately, we don't currently have any way to pick out good relays from bad.
That means we keep searching, trying bad relays, searching some more, trying
_the same relays_, etc. until we randomly find 3 good stable relays. In
practice, this means we just keep searching forever and keep thrashing the DHT.

see https://github.com/libp2p/go-libp2p/issues/694
2020-01-17 06:28:23 -08:00
Steven Allen
36db5bf63c dep: update go-ipfs-files/go-unixfs
Fixes symlink sizes.
2020-01-05 16:43:42 -08:00
Steven Allen
daf6fd69f8 feat: update go-ds-badger to use async writes by default.
Go-ipfs now manually calls "sync" on the underlying datastore after adding data.
We can now write asynchronously and sync once at the end.
2020-01-03 14:02:24 -08:00
Steven Allen
3c95f65b21
Merge pull request #6785 from ipfs/feat/async-ds
Support Asynchronous Datastores
2019-12-19 11:45:00 +01:00
Adin Schmahmann
3a0d0e817a support async datastores 2019-12-19 00:59:31 -05:00
Steven Allen
d3e80fa8a0 chore(dep): update go-libbp2p
* Fixes a panic on close/write race in the websocket transport (https://github.com/libp2p/go-libp2p-kad-dht/pull/422)
* Fixes recursive resolution of dnsaddrs (for bootstrapping).
2019-12-17 16:09:09 +01:00
Steven Allen
61491609d2 chore(dep): update libp2p & go-fs-lock
* fixes #6434
* switches the default libp2p multiaddr format to /p2p/Qm...
2019-12-14 19:39:51 +01:00
Steven Allen
f5b655e53c chore(dep): update a few deps 2019-12-14 17:35:26 +01:00
Adin Schmahmann
36494e493a ipns(pubsub): utilize persistent pubsub value store 2019-12-11 11:52:05 -05:00
Steven Allen
cac3ecebba chore(dep): update go-datastore
Let's get this in so the datastore changes don't block other PRs.
2019-12-10 09:39:22 +01:00
Steven Allen
9acfd5ce58 chore(dep): update bitswap to fix a bug 2019-12-05 13:26:46 -05:00
Steven Allen
9f1249c65b fix: use libp2p keysizes 2019-12-05 13:26:46 -05:00
Steven Allen
794cdc2642 chore(dep): update libp2p 2019-12-05 13:26:46 -05:00
Michael Muré
c3692a5913 extract the pinner to go-ipfs-pinner and dagutils into go-merkledag 2019-12-02 15:45:44 -05:00
Adin Schmahmann
0906d7f3b1 fix (pinning): pin ls traverses all indirect pins. pin ls pin type precedence change - a direct/recursive pin is now labeled as such even if also indirectly pinned. 2019-12-02 13:53:14 -05:00
Steven Allen
c529410f04 chore(dep): update go-ipfs-provider 2019-11-18 11:51:33 -06:00
Michael Muré
097b684b42
pin: add context and error return to most of the Pinner functions 2019-11-18 18:32:48 +01:00
Steven Allen
57a7f09196 chore(dep): update QUIC
This is a large protocol breaking change. That's why QUIC is experimental.
2019-11-15 05:36:08 -08:00
Steven Allen
02338478e0 dep: update bitswap for improved performance
The new version of bitswap should improve server-side ("seeding") performance
with high-latency disks.
2019-10-28 16:49:21 -07:00
Jakub Sztandera
01b357a98a
Merge pull request #6701 from ipfs/feat/buzhash
Introduce buzhash chunker
2019-10-08 01:45:17 +02:00
Jakub Sztandera
67f9837734
Introduce buzhash chunker
It has the same properties as Rabin but is much faster.
Benchmark results:

```
name             speed
Buzhash2/1K-4    1.71GB/s ± 4%
Buzhash2/1M-4    1.15GB/s ± 2%
Buzhash2/16M-4    892MB/s ± 1%
Buzhash2/100M-4   904MB/s ± 2%
Rabin/1K-4       13.8MB/s ± 3%
Rabin/1M-4        171MB/s ± 3%
Rabin/16M-4       182MB/s ± 4%
Rabin/100M-4      182MB/s ± 3%
Default/1K-4     1.74GB/s ± 4%
Default/1M-4     3.22GB/s ± 2%
Default/16M-4    3.88GB/s ± 2%
Default/100M-4   4.21GB/s ± 6%
```

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-07 18:06:02 +02:00
Steven Allen
d5f22c2ca4 fix(resolve): correctly handle .eth domains
This should have been handled down inside the DNSLink resolver. Otherwise, we'll
break any name happens to end in `.eth`.

also fixes #6699
2019-10-07 17:28:13 +09:00
Steven Allen
460c2119e4 daemon: support unix domain sockets for the API/gateway
All the work was client-side. Unix domain socket multiaddrs already worked
server-side.

fixes #4218
2019-09-30 17:21:28 -07:00
Steven Allen
164dd287be
Merge pull request #6675 from ipfs/feat/systemd-activation
add systemd support
2019-09-30 15:22:44 -07:00
Hector Sanjuan
c45ec19f37 Update go-libp2p-http (and go-libp2p-gostream)
Manually removed some newly-appeared // indirect imports as
they seem to just pollute the go.mod.
2019-09-27 16:14:27 -07:00
Steven Allen
0d0b4fc857 feat(systemd): extract socket activation logic 2019-09-27 16:09:17 -07:00
Steven Allen
429c4b537c implement systemd socket activation
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
9ee4adfc7c chore(dep): update everything
* multiaddr (fixes issues when the latest go-multiaddr is imported)
* libp2p (lots of fixes)
* prometheus
* gogo/protobuf

fixes #6676
2019-09-26 14:50:02 -07:00
Steven Allen
a8fbd066d7 make: move all test deps to a separate module
1. This means those deps don't get pulled in unless we actually need to test.
2. It means we can cordon all the golangci-lint module replace hacks off into a
   separate package.
2019-09-11 11:43:50 -07:00
Steven Allen
150b6dd1bd plugins: add support for plugin configs
For now, configs specified in `daemon --init-config` and `init CONFIG` are not
available. We should fix this eventually but isn't necessary for now (and
supporting this will be annoying).
2019-08-29 17:17:23 -07:00
Steven Allen
c8dbdc861f dep: update bitswap
fixes a bunch of lock contention.
2019-08-27 18:51:19 -07:00
Steven Allen
a330a3835f dep: update bbloom
Fixes some unsafe uses of the "unsafe" package.
2019-08-23 18:48:00 -07:00
Steven Allen
fe9ac603a7 dep: update mdns
fixes a long-standing race condition
2019-08-23 18:46:50 -07:00
Steven Allen
0c8ae4d250 dep: update datastore and swarm
* Swarm: fixes data race.
* Datastore: make delete idempotent.
2019-08-23 18:26:21 -07:00
Steven Allen
590ff37310 dep: update core interfaces 2019-08-23 17:02:23 -07:00
Cole Brown
f5ea1af519 Use 2048 bit RSA keys in sharness and bench 2019-08-23 14:26:20 -07:00
Cole Brown
1bcf51e02d Update go-libp2p, fix tests with weak RSA keys 2019-08-23 14:26:20 -07:00
Steven Allen
19db7c8a33 dep: update blockstore + bbloom
Fixes several unsafety issues. Works towards #4485.
2019-08-23 11:35:43 -07:00
Steven Allen
45d6d9dcce build: fix build on go 1.13
fixes #6603
2019-08-22 10:01:54 -07:00
Steven Allen
055803d35f switch from ARC cache to a 2Q cache
fixes #6590 (potential non-OSS patent issue)
2019-08-20 13:46:41 -07:00
Steven Allen
75d69286d0 dep: update connmgr 2019-08-06 16:41:45 -07:00