Repository license PyPI package Travis CI result Documentation status Support badge

A stream that generates a merkle tree based on the incoming data

From The Dat Protocol:

A hash tree or merkle tree is a tree in which every leaf node is labelled with the hash of a data block and every non-leaf node is labelled with the cryptographic hash of the labels of its child nodes. Merkle trees in Dat are specialized flat trees that contain the content of the archives.

See the following for more:

Part of the Datpy project.

A note on naming

For the purposes of uniformity and easy of discovery alongside the reference implementation, we use the same module name as merkle-tree-stream. However, there is currently no stream implemented, only a generator is available. This is because the reference implementation of Hypercore 7 makes use of the generator only. A stream implementation may follow.