dat-ecosystem-archive / book

Documentation on how to implement the Dat Protocol [ DEPRECATED - see https://github.com/hypercore-protocol/new-website/tree/master/guides for similar functionality. More info on active projects and modules at https://dat-ecosystem.org/ ]
https://datprotocol.github.io/book/
Apache License 2.0
68 stars 9 forks source link

Fixes incorrect statement about root nodes in the Merkle tree theory #33

Open smoyer64 opened 3 years ago

smoyer64 commented 3 years ago

**🐛 bug fix

The statement:

If the number of leaf nodes is a multiple of 2 the flat tree will only have a single root.

is incorrect and should rather state:

If the number of leaf nodes is a power of 2 the flat tree will only have a single root.

Checklist

Context

No

Semver Changes

N/A