utreexo icon indicating copy to clipboard operation
utreexo copied to clipboard

Merge readPos, grabPos and descendToPos

Open dergoegge opened this issue 5 years ago • 0 comments

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.~

dergoegge avatar Oct 19 '20 21:10 dergoegge