-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
feat: go-libp2p 0.16 and autosharding and go-datastore to take contexts #8563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 44 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
378b416
WIP: update go-libp2p to v0.16.0
marten-seemann 61d93d9
WIP relay config
marten-seemann 3aa2cfd
refactor: apply config changes from review
lidel af01301
refactor: RelayTransport → Relay
lidel 5a73fff
refactor: use *OptionalInteger in config
lidel c517a12
refactor: flatten RelayService limits
lidel 023ffa7
docs(config): circuit relay v2
lidel 2577549
docs(config): user relay before service
lidel 8b2367a
docs(config): fix links and headers
lidel 9294163
feat(config): Internal.Libp2pForceReachability
lidel 7d05741
simplify processing of relay service opts
marten-seemann 05744cc
use the ForceReachability option, update sharness test
marten-seemann f5cc4a6
refactor: switch to real flag in sharness
lidel 93330d5
fix ForceReachability dependency injection
marten-seemann d9d3321
tmp chore: bump deps
aschmahmann 0e7e5e1
use configuration option for static relays
marten-seemann dea5469
update sharness
marten-seemann 4142b46
plumb through pseudoversions for context changes
guseggert 925f7d7
fix StaticRelay config option
marten-seemann 97993d8
update go-libp2p
marten-seemann 86d41db
add support for setting automatic unixfs sharding threshold from the …
aschmahmann 66e0f98
test: have tests use low cutoff for sharding to mimic old behavior
aschmahmann 36c1eda
fix: omitempty UnixFSShardingSizeThreshold
lidel 75a3db0
bump interop tests to branch with new go-ipfs sharding config option
aschmahmann 2bed2a2
bump go-unixfs and go-mfs
aschmahmann 9775022
change error message to match the current error
aschmahmann e0b6bb4
Add automatic sharding/unsharding tests (#8547)
schomatis 5358b0d
plumb through pseudoversions for context changes
guseggert b526b28
update go-ipfs-config to v0.17.0, fix sharness
marten-seemann 3267832
add docs for Swarm.RelayClient configuration
marten-seemann 0eefe2c
Merge branch 'update-libp2p' into feat/update-datastore
aschmahmann 4bdbe0a
Merge branch 'feat/unixfs-autosharding-with-config' into feat/update-…
aschmahmann 0446293
update deps
aschmahmann b27cdd5
fix accidental change to blockstore.HashOnRead
aschmahmann 3d112d4
fix graphsync accidental changes
aschmahmann c5eb1df
fix filestore commands to use contexts
aschmahmann 9425976
update go-datastore to fix NullDatastore not fulfilling the Batching …
aschmahmann 5a39843
chore: add dag-jose code to the cid command output
aschmahmann f13fa35
use LIBP2P_TCP_REUSEPORT instead of IPFS_REUSEPORT
marten-seemann 41a4d88
chore: go-ipfs-config v0.18.0
lidel 8c902b1
feat: circuit v1 migration prompt when Swarm.EnableRelayHop is set (#…
marten-seemann b44299a
docs: Experimental.ShardingEnabled migration
lidel 8e46cf8
bump interop tests to work with relayv2 and the new sharding config o…
aschmahmann cb4cf5c
ci: set interop test executor to convenience image for Go1.16 + Node
aschmahmann 2273893
chore: update deps
aschmahmann 5683042
ci: use interop master
aschmahmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ executors: | |
environment: | ||
<<: *default_environment | ||
NO_SANDBOX: true | ||
IPFS_REUSEPORT: false | ||
LIBP2P_TCP_REUSEPORT: false | ||
LIBP2P_ALLOW_WEAK_RSA_KEYS: 1 | ||
E2E_IPFSD_TYPE: go | ||
dockerizer: | ||
|
@@ -216,7 +216,8 @@ jobs: | |
- bin/ipfs | ||
- *store_gomod | ||
interop: | ||
executor: node | ||
docker: | ||
- image: cimg/go:1.16-node | ||
parallelism: 4 | ||
steps: | ||
- *make_out_dirs | ||
|
@@ -227,7 +228,7 @@ jobs: | |
command: | | ||
npm init -y | ||
npm install ipfs@^0.59.1 | ||
npm install ipfs-interop@^7.0.3 | ||
npm install ipfs/interop#feat/go-libp2p-0.16-and-sharding-config-option | ||
npm install [email protected] | ||
working_directory: ~/ipfs/go-ipfs/interop | ||
- run: | ||
|
@@ -238,7 +239,7 @@ jobs: | |
npx ipfs-interop -- -t node -f $(sed -n -e "s|^require('\(.*\)')$|test/\1|p" node_modules/ipfs-interop/test/node.js | circleci tests split) -- --reporter mocha-circleci-reporter | ||
working_directory: ~/ipfs/go-ipfs/interop | ||
environment: | ||
IPFS_REUSEPORT: false | ||
LIBP2P_TCP_REUSEPORT: false | ||
LIBP2P_ALLOW_WEAK_RSA_KEYS: 1 | ||
IPFS_GO_EXEC: /tmp/circleci-workspace/bin/ipfs | ||
- store_test_results: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.