mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-17 00:07:54 +00:00
Update about.md
This commit is contained in:
parent
44f4410b82
commit
a4207d0872
1 changed files with 15 additions and 1 deletions
|
@ -34,8 +34,22 @@ B. At the start of the day, I could write down 10$ on line 1. When I spend 5$, I
|
|||
|
||||
( For those that are catching on, you can see the difference between A and B is that A treats money as a thing, whereas B treats money as a unit of account)
|
||||
|
||||
***What makes a blockchain a fancy ledger?***
|
||||
***What is so special about a cryptocurrency ledger?***
|
||||
|
||||
The problem with a ledger is that you have to trust the person keeping the ledger. Imagine if you borrow money (cash) from your friend. You and your friend both write down how much cash you borrowed. Over time, you need to borrow more and you make some payments on your debt. You and your friend both keep records of this activity. Imagine that many years have passed and you finally make your final payment, only to learn that your friend thinks you owe more money based on the numbers in *their* ledger. But according to *your* ledger, your debt is paid. Who has the correct ledger?
|
||||
|
||||
This problem of trust is solved in cryptocurrencies by using a *distributed* ledger. This means that all of the transactions that occur are recorded by everyone using the cryptocurrency, so they can each keep their own copy of the ledger. In our cash borrowing example from above, you and your friend could have used the same approach by asking 10 people to record every credit and payment between you and your friend. If you and your friend had done this, you compare your ledger to the 10 other peoples, and if their ledger matched yours, then your debt was indeed paid off.
|
||||
|
||||
***Okay, I understand that a distributed ledger solves the trust issue. But how do I know that other people won't work together to make forged copies of the ledger, and then distribute the fake ledger?***
|
||||
|
||||
This is where the cryptocurrency ledger becomes very fancy, and is indeed the point where the term @blockchain, which I'm sure you've heard a lot about, will be introduced. In order to secure the ledger - to ensure that all copies of it are the same and cannot be tampered with - the cryptocurrency protocol adds information to the ledger in large chunks known as blocks. In our example from above, imagine that you were recording your payments on pieces of paper. At the end of each month, you would add this piece of paper to a book. The piece of paper is a block, and the book is a chain of these blocks - each new piece of paper is placed on top of an old one.
|
||||
|
||||
***How is a stack of paper a blockchain?***
|
||||
|
||||
It's not a blockchain yet. In order to become a blockchain, you need to link each block to each other - hence the use of the word "chain". And this is where the explanation may get a little technical. In order to link a new block to an old one, the new block includes the results of a complex math equation that uses all of the data in a previous block as its starting material. This is what is known as a @cryptographic hash of the previous block. These math problems are unique in that they are impossible to reverse, yet each results of the math problem is unique to the information entered into the problem. Look at the difference of the following - if I want to add the numbers 2 and 4, the result of that math problem will be 6. There are many ways to get 6 as a result of a math problem. If I want to **hash** the numbers 2 and 6, the result of the hash is
|
||||
|
||||
> c2356069e9d1e79ca924378153cfbbfb4d4416b1f99d41a2940bfdb66c5319db
|
||||
|
||||
There is no way to go from that "number" above back to a 2 and a 4, and there is nothing except a 2 and a 4 that will produce the number above. To get a sense of how hashing behaves, you can explore the function [here](http://www.xorbin.com/tools/sha256-hash-calculator).
|
||||
|
||||
(note to self - use the analogy of taking pictures, and introduce the proof of work as finding specifically shaped rocks to include in the picture)
|
||||
|
|
Loading…
Reference in a new issue