The beginning of the Bitcoin principle seven: Bitcoin network

Source: Internet
Author: User

So far, we've learned about wallets and the books that record transactions, blocks and block chains. Also learned that some computers in the accounting and packaging competition, that is, in the mining. Presumably, there are some of the following types of points:

These points form a network.

So now if someone has a deal, and the deal is automatically broadcast to the whole network, and not all the points have received such a deal, then the miners ' nodes will collect the transaction as a package, packing and solving the contest questions. The process continues to be repeated as new transactions are created. Packing problem solving, until there is a computer, solve this difficult contest problem, and then it hurriedly to everyone broadcast, said, I figured out. Then all the miners node hastened to verify. Why hasten to verify it, because every round, only one person can add blocks to the block chain, once someone has counted out, it means that other computers are playing the package is invalid, it can not waste time in this round, to the first time to quickly participate in the next round of the game. OK, then verify. As we said before, this problem is difficult to solve, but it is easy to verify. Each of the computers that took part in the digging was validated, if the answer is wrong, then ignore the answer, continue to pack and solve the problem, if the verification of the answer is correct, then admit that the new package, that is, the new block, added to the block chain, their own hurriedly carry out the next round of records packaging problem-solving trilogy. If more than half of the computers in the network are validated, the new effective blocks are created and a new block chain is created that is more than the original block chain. All the valid records that took place in the past period, that is, about 10 minutes, are recorded in the newest block of the block chain.

So, speaking of this, we can also deduce the whole Bitcoin network from the birth to the current process. At the very beginning, Ben Cong uses a computer as the first node in the entire Bitcoin network, and uses the computer to create the first block, the topmost block on the entire block chain, which we call the Genesis block. According to our previous knowledge, there must be such a record in the Genesis Block: The system gives the Ben Cong address 50 Bitcoin. In addition, in the genesis of the Ben Cong also left a word, this sentence is what, we have in the "who is the Cong" that chapter has introduced, here no longer long-winded. After the Genesis block, along with the second, the third, the fourth node gradually joined, and then repeated the above we said the accounting, building blocks, add blocks to the block chain, the entire Bitcoin network is the operation of the network, all the computers are equal, no one is a server, no center, Each computer in accordance with its own computing power to compete for a qualification, is to create new blocks to the block chain qualification, who calculates the contest question, who can add the block to the block chain, and get the reward, thus realizing a central purpose, and then through the previously spoken private key address to the form of anonymous to achieve an objective. This is the Bitcoin network, a centralized, anonymous network.

Of course, this is just a simple introduction. There are such as block chain fork Ah, 51% count force attack Ah, and so on and other more in-depth questions, if there is a chance, the teacher Ang Thorn fish separate detailed explanation. This series of content is only an entry-level introduction, but also more verbose, just want to give the novice a subjective impression, can have a little understanding of the basic key concepts. This is the end of the series, thank you for your continued attention, I hope that under the support of everyone, Ang thorn fish can write more and better articles.


If you like the block chain like the Ang Thorn fish Teacher, you can sweep the code to join my little secret circle, we play together intimately

Also can join me just built QQ group 71789361, inside some good study material for downloading.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.