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

Make the Timber class statelessly update siblingPaths #581

Closed
IlyasRidhuan opened this issue Mar 16, 2022 · 0 comments · Fixed by #584
Closed

Make the Timber class statelessly update siblingPaths #581

IlyasRidhuan opened this issue Mar 16, 2022 · 0 comments · Fixed by #584
Assignees

Comments

@IlyasRidhuan
Copy link
Contributor

The timber class should be able to do the following:

(leafIndex, siblingPath, currentFrontier, currentLeafCount) x incomingLeaves -> updatedSiblingPath.

Where the updatedSiblingPath is the valid path for leafIndex in the context of a Timber instance with incomingLeaves added.

It should do this statelessly, i.e. without requiring the current tree structure.

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

Successfully merging a pull request may close this issue.

1 participant