Brother
Professional
- Messages
- 2,590
- Reaction score
- 542
- Points
- 113
All cryptocurrencies are based on blockchain technology. Not to say that there was something supernatural, even more, there is a mass of quite fair criticism of this technology and much more elegant solutions to the same problem. But for now, the basis is still the blockchain.
Blockchain is a specially designed database. It differs in that it does not have a single administrator who monitors the reliability of the data. The blockchain base belongs to everyone at once, and at the same time to no one in particular, and at the same time everyone controls the reliability of the data.
Thanks to such a device, no separate uncle is needed who monitors the performance and reliability and takes money for it. This means that there is no need for a mister banker to monitor the correctness of the calculation of the amounts on the accounts. There is no need for a state that endows the banker with such powers, etc. etc. But all the same, everything will be fair and work correctly. This is the whole point of the blockchain.
It allows you to create an honest information system, despite the fact that all participants in the system do not trust each other and only care about their own interests. In the simplest case, this system is just like a database of a special structure, and that's it.
How is this implemented?
Each member of the network simply has its own copy of the database. And there is a special way that new records get into this database. And nothing can be removed from it imperceptibly. If you delete (or change), anyone will notice.
These are the two rules on which the blockchain is based. Once again, nothing can be discreetly removed (or changed retroactively) from the blockchain. And in order to write something to the blockchain, you need to work hard, and there is a reliable way to check that there was no hack.
In the case of bitcoin, this database stores a log of all transactions (transfers between wallets) that have ever been committed. Absolutely everyone, yes. As of today, the full size of the bitcoin blockchain is about 200 GB, by the way.
Let's take an example.
Alice wanted to transfer Bitcoins to Bob. It creates a record "transfer 100,500 bitcoins from wallet A to wallet B" and sends this record to all other nodes on the network. Now this record needs to be placed in all copies of the database. Then everyone will have synchronous information and the record will become part of the database. By the way, the record uses an electronic signature, i.e. you can't fake it.
This is approximately what happens in life. But there is one caveat.
To avoid chaos, and also to avoid double spending of the same bitcoins, you need a special way to organize all these records and save them to the blockchain database.
For this, all records are combined into blocks. And users in their copy of the database already write a block, and not a separate record.
Any network node can theoretically form such a block. But so that there is no chaos, some honest way is needed in which one person forms a new block, and then everyone uses it.
This method was invented by creating a special competition among all comers. Whoever succeeds first - its block is used. And so that there was an incentive to do this at all - they came up with a reward for such a person. If you win, then you are awarded 12.5 bitcoins.
What exactly to compete in - there are different options, different ideas. In the case of Bitcoin, there is a lot of goofy computational work to be done, and a lot of it. So that it takes at least 10 minutes of time. It does not in any way affect the composition of the records in the block, the work is purely auxiliary. But huge. It is very easy and quick to check the correctness of this computational work, even the Nokia 3310 will cope in milliseconds. But finding the right number is not an easy task. This is what miners do. Moreover, the system is wisely designed so that the more miners there are in the network, the more difficult the task is, you can't cheat. And they compete with each other. The one who was the first to make the correct calculation received a reward of 12.5 bitcoins. From nowhere. From no other wallet.
In general, here is such a piece of information.
Friends, please let me know with likes if you need to continue this topic. I can tell you a lot, and that's about this level of complexity, without digging unnecessarily into technical details.
