Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Use the same chunking config as the web3.storage js client #106

Open
olizilla opened this issue Oct 4, 2022 · 0 comments
Open

Use the same chunking config as the web3.storage js client #106

olizilla opened this issue Oct 4, 2022 · 0 comments
Assignees
Labels
fdbk/users Feedback from cli users kind/enhancement A net-new feature or improvement to an existing feature PKey A key task or deliverable

Comments

@olizilla
Copy link
Contributor

olizilla commented Oct 4, 2022

The web3.storage js client handles the unixFS chunking and deliberately increases the max block size and sets rawLeaves: true

The w3up-cli should use the same config and document those details as the affect the CID generated for a given input.

see: https://github.com/ipld/js-unixfs#configuration

@olizilla olizilla added kind/bug A bug in existing code (including security flaws) fdbk/users Feedback from cli users labels Oct 4, 2022
@JeffLowe JeffLowe added kind/enhancement A net-new feature or improvement to an existing feature and removed kind/bug A bug in existing code (including security flaws) labels Oct 4, 2022
@JeffLowe JeffLowe added this to the Week 22.10.10 - 22.10.16 milestone Oct 7, 2022
@JeffLowe JeffLowe added the PKey A key task or deliverable label Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fdbk/users Feedback from cli users kind/enhancement A net-new feature or improvement to an existing feature PKey A key task or deliverable
Projects
None yet
Development

No branches or pull requests

3 participants