https://github.com/fawaz-exe/merkle-tree
https://github.com/fawaz-exe/merkle-tree
bitcoin crytography data-structures hashing merkel-tree
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fawaz-exe/merkle-tree
- Owner: fawaz-exe
- License: mit
- Created: 2024-08-04T13:22:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-05T13:49:18.000Z (about 1 year ago)
- Last Synced: 2024-08-06T16:01:45.545Z (about 1 year ago)
- Topics: bitcoin, crytography, data-structures, hashing, merkel-tree
- Language: JavaScript
- Homepage:
- Size: 262 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# merkle-tree
> The tree hashes its leaf node from bottom up till it reaches parent.

(https://en.wikipedia.org/wiki/Merkle_tree)
Merkle Root = H(H(v1||v2) || H(v3||v4))
|
/------------------------------\
/ \
H(v1||v2) H(v3||v4)
/ \ / \
/ \ / \
v1 v2 v3 v4
(https://www.bsvblockchain.org/news/from-torrents-to-git-how-merkle-trees-protect-your-files)