Skip to content
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

fix: bump MAX_BLOCK_SIZE to 2MiB limit imposed by bitswap #1863

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

alanshaw
Copy link
Contributor

Bitswap spec is being updated to clarify the 2MiB limit: ipfs/specs#269

go-ipfs chunker accepts a max size of 1MiB but protobuf wrapping can make it a bit bigger. Switching to 2MiB allows us to support blocks created using that max chunker size.

refs web3-storage/web3.storage#1269

Bitswap spec is being updated to clarify the 2MiB limit: ipfs/specs#269

go-ipfs chunker accepts a max size of 1MiB but protobuf wrapping can make it a bit bigger. Switching to 2MiB allows us to support blocks created using that max chunker size.
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0fcee5
Status: ✅  Deploy successful!
Preview URL: https://b93cbe77.nft-storage-1at.pages.dev

View logs

@alanshaw alanshaw merged commit d96ca30 into main Apr 29, 2022
@alanshaw alanshaw deleted the fix/bump-max-block-size branch April 29, 2022 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants