Commit Graph

2027 Commits

Author SHA1 Message Date
Hector Sanjuan
eba3246b98 chore: update deps: dht to cypress
Add necessary validators.

There is currently no way to run a dynamic-mode DHT that supports
LAN-based peers. Therefore for the time-being we are setting the
dht.Mode to "server".
2020-04-07 16:22:46 +02:00
Hector Sanjuan
6a2207c2eb chore: go mod tidy 2020-04-06 15:13:56 +02:00
Hector Sanjuan
e0ed6e2585
Merge pull request #1048 from ipfs/dependabot/go_modules/github.com/ipfs/go-log/v2-2.0.4
build(deps): bump github.com/ipfs/go-log/v2 from 2.0.3 to 2.0.4
2020-04-06 12:29:43 +02:00
Hector Sanjuan
bb81337eae
Merge pull request #1049 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-quic-transport-0.3.2
build(deps): bump github.com/libp2p/go-libp2p-quic-transport from 0.3.1 to 0.3.2
2020-04-06 12:29:29 +02:00
dependabot-preview[bot]
9441fceb04
build(deps): bump github.com/libp2p/go-libp2p-quic-transport
Bumps [github.com/libp2p/go-libp2p-quic-transport](https://github.com/libp2p/go-libp2p-quic-transport) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/libp2p/go-libp2p-quic-transport/releases)
- [Commits](https://github.com/libp2p/go-libp2p-quic-transport/compare/v0.3.1...v0.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 07:58:48 +00:00
dependabot-preview[bot]
301f815869
build(deps): bump github.com/ipfs/go-log/v2 from 2.0.3 to 2.0.4
Bumps [github.com/ipfs/go-log/v2](https://github.com/ipfs/go-log) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 07:58:25 +00:00
Hector Sanjuan
3817ce808e
Merge pull request #1045 from ipfs/dependabot/go_modules/github.com/hsanjuan/ipfs-lite-1.1.4
build(deps): bump github.com/hsanjuan/ipfs-lite from 1.1.3 to 1.1.4
2020-04-03 14:35:33 +02:00
Hector Sanjuan
09e6ee853e
Merge pull request #1042 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-0.7.4
build(deps): bump github.com/libp2p/go-libp2p from 0.7.2 to 0.7.4
2020-04-03 14:34:52 +02:00
dependabot-preview[bot]
79b7fa0175
build(deps): bump github.com/libp2p/go-libp2p from 0.7.2 to 0.7.4
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.7.2 to 0.7.4.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/NEWS.md)
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.7.2...v0.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 11:57:03 +00:00
dependabot-preview[bot]
dcdc61c10e
build(deps): bump github.com/hsanjuan/ipfs-lite from 1.1.3 to 1.1.4
Bumps [github.com/hsanjuan/ipfs-lite](https://github.com/hsanjuan/ipfs-lite) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/hsanjuan/ipfs-lite/releases)
- [Commits](https://github.com/hsanjuan/ipfs-lite/compare/v1.1.3...v1.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 11:56:30 +00:00
Hector Sanjuan
c73f4fabbc
Merge pull request #1046 from ipfs/dependabot/go_modules/github.com/multiformats/go-multiaddr-net-0.1.4
build(deps): bump github.com/multiformats/go-multiaddr-net from 0.1.3 to 0.1.4
2020-04-03 13:50:01 +02:00
Hector Sanjuan
fdc67a4eed
Merge pull request #1043 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.5.1
build(deps): bump github.com/libp2p/go-libp2p-core from 0.5.0 to 0.5.1
2020-04-03 13:49:09 +02:00
Hector Sanjuan
51cb2476d7
Merge pull request #1041 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-circuit-0.2.1
build(deps): bump github.com/libp2p/go-libp2p-circuit from 0.1.4 to 0.2.1
2020-04-03 13:48:42 +02:00
Hector Sanjuan
1826bce219
Merge pull request #1040 from ipfs/dependabot/go_modules/github.com/ipfs/go-ipfs-api-0.0.3
build(deps): bump github.com/ipfs/go-ipfs-api from 0.0.2 to 0.0.3
2020-04-03 13:47:34 +02:00
Hector Sanjuan
4346b0c8f4
Merge pull request #1039 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-secio-0.2.2
build(deps): bump github.com/libp2p/go-libp2p-secio from 0.2.1 to 0.2.2
2020-04-03 13:47:06 +02:00
Hector Sanjuan
4bd8b1d464
Merge pull request #1038 from ipfs/dependabot/go_modules/github.com/imdario/mergo-0.3.9
build(deps): bump github.com/imdario/mergo from 0.3.7 to 0.3.9
2020-04-03 13:46:38 +02:00
dependabot-preview[bot]
4223137c3f
build(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.3 to 0.1.4.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.3...v0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 11:34:40 +00:00
dependabot-preview[bot]
0b3eb9bf12
build(deps): bump github.com/libp2p/go-libp2p-core from 0.5.0 to 0.5.1
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:53:26 +00:00
dependabot-preview[bot]
20978bbbdb
build(deps): bump github.com/libp2p/go-libp2p-circuit
Bumps [github.com/libp2p/go-libp2p-circuit](https://github.com/libp2p/go-libp2p-circuit) from 0.1.4 to 0.2.1.
- [Release notes](https://github.com/libp2p/go-libp2p-circuit/releases)
- [Commits](https://github.com/libp2p/go-libp2p-circuit/compare/v0.1.4...v0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:45:01 +00:00
dependabot-preview[bot]
b8682049d0
build(deps): bump github.com/ipfs/go-ipfs-api from 0.0.2 to 0.0.3
Bumps [github.com/ipfs/go-ipfs-api](https://github.com/ipfs/go-ipfs-api) from 0.0.2 to 0.0.3.
- [Release notes](https://github.com/ipfs/go-ipfs-api/releases)
- [Commits](https://github.com/ipfs/go-ipfs-api/compare/v0.0.2...v0.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:44:37 +00:00
dependabot-preview[bot]
37faf9155d
build(deps): bump github.com/libp2p/go-libp2p-secio from 0.2.1 to 0.2.2
Bumps [github.com/libp2p/go-libp2p-secio](https://github.com/libp2p/go-libp2p-secio) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-secio/releases)
- [Commits](https://github.com/libp2p/go-libp2p-secio/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:44:12 +00:00
dependabot-preview[bot]
ab0e42ae3a
build(deps): bump github.com/imdario/mergo from 0.3.7 to 0.3.9
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.7 to 0.3.9.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.7...v0.3.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:43:39 +00:00
Hector Sanjuan
b72bf7b55d
Merge pull request #1029 from ipfs/dependabot/go_modules/github.com/ipfs/go-ds-badger-0.2.3
build(deps): bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
2020-04-03 11:27:53 +02:00
Hector Sanjuan
47474a949e
Merge pull request #1031 from ipfs/dependabot/go_modules/github.com/gorilla/mux-1.7.4
build(deps): bump github.com/gorilla/mux from 1.7.3 to 1.7.4
2020-04-03 11:27:02 +02:00
Hector Sanjuan
9eb1353404
Merge pull request #1028 from ipfs/dependabot/go_modules/github.com/urfave/cli-1.22.4
build(deps): bump github.com/urfave/cli from 1.22.1 to 1.22.4
2020-04-03 11:25:42 +02:00
dependabot-preview[bot]
d769a97043
build(deps): bump github.com/ipfs/go-ds-badger from 0.2.2 to 0.2.3
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/ipfs/go-ds-badger/releases)
- [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.2...v0.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:05:30 +00:00
dependabot-preview[bot]
5cc6bc7891
build(deps): bump github.com/gorilla/mux from 1.7.3 to 1.7.4
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.3...v1.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:03:51 +00:00
dependabot-preview[bot]
b8f311d40f
build(deps): bump github.com/urfave/cli from 1.22.1 to 1.22.4
Bumps [github.com/urfave/cli](https://github.com/urfave/cli) from 1.22.1 to 1.22.4.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v1.22.1...v1.22.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 09:03:37 +00:00
Hector Sanjuan
77a47d066b
Merge pull request #1037 from ipfs/dependabot/go_modules/github.com/ipfs/go-fs-lock-0.0.4
build(deps): bump github.com/ipfs/go-fs-lock from 0.0.1 to 0.0.4
2020-04-03 10:55:58 +02:00
Hector Sanjuan
e1deb85a89
Merge pull request #1036 from ipfs/dependabot/go_modules/github.com/hashicorp/go-hclog-0.12.2
build(deps): bump github.com/hashicorp/go-hclog from 0.12.1 to 0.12.2
2020-04-03 10:54:40 +02:00
Hector Sanjuan
081526d0ea
Merge pull request #1035 from ipfs/dependabot/go_modules/github.com/prometheus/client_golang-1.5.1
build(deps): bump github.com/prometheus/client_golang from 1.4.0 to 1.5.1
2020-04-03 10:54:27 +02:00
Hector Sanjuan
123b51f131
Merge pull request #1034 from ipfs/dependabot/go_modules/github.com/urfave/cli/v2-2.2.0
build(deps): bump github.com/urfave/cli/v2 from 2.0.0 to 2.2.0
2020-04-03 10:54:05 +02:00
Hector Sanjuan
4aa045c216
Merge pull request #1033 from ipfs/dependabot/go_modules/contrib.go.opencensus.io/exporter/jaeger-0.2.0
build(deps): bump contrib.go.opencensus.io/exporter/jaeger from 0.1.0 to 0.2.0
2020-04-03 10:53:41 +02:00
dependabot-preview[bot]
71a967113c
build(deps): bump github.com/ipfs/go-fs-lock from 0.0.1 to 0.0.4
Bumps [github.com/ipfs/go-fs-lock](https://github.com/ipfs/go-fs-lock) from 0.0.1 to 0.0.4.
- [Release notes](https://github.com/ipfs/go-fs-lock/releases)
- [Commits](https://github.com/ipfs/go-fs-lock/compare/v0.0.1...v0.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:11:50 +00:00
dependabot-preview[bot]
a98a47403a
build(deps): bump github.com/hashicorp/go-hclog from 0.12.1 to 0.12.2
Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](https://github.com/hashicorp/go-hclog/compare/v0.12.1...v0.12.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:11:24 +00:00
dependabot-preview[bot]
065e0ec325
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.4.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:56 +00:00
dependabot-preview[bot]
9973632492
build(deps): bump github.com/urfave/cli/v2 from 2.0.0 to 2.2.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.0.0 to 2.2.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.0.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:35 +00:00
dependabot-preview[bot]
afb17314d3
build(deps): bump contrib.go.opencensus.io/exporter/jaeger
Bumps [contrib.go.opencensus.io/exporter/jaeger](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger/releases)
- [Commits](https://github.com/census-ecosystem/opencensus-go-exporter-jaeger/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 22:10:09 +00:00
Hector Sanjuan
f2e5296191
Merge pull request #1020 from ipfs/feat/libp2p-0.6.0
Major dependency upgrade (go-libp2p, go-ds-crdt...)
2020-04-02 18:19:17 +02:00
Hector Sanjuan
f3ed4533f2 Revert "Revert to Go1.13"
This reverts commit 5bd6057bf9.
2020-04-02 18:03:58 +02:00
Hector Sanjuan
5bd6057bf9 Revert to Go1.13 2020-04-02 16:48:52 +02:00
Hector Sanjuan
65ad4bd632 cluster/daemons: Close the datastore AFTER the DHT.
Avoids panics.

This also removes the abnormality of cluster closing a datastore
that it did not create.
2020-04-02 16:29:41 +02:00
Hector Sanjuan
bebd1e168c cluster: re-add quic to defaults, but keep transport disabled
This still works.
2020-04-02 16:12:45 +02:00
Hector Sanjuan
ab74987bc8 clusterhost: place dht records in persistened DHT
With this cluster peers will start remembering provider records accross
re-starts.
2020-04-01 20:15:48 +02:00
Hector Sanjuan
b95745e0eb clusterhost: use EnableNATService() libp2p option.
The autonat-svc repository is deprecated.
2020-04-01 19:38:37 +02:00
Hector Sanjuan
9fc49b013c
Merge pull request #1027 from ipfs/feat/better-badger-defaults
badger: reduce memory footprint with better default options
2020-04-01 17:56:00 +02:00
Hector Sanjuan
69cd226922 clusterhost: Remove relay OptDiscovery
It was made a no-op.
2020-04-01 17:19:52 +02:00
Hector Sanjuan
c072682306 badger: reduce memory footprint with better default options
They are the same that go-ipfs has started using, our users can
always overwrite them though (unlike go-ipfs).
2020-04-01 13:18:41 +02:00
Hector Sanjuan
dad63ac700 Chore: update deps libp2p 0.7.2 2020-04-01 11:15:29 +02:00
Hector Sanjuan
636c4ca331 Chore: upgrade go-ipfs-chunker 2020-03-27 00:18:08 +01:00