Fabric source Code Analysis--Preface

Source: Internet
Author: User
Fabric Source Code Analysis--Preface

Individuals are non-go programmers, but no way, the fabric project is written with go. The additional use of Docker,grpc,protocol Buffer,shell scripts, Yaml profiles, cryptographic certifications, and so on, is Google, or a variety of open source technologies. and from github to download source files, source code, tools, pre-configuration files, samples, sub-projects, documents, etc. are put together, first contact, estimated also cannot start.

I am also in the study, so the purpose of writing this article is not only to record their own learning, but also to share with you, but also for learning or have learned the great God Exchange (the article has not been understood in the place will be clearly marked, the great God to give advice AH). Personal level is limited, so the article focuses on the structure of the source code and the technology used, rather than the concept of embodiment. The concept of this level, I also learned while learning, we can see more of the fabric of the document and the introduction of the online God. Shortcomings, but also hope that the great God exchange guidance. The basic idea is to do the Getting started the first experience according to the fabric document. This is a preliminary understanding of the project that is still in the incubation phase of fabric, and what is the first contact, can also be studied by the way. If possible, the various concepts of the fabric document will be looked at, although it is in English, these are the introduction of the above-mentioned concept. In fact, for the new technology of the area chain, the concept of understanding is far more important than the understanding of the code, because the code is ultimately to implement the concept of you, and you study the code, just to verify that the code is really what you want to do. Since this series is primarily code profiling, this part of the post will be skipped directly. Start the Code tour based on the main function . In the face of an unfamiliar project, the most important thing is to pull out a thread, and then along the head a little bit of the solution, and eventually a group of mess code will definitely be cleared. Makefile can also start with makefile files. In the process of analyzing the source code, you will be getting Started with what you have done, and understand the technology and concepts of the regional chain to reflect each other. based on the version

The fabric project is in the incubation project, so it changes constantly, and you can often see traces of hatching in the course of reading the source code. This series is based on the v1.0.0 version of fabric. The download address for the project is https://github.com/hyperledger/fabric, but it is unclear what version you are downloading at the moment. So will v1.0.0 version and document (document update a little, but the idea of the document will not have a big change, all can see) in the network to share fabirc-v1.0.0, password s51j, easy to read the back of the source code analysis (it is best to follow the codes to read the source analysis). On this basis, you have to think about the project in the incubator, the suitability of various technologies and the development of space, all of which can be considered. As a result, the technologies currently used, such as Docker container technology, are just the technology introduced to facilitate deployment in the incubation period, and may be just one option in the future, or not, so it might not be possible, so it's important to learn about the technology of regional chain core implementation. Copyright Notice

This series of articles are "fabric source code Analysis-" as the title prefix, also are original articles. For the use of learning Exchange, reproduced please mark the source, without the author's permission, not allowed for commercial use. about the author

Wang Yazhen, Unknown, is on the way to the great God to work hard, hoping to more with the great God to Exchange learning. Personal e-mail: mrwangyazhen@163.com.

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.