mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Clarification on range element count and parent insertion
This commit is contained in:
parent
8f4dbfa540
commit
922b04608f
1 changed files with 4 additions and 4 deletions
|
@ -6,11 +6,11 @@ Merkle Mountain Ranges [1] are an alternative to Merkle trees [2]. While the
|
|||
latter relies on perfectly balanced binary trees, the former can be seen
|
||||
either as list of perfectly balance binary trees or a single binary tree that
|
||||
would have been truncated from the top right. A Merkle Mountain Range (MMR) is
|
||||
strictly append-only, elements are added from the left to the right and
|
||||
the range fills up accordingly.
|
||||
strictly append-only: elements are added from the left to the right, adding a
|
||||
parent as soon as 2 children exist, fillung up the range accordingly.
|
||||
|
||||
This illustrates a range of 19 elements, where each node is annotated with
|
||||
its order of insertion.
|
||||
This illustrates a range with 11 inserted leaves and total size 19, where each
|
||||
node is annotated with its order of insertion.
|
||||
|
||||
```
|
||||
Height
|
||||
|
|
Loading…
Reference in a new issue