Skip to content

Commit d8bb860

Browse files
Update README.md
1 parent e37053e commit d8bb860

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,13 @@ deno test https://deno.land/x/merkletrees/src/merkle-tree.spec.ts
4343

4444
```
4545

46-
## Explaining Merkle Trees
46+
## Explaining Merkle Trees in General
4747
Merkle trees are built up by hashing the neighbour element up the ladder. In case of questions feel free to raise an issue.
4848

4949
![diagram](https://user-images.githubusercontent.com/43786652/148436374-ca26db28-ddca-4390-a89c-599da1054e85.jpg)
5050

51+
52+
## Explaining the Role of Merkle Trees in Bitcoin's Simple Payment Verification
53+
It is possible to verify payments without running a full network node. A user only needs to keep a copy of the block headers of the longest proof-of-work chain, which he can get by querying network nodes until he's convinced he has the longest chain, and obtain the Merkle branch linking the transaction to the block it's timestamped in. He can't check the transaction for himself, but by linking it to a place in the chain, he can see that a network node has accepted it,
54+
and blocks added after it further confirm the network has accepted it.
55+

0 commit comments

Comments
 (0)