A first initiates an application, I want to play mahjong, form a mahjong game, which is equivalent to creating a block, which will be broadcast to B, C, D, A, B, C, ......
In the process of playing mahjong, the above four people continue to draw and play cards, which can be understood as mining, through what to mine? We can understand these 144 mahjong as a series of hash values (numbers), the process of winning cards is called computing power, until the winning card, it means that the correct hash value is collided, and you can get a reward, each person pays the corresponding chips to C, and this reward is Bitcoin or other virtual currency in the blockchain.
Why the other three people will take the initiative to reward Bing, it is because these people have automatically reached a consensus, Bing did win, everyone recorded this account, including the family members sitting next to the horse buyer, it is not okay to deny it, otherwise it will not be possible to spread this character in the future, and no one will play with him anymore, after all, the circle is very important.
Upon closer examination, when everyone reached a consensus, we couldn't see any intermediary or third party coming out to judge C to win, and the rewards we gave to C did not need to be transferred to C through a third party, they were all direct peer-to-peer transactions, this process is decentralization, the card friends (miners) each recorded the results of the first game, C Dahu touched the thirteen Yao, B leveraged A Dongfeng, and a complete block was generated after the record was completed, but remember that this is only the first game, on the entire blockchain, this is just a node, After the 8 games mentioned at the beginning, that is, 8 nodes (blocks), 8 blocks are connected together to form a complete ledger, which is the blockchain. Because each person has one ledger, it is a distributed ledger, the purpose is to prevent someone from tampering with the records, and in the end, it is clear who loses and who wins.
|