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

Smt: Add methods #250

Closed
plafer opened this issue Jan 16, 2024 · 1 comment
Closed

Smt: Add methods #250

plafer opened this issue Jan 16, 2024 · 1 comment
Assignees
Milestone

Comments

@plafer
Copy link
Contributor

plafer commented Jan 16, 2024

We should add the following methods to Smt:

  • get_value(&self, key: RpoDigest) -> Word.
  • Something similar to Tsmt::prove().
  • inner_nodes(&self) -> impl Iterator<Item = InnerNodeInfo>.
  • leaves(&self) -> impl Iterator<Item = (u64, &SmtLeaf)>.
  • entries(&self) -> impl Iterator<Item = &(RpoDigest, Word)>.

From #245 (review)

@bobbinth bobbinth added this to the v0.8 milestone Jan 22, 2024
@bobbinth
Copy link
Contributor

Closed by #268.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants