Commit Graph

2466 Commits

Author SHA1 Message Date
Hector Sanjuan
82412ca91c crdt: fix pubsub validation for crdt messages
Currently, it was not looking at the signer of the message, but at the
peer that relayed it, to verify the validity of the message.

This caused that under certain gossip graph configurations, some nodes would only
get messages via untrusted peers, and thus be unable to sync the chain.
2021-01-13 22:13:03 +01:00
Hector Sanjuan
7e0d39cdf7 config: Fix some slices being appended the same values twice
trusted_peers and peer_addresses were appended the same info twice when
reparsing the config.

Once when parsing json and once when re-parsing with env-vars.
2021-01-13 22:13:03 +01:00
Hector Sanjuan
90208b45f9 health/alerts endpoint: brush up old PR 2021-01-13 22:09:21 +01:00
Hector Sanjuan
7824dfb4e3
Merge pull request #1287 from ipfs/fix/1286-progress-output
ipfsproxy: fix 'undefined cid' string appeareance in progress output
2021-01-13 21:47:53 +01:00
Hector Sanjuan
4bcb91ee2b Merge branch 'master' into feat/alerts 2021-01-13 21:08:49 +01:00
Hector Sanjuan
418ae6f9c8
Merge pull request #1196 from omkarprabhu-98/feat/1085-dockerfile-multi-arch-support
Feat 1085: Dockerfile to support multiple architectures
2021-01-13 21:05:07 +01:00
Hector Sanjuan
6ffb697c45
Merge pull request #1268 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/urfave/cli-1.22.5
build(deps): bump github.com/urfave/cli from 1.22.4 to 1.22.5
2021-01-13 21:03:19 +01:00
Hector Sanjuan
e41a1b94ee Remove unexistent linter directive 2021-01-13 20:59:16 +01:00
dependabot-preview[bot]
56d837fbf9
build(deps): bump github.com/urfave/cli from 1.22.4 to 1.22.5
Bumps [github.com/urfave/cli](https://github.com/urfave/cli) from 1.22.4 to 1.22.5.
- [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.4...v1.22.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 15:44:28 +00:00
Hector Sanjuan
95bd025bbf
Merge pull request #1269 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/hashicorp/go-hclog-0.15.0
build(deps): bump github.com/hashicorp/go-hclog from 0.14.1 to 0.15.0
2021-01-13 16:34:59 +01:00
Hector Sanjuan
19893617d0
Merge pull request #1267 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/urfave/cli/v2-2.3.0
build(deps): bump github.com/urfave/cli/v2 from 2.2.0 to 2.3.0
2021-01-13 16:34:45 +01:00
Hector Sanjuan
a39ee13834 ipfsproxy: fix 'undefined cid' string appeareance in progress output
Fixes #1286. Some AddedOutput objects carry an undefined CID. This was getting
stringified as 'b', making the proxy responses include this rather than
skipping setting the field.
2021-01-13 16:32:08 +01:00
dependabot-preview[bot]
1fecbf6251
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.7.1 to 1.9.0.
- [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.7.1...v1.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 11:51:48 +00:00
dependabot-preview[bot]
34d2cfde94
build(deps): bump github.com/hashicorp/go-hclog from 0.14.1 to 0.15.0
Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](https://github.com/hashicorp/go-hclog/compare/v0.14.1...v0.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 11:36:13 +00:00
dependabot-preview[bot]
088de90a9f
build(deps): bump github.com/urfave/cli/v2 from 2.2.0 to 2.3.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.2.0 to 2.3.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.2.0...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 11:34:49 +00:00
Hector Sanjuan
c78f7839a2
Merge pull request #1264 from ipfs/fix/help-line-ctl
Improve ipfs-cluster-ctl docs regarding --host
2020-10-20 16:11:18 +02:00
Hector Sanjuan
b65c848130 Improve ipfs-cluster-ctl docs regarding --host 2020-10-20 15:05:34 +02:00
Hector Sanjuan
84c2c5161f
Merge pull request #1263 from ipfs/feat/trimpath
Switch to building with -trimpath instead of asm and gc trimpath flags
2020-10-20 14:53:21 +02:00
Hector Sanjuan
a56ce73f92 Switch to building with -trimpath instead of asm and gc trimpath flags
Kudos to https://github.com/ipfs/distributions/pull/314
2020-10-20 14:32:20 +02:00
Hector Sanjuan
b46ec4d935
Merge pull request #1238 from ipfs/dependency-upgrades
(chore) dependency upgrades
2020-10-20 14:12:44 +02:00
Hector Sanjuan
014606d3ee
Merge pull request #1250 from omkarprabhu-98/feat/failover-client-cluster-ctl
Feat #1222: Integrates the failover client in ipfs-cluster-ctl
2020-10-20 14:06:15 +02:00
Hector Sanjuan
dc88a4b8d7 chore: dependency updates 2020-10-20 13:46:06 +02:00
Hector Sanjuan
2b984c63e1
Merge pull request #1256 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/libp2p/go-libp2p-pubsub-0.3.6
build(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.3.5 to 0.3.6
2020-10-20 11:29:52 +02:00
dependabot-preview[bot]
1057dc1fb0
build(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.3.5 to 0.3.6
Bumps [github.com/libp2p/go-libp2p-pubsub](https://github.com/libp2p/go-libp2p-pubsub) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/libp2p/go-libp2p-pubsub/releases)
- [Commits](https://github.com/libp2p/go-libp2p-pubsub/compare/v0.3.5...v0.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 09:23:41 +00:00
Hector Sanjuan
4af5d1e65c
Merge pull request #1257 from ipfs/dependabot/go_modules/dependency-upgrades/go.opencensus.io-0.22.5
build(deps): bump go.opencensus.io from 0.22.4 to 0.22.5
2020-10-20 11:18:06 +02:00
Hector Sanjuan
4213f824b7
Merge pull request #1259 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ds-badger-0.2.6
build(deps): bump github.com/ipfs/go-ds-badger from 0.2.5 to 0.2.6
2020-10-20 11:16:46 +02:00
Hector Sanjuan
a3fc3d9a06
Merge pull request #1260 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ugorji/go/codec-1.1.12
build(deps): bump github.com/ugorji/go/codec from 1.1.10 to 1.1.12
2020-10-20 11:16:26 +02:00
Hector Sanjuan
cd3bd10b3e codec 1.1.13 2020-10-20 11:15:36 +02:00
Hector Sanjuan
ac360b60e5
Merge pull request #1254 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ipfs-config-0.10.0
build(deps): bump github.com/ipfs/go-ipfs-config from 0.9.0 to 0.10.0
2020-10-20 11:13:35 +02:00
Hector Sanjuan
cf67870106
Merge pull request #1253 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/libp2p/go-libp2p-quic-transport-0.8.2
build(deps): bump github.com/libp2p/go-libp2p-quic-transport from 0.8.1 to 0.8.2
2020-10-20 11:13:26 +02:00
Hector Sanjuan
0702ec3c24
Merge pull request #1252 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/libp2p/go-libp2p-noise-0.1.2
build(deps): bump github.com/libp2p/go-libp2p-noise from 0.1.1 to 0.1.2
2020-10-20 11:13:12 +02:00
dependabot-preview[bot]
2c68785181
build(deps): bump github.com/ugorji/go/codec from 1.1.10 to 1.1.12
Bumps [github.com/ugorji/go/codec](https://github.com/ugorji/go) from 1.1.10 to 1.1.12.
- [Release notes](https://github.com/ugorji/go/releases)
- [Commits](https://github.com/ugorji/go/compare/v1.1.10...v1.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 11:36:12 +00:00
dependabot-preview[bot]
e2711606ca
build(deps): bump github.com/ipfs/go-ds-badger from 0.2.5 to 0.2.6
Bumps [github.com/ipfs/go-ds-badger](https://github.com/ipfs/go-ds-badger) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/ipfs/go-ds-badger/releases)
- [Commits](https://github.com/ipfs/go-ds-badger/compare/v0.2.5...v0.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 11:35:23 +00:00
Omkar Prabhu
8f24691df4 moved to new line 2020-10-14 10:43:23 +05:30
Omkar Prabhu
904c2688ec host help character count reduced 2020-10-13 14:23:24 +05:30
dependabot-preview[bot]
e5df497ce5
build(deps): bump go.opencensus.io from 0.22.4 to 0.22.5
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go) from 0.22.4 to 0.22.5.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases)
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.4...v0.22.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 11:36:13 +00:00
dependabot-preview[bot]
da23a49281
build(deps): bump github.com/ipfs/go-ipfs-config from 0.9.0 to 0.10.0
Bumps [github.com/ipfs/go-ipfs-config](https://github.com/ipfs/go-ipfs-config) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/ipfs/go-ipfs-config/releases)
- [Commits](https://github.com/ipfs/go-ipfs-config/compare/v0.9.0...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 11:34:58 +00:00
dependabot-preview[bot]
15bdd45729
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.8.1 to 0.8.2.
- [Release notes](https://github.com/libp2p/go-libp2p-quic-transport/releases)
- [Commits](https://github.com/libp2p/go-libp2p-quic-transport/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 11:34:49 +00:00
dependabot-preview[bot]
ce9585f0a4
build(deps): bump github.com/libp2p/go-libp2p-noise from 0.1.1 to 0.1.2
Bumps [github.com/libp2p/go-libp2p-noise](https://github.com/libp2p/go-libp2p-noise) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/libp2p/go-libp2p-noise/releases)
- [Commits](https://github.com/libp2p/go-libp2p-noise/compare/v0.1.1...v0.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 11:34:08 +00:00
Omkar Prabhu
fa8b0845d0 hosts input format changed 2020-10-08 22:44:03 +05:30
Hector Sanjuan
23c6925bea
Merge pull request #1251 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ugorji/go/codec-1.1.10
build(deps): bump github.com/ugorji/go/codec from 1.1.7 to 1.1.10
2020-10-08 14:15:21 +02:00
Hector Sanjuan
b02a25a42c
Merge pull request #1239 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/libp2p/go-libp2p-kad-dht-0.10.0
build(deps): bump github.com/libp2p/go-libp2p-kad-dht from 0.9.0 to 0.10.0
2020-10-08 13:53:14 +02:00
Hector Sanjuan
f829d249c8
Merge pull request #1249 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ds-badger-0.2.5
build(deps): bump github.com/ipfs/go-ds-badger from 0.2.4 to 0.2.5
2020-10-08 13:52:45 +02:00
Hector Sanjuan
64abbdb910
Merge pull request #1247 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/libp2p/go-libp2p-quic-transport-0.8.1
build(deps): bump github.com/libp2p/go-libp2p-quic-transport from 0.8.0 to 0.8.1
2020-10-08 13:52:33 +02:00
Hector Sanjuan
9dad75e2d2
Merge pull request #1246 from ipfs/dependabot/go_modules/dependency-upgrades/go.uber.org/multierr-1.6.0
build(deps): bump go.uber.org/multierr from 1.5.0 to 1.6.0
2020-10-08 13:52:20 +02:00
Hector Sanjuan
2a94f1457e
Merge pull request #1242 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/gorilla/handlers-1.5.1
build(deps): bump github.com/gorilla/handlers from 1.5.0 to 1.5.1
2020-10-08 13:52:03 +02:00
Hector Sanjuan
7f3ff33d30
Merge pull request #1243 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/dgraph-io/badger-1.6.2
build(deps): bump github.com/dgraph-io/badger from 1.6.1 to 1.6.2
2020-10-08 13:51:51 +02:00
Omkar Prabhu
dc5ca5bd2b simplifies resolveaddr, multiple hosts as input 2020-10-07 10:21:04 +05:30
dependabot-preview[bot]
72c3545669
build(deps): bump github.com/ugorji/go/codec from 1.1.7 to 1.1.10
Bumps [github.com/ugorji/go/codec](https://github.com/ugorji/go) from 1.1.7 to 1.1.10.
- [Release notes](https://github.com/ugorji/go/releases)
- [Commits](https://github.com/ugorji/go/compare/v1.1.7...v1.1.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 11:33:56 +00:00
Hector Sanjuan
d846f3739c Codecov: disable comments 2020-10-05 08:41:42 +02:00