You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,8 @@
1
1
# Merkle Trees
2
2
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).
8
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.
9
6
10
7
## Usage Example
11
8
@@ -46,3 +43,8 @@ deno test https://deno.land/x/merkletrees/src/merkle-tree.spec.ts
46
43
47
44
```
48
45
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.
0 commit comments