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
Just a small suggestion (having implemented an MMR in a couple languages). Change the algorithm for "bagging the peaks" to instead be simply the hash of the concatenation of all peaks
This allows you to refer to nodes by a definite and unchanging position index, whereas the nodes created during your current bagging process have to be recomputed from scratch every time you add a leaf anyway.
Just a small suggestion (having implemented an MMR in a couple languages). Change the algorithm for "bagging the peaks" to instead be simply
the hash of the concatenation of all peaks
This allows you to refer to nodes by a definite and unchanging position index, whereas the nodes created during your current bagging process have to be recomputed from scratch every time you add a leaf anyway.
zmitton/merkle-mountain-range#1 (comment)
The text was updated successfully, but these errors were encountered: