基于传入数据生成merkle树的流。
merkle-tree-stream的Python项目详细描述
基于传入数据生成merkle树的流
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.
有关详细信息,请参见以下内容:
- The Dat Protocol: Merkle Tree
- The Dat Protocol: Merkle Tree Stream
关于命名
为了统一和便于发现,同时参考 实现时,我们使用与merkle-tree-stream相同的模块名。今年五月 由于使用时不清楚具体指的是什么,所以会引起混淆 python上下文中的术语“stream”。为了清楚起见,这个模块提供了 Python iterator与 参考实施。