You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In zcashd we want to be able to fetch the authentication path from a wallet note to an anchor that is not necessarily the most recent tree root. In incrementalmerkletree terms, that means we need to alter Tree::authentication_path to take a checkpoint_offset: usize parameter, where 0 means "no offset, use the latest tree state", and non-zero values mean "ignore the most recent checkpoint_offset checkpoint intervals" (i.e. give the equivalent path that we'd get if we called Tree::rewindcheckpoint_offset times and then called Tree::authentication_path.
The text was updated successfully, but these errors were encountered:
Currently we cannot use anything greater than 1, because the Orchard
witness tree cannot provide authentication paths to anything but the
current tree root. Once zcash/incrementalmerkletree#22 is implemented,
we can revert this change as part of zcash#5644.
In
zcashd
we want to be able to fetch the authentication path from a wallet note to an anchor that is not necessarily the most recent tree root. Inincrementalmerkletree
terms, that means we need to alterTree::authentication_path
to take acheckpoint_offset: usize
parameter, where0
means "no offset, use the latest tree state", and non-zero values mean "ignore the most recentcheckpoint_offset
checkpoint intervals" (i.e. give the equivalent path that we'd get if we calledTree::rewind
checkpoint_offset
times and then calledTree::authentication_path
.The text was updated successfully, but these errors were encountered: