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

Filecoin now uses different bitwidths for different HAMTs #18

Open
Stebalien opened this issue May 25, 2021 · 2 comments
Open

Filecoin now uses different bitwidths for different HAMTs #18

Stebalien opened this issue May 25, 2021 · 2 comments
Labels
P3 Low: Not priority right now

Comments

@Stebalien
Copy link

go-ipld-adl-hamt/node.go

Lines 36 to 38 in b2c8ddb

if n.modeFilecoin {
return 5
}

@mvdan
Copy link
Contributor

mvdan commented May 25, 2021

Thanks for the heads up! What version of filecoin has this characteristic, and where is it documented?

At the time the code was written I was following the stable and in-use version of Filecoin's HAMT, which I think was actors v3:

// fhamt "github.com/filecoin-project/go-hamt-ipld/v3"

@Stebalien
Copy link
Author

Since actors v3, HAMT v3. Take a look at the AsMap calls in specs-actors.

@BigLep BigLep added the P3 Low: Not priority right now label May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Low: Not priority right now
Projects
None yet
Development

No branches or pull requests

3 participants