What is it ?
Blockchain is a data storing technology, which was used for the first time in October 2008, along with the appearance of the first cryptocurrency – bitcoin. Today the main direction of its application remains cryptocurrency, but gradually it's also spreading to other industries, such as financial transactions, customer identification or cybersecurity, as the technology provides maximum data protection.
In fact, the blockchain is a database that stores basic fields with information. For example, in the case of cryptocurrency, it stores data about transactions: who, to whom, when and how many assets were transferred.
This kind of description is rather conditional and serves only as the most familiar and understandable example. In fact, the structure and operation of the blockchain differs from maintaining a standard database. In addition, data protection is starting to play a special role. These are the most interesting moments in blockchain technology.
How does the blockchain work?
There are 2 key features that the technology is based on:
The actual operation of the blockchain is organized as follows:
The data in the block can no longer be changed. The chain stores the entire sequence of transactions that can be used to track that a particular asset first belonged to one user, then was transferred to the second, then to the third and is now owned by the fourth. By the way, the inability to change the blocks attached to the chain does not allow deleting data. Accordingly, the transaction cannot be canceled after completion.
How is data protected?
Data security is ensured by storing additional data in each block, in particular, its own hash, and the hash of the entire previous block. A hash is a kind of code that is formed algorithmically based on the data stored in the block. It is used to check data integrity. Simply put, if a mismatch is found when comparing the hash of one block with its hash specified in the next, the data will be considered corrupted.
Security is based not only on the use of hashes, but also on encryption, which does not allow you to find out exactly what data is stored in each block. For this purpose, 2 encryption keys are used – public, corresponding to assets and stored in the blockchain in open access and private, used for signing transactions. We will tell you more about keys in future materials.
Already on this simplified example of blockchain technology, it becomes clear that processing all data requires huge capacities. They are provided by a group of users called miners. Miners use their own computers connected to the Internet for mining. During mining, hundreds of thousands of individual PCs using a single program turn into a full-fledged supercomputer or rather, into a distributed computing network, on which the entire technology is built. Transaction verification, block creation and addition and other operations are performed using distributed computing.
Another important function of the distributed computing network is blockchain storage. It is necessary to prevent changes in the database and check hashes stored in blocks. As mentioned above, if the hashes do not match, the data will be considered invalid. In addition, creating and storing multiple copies of the block chain is useful in other situations.
Let's have a look at a couple of examples:
And the last interesting point or rather, the question related to the work of the blockchain: why do miners constantly keep their computers turned on, if this leads to higher energy bills and wear of the equipment itself? Why do they continue to participate in the system? For providing computing power and processing information, they receive a reward – a cryptocurrency that uses the blockchain they support. Actually, because of this, the word mining usually means getting cryptocurrency using a computer.
It is generated by the system itself, but in order to earn in this way, you need extremely powerful equipment, in particular, a video card of one of the latest models. That is why mining on a regular office PC or laptop is almost meaningless – the cost of electricity will be more than the final reward generated by the system. In most cases, if you want to get a cryptocurrency, it is much easier, faster and more profitable to just buy it, without spending time, resources and funds on building a suitable computer and mining.
Leave feedback for the article