Skip to content

Sub-trie iterator in trie implementation #32484

@treebly

Description

@treebly

We are using the trie implementation in this repo for a non-ethereum use case, and it would be very helpful to us to be able to iterate over a sub-trie, rather than the entirety of the trie. Are there any plans to implement this functionality? It seems like something that could be more broadly useful for this data structure.

Perhaps the existing NodeIterator could be modified to stop when it gets back to the start node. That was the behavior I expected when I started investigating this problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions