Commit Graph

87 Commits

Author SHA1 Message Date
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
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
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
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
Hector Sanjuan
c9298a222c Chore: more dependency upgrades 2020-03-26 12:40:14 +01:00
Hector Sanjuan
8ced9b16de chore: general dependency upgrade (build fixes come later) 2020-03-22 14:50:25 +01:00
Hector Sanjuan
4ea830f74e Feat: ipfs-cluster-follow
This adds a new cluster command: ipfs-cluster-follow.

This command allows initializing and running follower peers as configured by a
remote-source configuration. The command can list configured peers
and obtain information for each of them.

Peers are launched with the rest API listening on a local unix socket. The
command can be run to list the items in the cluster pinset using this
endpoint. Alternatively, if no socket is present, the peer will be assumed to
be offline and the pin list will be directly read from the datastore.

Cluster peers launched with this command (and their configurations) are
compatible with ipfs-cluster-ctl and ipfs-cluster-service. We purposely do not
support most configuration options here. Using ipfs-cluster-ctl or launching
the peers using ipfs-cluster-service is always an option when the usecase
deviates from that supported by ipfs-cluster-follow.

Examples:

$ ipfs-cluster-follow -> list configured peers
$ ipfs-cluster-follow --help
$ ipfs-cluster-follow <clusterName> init <url>
$ ipfs-cluster-follow <clusterName> info
$ ipfs-cluster-follow <clusterName> run
$ ipfs-cluster-follow <clusterName> list
2019-12-07 15:38:59 +01:00
Hector Sanjuan
a6c83f72ba Fix #973: update quic-transport
Did not build in windows before...
2019-12-06 10:58:30 +01:00
Hector Sanjuan
71217ac5d1 restapi client: support talking to unix sockets
Setting APIAddr to a Unix socket multiaddress will just work.
2019-12-02 11:56:16 +01:00
Hector Sanjuan
f9411539f0 go.mod: remove btcd indirect dependency
It causes a checksum mismatch error and it is not needed directly.
2019-11-21 11:46:22 -06:00
Kishan Mohanbhai Sagathiya
9bef8ea04e Bump btcd to v0.20.1-beta 2019-11-21 14:05:44 +05:30
Hector Sanjuan
3a22da58ee
Merge pull request #955 from marten-seemann/update-quic
update go-libp2p-quic-transport to v0.2.1
2019-11-09 14:55:32 +01:00
Marten Seemann
dc4dc977f3 update go-libp2p-quic-transport to v0.2.1 2019-11-09 18:39:24 +07:00
Hector Sanjuan
df08d76c2c Fix #949: Cluster peers should advertise their external earlier
This lowers the activation threshold for an observed addressed
to 1 and increases the OwnObservedAddressTTL to infinite.

This should let cluster peers (particularly in small clusters)
advertise their known external addresses asap so that other peers
can include them in their peerstores (and save them on shutdown).

By default this only happens when an external address has received 4
connections in the last 40 minutes. In NATed environments this may
result in cluster peers advertising right away their NAT-translated address/ports
which may not be dialable, but in other cases that address seems to be
indeed dialable (docker).
2019-11-07 13:05:31 +01:00
Hector Sanjuan
834a95b44a update go-dot to latest tag 2019-11-07 12:52:17 +01:00
Hector Sanjuan
71bf98ac86 go.mod 2019-11-07 10:51:46 +01:00
Kishan Mohanbhai Sagathiya
4d8ef92b3d health/graph: Improve graph
Mark local, trusted peers. Add peernames. Improve display.
2019-11-07 10:47:29 +01:00
Hector Sanjuan
b08fe09cec Move to latest quic-transport 2019-11-05 12:52:08 +01:00
Hector Sanjuan
73ab101a3a Use latest go-libp2p-raft
Does not spit errors when no addresses are known for a peer.
2019-11-05 12:51:18 +01:00
Hector Sanjuan
8d7ff58787 Use fixed version of go-libp2p-tls 2019-11-05 12:51:15 +01:00
Hector Sanjuan
24491ab3fc Update to latest quic-transport 2019-11-05 12:50:46 +01:00
Hector Sanjuan
669e75aefc libp2p host: add secio as alternative, do not rewrap host
Only use QUIC for tests, as TCP+TLS has proven very unreliable.
2019-11-05 12:50:46 +01:00