In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
If you want to talk about what concept is the most popular in the past two years, it must be the block chain. Now if I do not say what is public chain, private chain, what is Token, are embarrassed to say that they are doing IT. But what is a blockchain? What problems can it solve in our real life? What is a token? What is the consensus mechanism? What is a smart contract? As an IT employee, these problems may not be very clear, let alone those who have no contact with the IT industry at all.
I am now in charge of developing a reliable blockchain project. In this series of articles, I will try to explain the above questions clearly in popular language. But my article is different from other articles about blockchain. What I do is an actual landing project, not a brainstorm. If you want to find something mysterious and amazing to talk about, I will certainly let you down; if you want to hang cloud sails in this tuyere, please get on board the thief ship, and let's explore how to make use of the new production relations of "blockchain" to do a big job.
First, let's talk about what is a Blockchain. From the perspective of word segmentation, these three words contain three meanings-block, block and chain.
For "area", we can easily understand, for example, we live in a community with the first, second, fifth, and so on, indicating that there is a sequence, as the number of blocks. What about "block"? When we watch movies and TV, we will see some science fiction movies about the energy cube, which is a small box with something in it, and this is a block. "chain", better understood, is chain connection.
Please draw the key point of this article-"block chain" means to connect the ordered blocks with a chain! It feels very LOWER to explain it this way, but that's exactly what it means. You can also change the structure of the statement: block chain, which uses a chain to connect some sequentially marked blocks together. In fact, it means the same thing!
Take an example of playing mahjong: three people play mahjong, and the players are called A, B and C. In the first game, when A wins, both B and C will calculate how much they should pay A based on A's card information. Of course, it is very likely that one person will be responsible for the calculation here. For example, B is calculated, and then A, B and C are all re-verified according to the result of B calculation and A's card information to see if the result of B calculation is correct. If it is correct, then they will pay An according to the result of B calculation; if B calculation is incorrect, then An and C can correct the calculation result. The situation was similar in the second inning. After going through this for many times, I have a series of records in A, B and C. This is a very typical distributed bookkeeping process, and each game payment information becomes a transaction, each game becomes a block, and the order is a chain.
So what's the use of this blockchain? That is to prevent tampering, if you only modify your own ledger information is futile, because others still remember. This way in which everyone calculates according to his own information and records relevant information, we call it decentralization. In the above example, B and C pay A fees, which is called a transaction in the blockchain. B to calculate, then in the block chain called B has bookkeeping rights. B because of the calculation work, so it is possible to get a certain reward after bookkeeping (virtual currency such as Bitcoin or Ethernet coin). Note that I use "possible" here, not "yes". I will explain this mechanism in detail later.
Through the above example, we found one thing-if B keeps the books every time, doesn't it mean that B will get a reward every time? In this way, it would be too cool. According to the etheric square algorithm, you can get 5 etheric coins for each bookkeeping, and according to the current etheric currency of 4400 yuan, you can get 4400 yuan, 5yuan, 22,000 yuan at a time. Is there something so easy to earn? The designer of other people is a master of abacus, as you can think of, he thought of it a long time ago. To avoid this, they introduced something called a "consensus mechanism".
Come on, knock on the blackboard, the consensus mechanism, is the core content of the whole block chain.
For more information about the consensus mechanism, please follow my next article.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.