Skip to content

Expose key to SMT leaf index conversion function #515

@PhilippGackstatter

Description

@PhilippGackstatter

Expose a way to convert a Word into the LeafIndex that represents an SMT leaf's node index. This avoids magically accessing a key's third element to get the leaf index. Basically, making the functionality of Smt::key_to_leaf_index publicly available would be great.

Came up in 0xMiden/miden-base#1848.

Metadata

Metadata

Assignees

No one assigned

    Labels

    merkleRelated to Merkle trees or MMRs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions