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

Merge readPos, grabPos and descendToPos #211

Open
dergoegge opened this issue Oct 19, 2020 · 0 comments
Open

Merge readPos, grabPos and descendToPos #211

dergoegge opened this issue Oct 19, 2020 · 0 comments

Comments

@dergoegge
Copy link
Contributor

dergoegge commented Oct 19, 2020

Currently there are three two separate functions to retrieve a node from the pollard. It would be nice to just have one function that combines their functionality.

readPos gets the node at the position if possible but does not mutate the pollard.
grabPos gets the node at the position if possible and populates the siblings along the path that don't exist.
descendToPos returns the path to the target node, as well as the sibling path.

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

No branches or pull requests

1 participant