Commit Graph

440 Commits

Author SHA1 Message Date
Adin Schmahmann
1a040b016d
Merge pull request #6816 from ipfs/feat/mh-backed-datastore
feat: switch to raw multihashes for blocks
2021-12-13 15:37:16 -05:00
Adin Schmahmann
9913183038 chore: update go-ipfs-blockstore 2021-12-09 12:07:09 -05:00
Adin Schmahmann
615fb80d37 chore: update go-ipld-prime 2021-12-08 12:46:03 -05:00
Gus Eggert
024e84adec fix: update go-ds-flatfs to v0.5.1
Fixes #8579
2021-12-03 15:08:41 -05:00
Hector Sanjuan
b55a9435d5 Bump go-filestore and go-blockstore dependencies 2021-12-02 09:50:55 -05:00
Adin Schmahmann
d83e3149c5 chore: update deps 2021-11-30 14:45:43 -05:00
Mohsin Zaidi
ecd2628a16
Integrate go-dag-jose plugin (#8569)
* feat(dag-jose): integrate `go-dag-jose` plugin
* test(dag-jose): sharness test for dag-jose plugin

Co-authored-by: Eric Myhre <hash@exultant.us>
2021-11-30 10:58:15 -08:00
dependabot[bot]
4fb4c2dd48 chore(deps): bump github.com/gabriel-vasile/mimetype from 1.1.2 to 1.4.0
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.1.2 to 1.4.0.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.1.2...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 19:18:52 -05:00
Adin Schmahmann
52c177ced9
feat: go-libp2p 0.16, UnixFS autosharding and go-datastore with contexts (#8563)
* plumb through go-datastore context changes

* update go-libp2p to v0.16.0
* use LIBP2P_TCP_REUSEPORT instead of IPFS_REUSEPORT
* use relay config
* making deprecation notice match the go-ipfs-config key
* docs(config): circuit relay v2
* docs(config): fix links and headers
* feat(config): Internal.Libp2pForceReachability

This switches to config that supports setting and reading
Internal.Libp2pForceReachability OptionalString flag

* use configuration option for static relays

* chore: go-ipfs-config v0.18.0

https://github.com/ipfs/go-ipfs-config/releases/tag/v0.18.0

* feat: circuit v1 migration prompt when Swarm.EnableRelayHop is set (#8559)
* exit when Swarm.EnableRelayHop is set
* docs: Experimental.ShardingEnabled migration

This ensures existing users of global sharding experiment get notified
that the flag no longer works + that autosharding happens automatically.

For people who NEED to keep the old behavior (eg. have no time to
migrate today) there is a note about restoring it with
`UnixFSShardingSizeThreshold`.

* chore: add dag-jose code to the cid command output

* add support for setting automatic unixfs sharding threshold from the config
* test: have tests use low cutoff for sharding to mimic old behavior
* test: change error message to match the current error
* test: Add automatic sharding/unsharding tests (#8547)
* test: refactored naming in the sharding sharness tests to make more sense

* ci: set interop test executor to convenience image for Go1.16 + Node
* ci: use interop master

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Lucas Molas <schomatis@gmail.com>
2021-11-29 19:58:05 +01:00
Rod Vagg
9e8b6e5b50
chore: replace go-merkledag walk with go-ipld-prime traversal for dag export (#8506)
* chore: replace go-merkledag walk with go-ipld-prime traversal for dag export

This is "safe" now because we can limit duplicate block loads like
go-merkledag does and won't get trapped taking a long time for complex
DAGs. We can do this while we're using an exhaustive selector (like
ExploreAll here) but will need an alternative strategy when we go for
arbitrary selectors.
2021-10-26 14:07:31 -04:00
Marcin Rataj
8b7432d6e8
chore: go-ipfs-files v0.0.9 (#8488)
Closes #8445
Closes #8406
2021-10-05 23:53:52 +02:00
Adin Schmahmann
85e30b9b36 fuse: load unixfs adls as their dagpb substrates 2021-09-27 17:50:44 -04:00
Adin Schmahmann
5471092d85 chore: update go-path 2021-09-27 15:50:23 -04:00
Marten Seemann
4969ed2b17 chore: update go-libp2p to v0.15.0 2021-09-27 11:12:42 -04:00
Daniel Martí
d6127b062c make json, cbor, and git codecs error on empty input 2021-09-23 13:01:50 -04:00
Adin Schmahmann
0bd3d068f6 chore: update deps 2021-08-19 16:50:59 -04:00
Marten Seemann
c95d6ca08c update go-libp2p to v0.15.0-rc.1 2021-08-19 18:05:04 +02:00
Adin Schmahmann
7448340d20
support bitswap configurability (#8268)
* feat: extract Bitswap fx initialization to its own file
* chore: bump go-bitswap dependency
* feat: bump go-ipfs-config dependency and utilize the new Internal.Bitswap configuration options. Add documentation around the new OptionalInteger config type as well as the Internal.Bitswap options.
* docs(docs/config.md): move the table of contents towards the top of the document and update it

Co-authored-by: Petar Maymounkov <petarm@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Gus Eggert <877588+guseggert@users.noreply.github.com>
2021-08-18 14:15:16 -04:00
Hannah Howard
f63a997c35
IPLD Prime In IPFS: Target Merge Branch (#7976)
* feat: switch to using go-ipld-prime for codecs, path resolution, and the `dag put/get` commands
* fix: `dag put/get` not roundtripping due to an extra new line being added (https://github.com/ipfs/go-ipfs/issues/3503)

More detailed information is in the CHANGELOG.md file. Very high level:
* IPLD codecs (and their plugins) must use go-ipld-prime
* Added support for the dag-json codec
* `dag get/put` use IPLD codec names from the multicodec table
* `dag get` defaults to dag-json output instead of json, but may output with other codecs
* Data model pathing can be achieved using the /ipld prefix. For example, you can use `/ipld/QmFoo/Links/0/Hash` to traverse through a DagPB node
* With `dag get/put` the DagPB field names have been changed to match the ones in the protobuf listed in the specification

Co-authored-by: hannahhoward <hannah@hannahhoward.net>
Co-authored-by: Daniel Martí <mvdan@mvdan.cc>
Co-authored-by: acruikshank <acruikshank@example.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Will Scott <will.scott@protocol.ai>
Co-authored-by: Will Scott <will@cypherpunk.email>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
Co-authored-by: Eric Myhre <hash@exultant.us>
2021-08-17 13:32:49 -04:00
dependabot[bot]
88367e38e7
build(deps): bump go.uber.org/zap from 1.16.0 to 1.19.0
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.16.0 to 1.19.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.16.0...v1.19.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 11:26:26 +00:00
Petar Maymounkov
cab67f6b66
point ipfs to pinner that syncs on every pin (#8231)
Pinner upgrades and fixes. Faster reindexing. Syncing while reindexing. Syncing on every pin operation. Logging all pin operations.

Co-authored-by: gammazero <gammazero@users.noreply.github.com>
2021-07-29 10:27:05 -07:00
dependabot[bot]
848cf690b5
build(deps): bump github.com/ipfs/go-fs-lock from 0.0.6 to 0.0.7
Bumps [github.com/ipfs/go-fs-lock](https://github.com/ipfs/go-fs-lock) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/ipfs/go-fs-lock/releases)
- [Commits](https://github.com/ipfs/go-fs-lock/compare/v0.0.6...v0.0.7)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-fs-lock
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-22 15:08:42 +00:00
Marten Seemann
d2ec458e6f update go-libp2p to v0.14.4 2021-07-17 09:41:04 +02:00
Adin Schmahmann
9599ad5d7d chore: update deps 2021-07-16 09:35:06 -07:00
Adin Schmahmann
ffe7578ddf fix: downgrade mimetype dependency 2021-06-30 11:03:17 -07:00
Steven Allen
d48d035317
Merge pull request #8124 from ipfs/dependabot/go_modules/github.com/coreos/go-systemd/v22-22.3.2
build(deps): bump github.com/coreos/go-systemd/v22 from 22.3.1 to 22.3.2
2021-06-24 17:37:44 -07:00
Marten Seemann
df70cff96c update go-libp2p to v0.14.3 2021-06-23 20:17:19 -07:00
Adin Schmahmann
f6641d1766 chore: switch tar-utils dep to ipfs org 2021-06-22 14:35:55 -07:00
Adin Schmahmann
95eebe4817 chore: update deps 2021-06-21 10:18:39 -07:00
dependabot[bot]
8d3c9c3110 build(deps): bump github.com/libp2p/go-libp2p from 0.14.0 to 0.14.2
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.14.0 to 0.14.2.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.14.0...v0.14.2)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 12:34:19 -07:00
dependabot[bot]
1ab632a00a build(deps): bump github.com/libp2p/go-libp2p-discovery
Bumps [github.com/libp2p/go-libp2p-discovery](https://github.com/libp2p/go-libp2p-discovery) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/libp2p/go-libp2p-discovery/releases)
- [Commits](https://github.com/libp2p/go-libp2p-discovery/compare/v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p-discovery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 12:33:03 -07:00
Marten Seemann
58aa218b90 update QUIC 2021-06-17 12:30:11 -07:00
Adin Schmahmann
9c8b1019e5 chore: update go-libp2p-yamux 2021-05-27 14:02:54 -07:00
Adin Schmahmann
3746c2d630 chore: update deps 2021-05-27 11:40:09 -07:00
dependabot[bot]
482d7ed532 build(deps): bump github.com/libp2p/go-doh-resolver from 0.3.0 to 0.3.1
Bumps [github.com/libp2p/go-doh-resolver](https://github.com/libp2p/go-doh-resolver) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/libp2p/go-doh-resolver/releases)
- [Commits](https://github.com/libp2p/go-doh-resolver/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 12:19:32 -07:00
dependabot[bot]
6a029a48ab build(deps): bump github.com/ipfs/go-bitswap from 0.3.3 to 0.3.4
Bumps [github.com/ipfs/go-bitswap](https://github.com/ipfs/go-bitswap) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/ipfs/go-bitswap/releases)
- [Commits](https://github.com/ipfs/go-bitswap/compare/v0.3.3...v0.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 10:38:10 -07:00
Adin Schmahmann
cf45f1a862 added support for an experimental batched provider system
The batched provider system is enabled when the experimental AcceleratedDHTClient is enabled

There is also an `ipfs stats provide` command which gives stats about the providing/reproviding system when the batched provider system is enabled
2021-05-14 01:47:48 -07:00
Adin Schmahmann
2fd55d198c integrate experimental AcceleratedDHTClient
The experimental AcceleratedDHTClient can be enabled from the config

When enabled it modifies the output of the `ipfs stats dht` command.
2021-05-14 04:31:06 -04:00
Adin Schmahmann
afa98998da
Merge pull request #8071 from mycorrhizas/feat/non-icann-dns
feat: support DNSLink on non-ICANN DNS names
2021-05-13 10:11:50 -07:00
divingpetrel
24dd662d38 feat support non-ICANN DNS 2021-05-13 10:54:38 -04:00
Marten Seemann
bc68e2d1c2 update go-tcp-transport to v0.2.2 2021-05-13 07:24:25 -07:00
Marten Seemann
473d7d5851 update quic-go to v0.21.0-rc.1 2021-05-12 19:17:52 -04:00
Steven Allen
56472f9cf0
Merge pull request #7944 from ipfs/chore/update-go-version
chore: bump minimum go version to 1.15
2021-05-12 16:04:53 -07:00
Adin Schmahmann
5a62025cc7 chore: bump minimum go version to 1.15 2021-05-12 17:16:47 -04:00
Adin Schmahmann
3f7e23e640 chore: update deps 2021-05-12 16:58:35 -04:00
Andrew Gillis
c54cdaa1f8
Feat/migration ipfs download (#8064)
* Enable downloading migrations over IPFS

There are now options in the config file that control how migrations are downloaded. This includes enabling downloading migrations using IPFS by (when migrations are required) spinning up a temporary node for fetching the migrations before running them. There is also a config option to decide what to do with the migrations binaries once they are downloaded (e.g. cache or pin them in your node, or just throw out the data).

Co-authored-by: Steven Allen <steven@stebalien.com>
2021-05-12 09:33:14 -07:00
dependabot[bot]
80c71a4f09
build(deps): bump github.com/coreos/go-systemd/v22 from 22.3.1 to 22.3.2
Bumps [github.com/coreos/go-systemd/v22](https://github.com/coreos/go-systemd) from 22.3.1 to 22.3.2.
- [Release notes](https://github.com/coreos/go-systemd/releases)
- [Commits](https://github.com/coreos/go-systemd/compare/v22.3.1...v22.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 11:48:08 +00:00
Steven Allen
75e0141ad1 chore: update deps 2021-05-10 21:08:42 -07:00
vyzo
c9a0a03969 gomod: deps, tidy 2021-05-10 21:03:25 -07:00
Marten Seemann
d91ff2102b update go-libp2p to v0.14.0 2021-05-10 20:02:45 -07:00