What does decentralization mean and what exactly is blockchain

The articles recorded here are only suitable for people who don’t understand the blockchain at all. If there is something you don’t understand, I will give an easy-to-understand reply in the comments below

Refer to teacher Liao Xuefeng's personal blog, here I mainly write a little more white
https://www.liaoxuefeng.com/wiki/1207298049439968/1311929706479649

What is blockchain?

It can be understood as a large-scale account book. The difference from traditional account books is that this account book is kept by all participants. Let’s take a certain treasure as an example.

When we have a transaction, a treasure will record the transaction, for example, record that Xiaoming transferred 100 yuan to Xiaohua , and then the corresponding treasure will reduce Xiaoming's account funds by 100 yuan, and Xiaohua's account will increase by 100 yuan

It can be said that the fundamental reason for us to use a certain treasure is to trust him infinitely. We believe that he will not modify our account balance at will, and certain treasure is universal in China.

But one day, if the following things happen

  1. A certain core employee of a certain treasure has reduced 0.1 cents from our account and transferred it to his own account one day, and we can't detect it
  2. A well-known domestic hacker broke into the server of a certain treasure. On this day, many people's account funds became 0
  3. We are going to an unknown small country, and we need to transfer money into assets recognized by the country
  4. I saw someone selling dogs in Moments, and I want to buy this dog, so should I transfer money to him first? Or should he give me the dog first? Neither side trusts the other. So we have to trade through platforms with third-party guarantees such as Xianyu, Taobao, etc. I dare to pay if you hang your dog on Xianyu or Taobao

The first item is almost impossible to happen, the second item may have a one-in-10,000,000 probability, the third item may be troubled by someone right now, and the fourth item has been deceived by many people around us.

How to solve this problem? blockchain

How Blockchain Works

As the name suggests, the blockchain is a chain of notebooks composed of blocks. A
insert image description here
block can consist of multiple transactions. The bookkeeping server calculates these transactions into an identifier according to certain algorithms, and then points the block to the previous one. The identifier of the block
can be found here for specific information

who is keeping the books

All miners who mine on this chain are responsible for bookkeeping

To be precise, it should be that the miners package this part of the transaction into a block and broadcast the block, and then all nodes will check the correctness of the block, and if it is correct, they will synchronize the block on their own behind the node

what is a miner

The server cluster responsible for bookkeeping we call them a miner

Anyone can become a miner, you can turn your computer into a mining server anytime, anywhere

What is a mining pool

A mining factory that manages miners can be called a mining pool

You can imagine mining like this: when a transaction is generated, the program will generate a random number. Then let all the miners (computers) guess. After guessing correctly, you have the right to package the block, and then get the packaging fee. That is to say, if each computer has the same computing power , then the probability of guessing is the same. If there are 10000 computers. Xiao Ming has 5,000 units and Xiao Hua has 5,000 units, so the probability of this reward being given to both of them is 1/2. Therefore
, when we only have one computer, the probability of us getting a reward here is 1/10,000. It can be said that the probability is relatively small
, but if you link to the mining pool, the mining pool will distribute the income evenly according to the computing power you provide, that is, no matter which computer packs the block, the reward will be divided by 10000 and equally distributed to each computer

What is computing power

As the name suggests, the computing power of a computer

Generally speaking, the better the graphics card, the higher the computing power. You can imagine that when the program generates a random number, a computer with a high computing power can exhaustively enumerate 100,000 times a second, while a computer with the highest computing power may only exhaustively enumerate 10,000 times a second. So each
computer In fact, the computing power is also different. If the mining pool digs out rewards, the rewards will be distributed according to the computing power.

What the blockchain brings

Many people feel that paying extra money makes us uncomfortable, because we may have to pay 0.001 cents more for a bun for breakfast

But if you put it another way, you can spend 100 yuan to use this product for 10 years, and it can bring you the following benefits

  1. No time limit, no place limit, you can buy and sell any item anywhere on the earth
  2. When your money is deposited here, interest will be automatically generated, and the interest will be automatically adjusted according to the current number of borrowers
  3. Need a loan urgently? As long as you have enough collateral, there is no time limit and no location limit, you can solve your urgent needs anytime, anywhere
  4. Most importantly, your money is safer than 100 swiss banks

Guess you like

Origin blog.csdn.net/weixin_42335036/article/details/124470534