Skip to content

Commit 6f7e9c4

Browse files
Update README.md
1 parent 861af22 commit 6f7e9c4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Merkle Tree
22

3-
You can use this to proof a specific element is available at a specific index within an array in an efficient way.
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 them to proof that a specific element is available at a specific index within an array (block, ...).
6+
47

58
## Usage Example
69

@@ -26,4 +29,4 @@ const isValid = merkleTree.verify(proof, investigatedEntryHashed, rootHash, exam
2629
if (isValid) {
2730
console.log(`we can be pretty sure that ${investigatedEntry} is in the array at index: ${exampleArray.indexOf(investigatedEntry)}`)
2831
}
29-
```
32+
```

0 commit comments

Comments
 (0)