cosmos / iavl

Merkleized IAVL+ Tree implementation in Go
Apache License 2.0
409 stars 256 forks source link

[Question] About leaf and inner nodes and how they change #875

Closed NYBACHOK closed 2 months ago

NYBACHOK commented 5 months ago

Hi. Thanks for well documented implementation, but I still missing few concepts.

  1. Could leaf node become inner?
  2. What happens to value if yes?
  3. Could leaf node become inner on rotation?
  4. What happens with hash of tree?