Skip to main content

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

Project description

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:

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. This may cause confusion since it is not clear what exactly is referred to when using the term “stream” in the context of Python. To be clear, this module provides a Python iterator which appears to match the implementation and meaning of the reference implementation.

Documentation

Mirroring

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

merkle-tree-stream-0.0.1a1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

merkle_tree_stream-0.0.1a1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file merkle-tree-stream-0.0.1a1.tar.gz.

File metadata

  • Download URL: merkle-tree-stream-0.0.1a1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for merkle-tree-stream-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 fecc5f29d9d530f76f2ba9f1d44e427328a1e80e729d4cf62adbbbbac92715e0
MD5 fe5a3678096e54a6571a472241192c19
BLAKE2b-256 6e843a238b2ab0bd3b72253aa062a035a9ebfda27be43ab25f7dbc7ae9051b4f

See more details on using hashes here.

File details

Details for the file merkle_tree_stream-0.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: merkle_tree_stream-0.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for merkle_tree_stream-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 14a6503c996f50a608899f03950a3f159401c56b3f072dc95df632712f52dfcb
MD5 fad8056281a5d85545e65e758db7c9ea
BLAKE2b-256 28279f280cf745ccda081d8e6d3575076a94592ef978c54bf87507819a2b118e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page