Skip to content

Represent bitwidth explicitly in root node #79

@anorth

Description

@anorth

As of filecoin-project/go-amt-ipld#38 the AMT stores the bitwidth in the root node. Knowledge of the bitwidth is necessary to correctly interpret the blocks, so storing it makes the structure more self-describing.

I propose that we do the same thing for the HAMT. This will require a Root node structure, which the AMT already had but needs to be introduced here.

Thoughts @Stebalien @ZenGround0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions