Skip to content

Commit e37053e

Browse files
Update README.md
1 parent ef87ce1 commit e37053e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# Merkle Trees
22

3-
Merkle Trees became especially famous in the context of Bitcoin's Simple Payment Verification - see chapter 8 in the [Bitcoin Whitepaper](https://bitcoin.org/bitcoin.pdf).
4-
5-
In general you can use Merkle Trees to proof / validate that a specific element is available at a specific index within an array (block, ...) - without the need to load the elements themselves.
6-
7-
Merkle trees are built up by hashing the neighbour element up the ladder - diagram follows :)
3+
Merkle Trees are data structures which became especially famous in the context of Bitcoin's Simple Payment Verification - see chapter 8 in the [Bitcoin Whitepaper](https://bitcoin.org/bitcoin.pdf).
84

5+
In general you can use Merkle Trees to proof / validate that a specific element is available at a specific index within an array (block, ...) - without the need to load the elements themselves.
96

107
## Usage Example
118

@@ -46,3 +43,8 @@ deno test https://deno.land/x/merkletrees/src/merkle-tree.spec.ts
4643

4744
```
4845

46+
## Explaining Merkle Trees
47+
Merkle trees are built up by hashing the neighbour element up the ladder. In case of questions feel free to raise an issue.
48+
49+
![diagram](https://user-images.githubusercontent.com/43786652/148436374-ca26db28-ddca-4390-a89c-599da1054e85.jpg)
50+

0 commit comments

Comments
 (0)