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: use fanout "bits" #357

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Aug 25, 2023

Adjusts the terminology in #356 to go with "bits".

Sorry for the stacked PRs, wanted to get this up here while I move on to working on some fixturing that is attempting to do a smaller fanout yielding the same root CID across JS & Go implementations .. struggling a bit to figure out where it's diverging.

@alanshaw alanshaw merged commit 9693f3f into feat/add-fanout-config Aug 25, 2023
16 checks passed
@alanshaw alanshaw deleted the rvagg/fanout-config branch August 25, 2023 06:19
alanshaw pushed a commit that referenced this pull request Aug 25, 2023
* feat: add config option to control fanout size

Adds a `shardFanoutBytes` option to the importer to allow configuring
the number of bytes used for the HAMT prefix, also a test.

* fix: use fanout "bits" (#357)

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
rvagg added a commit that referenced this pull request Aug 25, 2023
* feat: add config option to control fanout size

Adds a `shardFanoutBytes` option to the importer to allow configuring
the number of bytes used for the HAMT prefix, also a test.

* fix: use fanout "bits" (#357)

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
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.

2 participants