Closed Sword-Smith closed 4 months ago
Lastly, without implying anything about the priorities of oughts, let me use the opportunity to cite for the record two lines from Alan's written style guide:
- Trees in the forest, and plants in general, have leaves. Merkle trees have leafs.
I'm OK changing all occurrences of "leaves" to "leafs".
MmrMembershipProof
LeafMutation
for encapsulating the data required to mutate a leaf in an MMR-accumulatorMockMmr
) to only return an MMR membership proof, not the membership proof, and the peaksget_peaks
topeaks
count_leaves
tonum_leaves
.Not addressed: Simplification of tests. The tests are very thorough but there is a lot of repetition in them. The number of tests can probably be halved without affecting test coverage negatively.