Blockchain development needs mathematical foundation
We need to establish data layer, network layer, consensus layer, incentive layer, contract layer and application layer
1. The data layer encapsulates the underlying data blocks and related basic data and algorithms such as data encryption and time stamp
2. The network layer includes distributed networking mechanism, data transmission mechanism and data verification mechanism
The consensus layer mainly encapsulates all kinds of consensus algorithms of network nodes The incentive layer integrates economic factors into the blockchain technology system, mainly including the issuing mechanism and distribution mechanism of economic incentives5. The contract layer mainly encapsulates all kinds of scripts, algorithms and smart contracts, which is the basis of the programmable characteristics of blockchain
6. The application layer encapsulates various application scenarios and cases of blockchain Xi Jinping, general secretary of p>
, general secretary of the CPC Central Committee, stressed in the eighteenth collective learning of the Central Political Bureau, "block chain as an important breakthrough in core technology and independent innovation", "accelerating the development of block chain technology and instrial innovation". <
p>
the forward-looking judgment of the CPC Central Committee has brought the "blockchain" into the public view and become the common focus of financial capital, real economy and public opinion
from network power to big data, from media integration to blockchain, the Politburo of the CPC Central Committee has collectively studied and aimed at the forefront of technological change, showing the direction, foresight and foresight of the CPC Central Committee, leading the pace of China's instrial change and economic transformation. This collective study of the Political Bureau of the Central Committee of the CPC, with special emphasis on "blockchain", has opened up an imaginary space for the development and application of blockchain
from the perspective of science and technology, blockchain involves many scientific and technological issues such as mathematics, cryptography, Internet and computer programming. From the perspective of application, in short, blockchain is a distributed shared ledger and database, which is decentralized, tamper proof, traceable, collective maintenance, open and transparent
these features ensure the "honesty" and "transparency" of the blockchain, and lay the foundation for creating trust in the blockchain. The rich application scenarios of blockchain are basically based on the fact that blockchain can solve the problem of information asymmetry, and realize the cooperative trust and concerted action among multiple agents
At the beginning of self-learning blockchain related knowledge, we can adopt the "bottom-up" method, that is, through reading books, reading white papers , we can check the information , and then summarize and connect these knowledge , and integrate them into a relatively complete knowledge system Before I went to university, I read a lot of books about the Analects of Confucius, all about how to read and understand the Analects of Confucius. Until one day, I found that I was so fond of the Analects, but I never had patience to read the original of the Analects seriously
so I went to the bookstore and bought a of the Analects of Confucius. I read it from the beginning to the end and found that there were too many details and insights in it, which could not be transmitted through any interpretation. Actually, I spent a lot of time and read a lot of interpretation before. I really want to abandon the essence and pursue the end. I have to work hard
it's the same in every field. When you don't understand it, you will have a kind of inexplicable fear of it, thinking that it is high and unattainable. In order to step into these fields quickly, you will look for a lot of so-called "interpretation" and "news" around it
2. technical perspective
Basic Stage:
1. Blockchain Development Guide - author Shentu Qingchun:
the author's research on the bottom layer of rendant bitcoin is very in-depth, and the explanation is very easy to understand
2. Blockchain technology guide - author Zou Jun:
as the first domestic book to explain blockchain from a technical perspective, it is worth reading. Since its publication in 2016, it has been consistently evaluated well
3. Principles, design and application of blockchain by Yang Baohua and Chen Chang:
as the CTO of Zhigui, Chen Chang remembers that the previous ink chain was based on hyperledger fabric, so this book has a thorough explanation of hyperledger related open source procts
3. Blockchain world is divided into two parts. The first part comprehensively reviews the birth, growth and graal development of blockchain in 2008 through full and accurate information, introces in detail the originality of blockchain technology, the scientific mechanism and the artistic logic, and introces the application characteristics of blockchain through more than ten instry scenarios such as finance, anti-counterfeiting and medical treatment. In the second part, combined with the spirit of G20 summit and the 13th five year plan, the author explores the combination of blockchain and digital economy, as well as the author's views and suggestions on the development trend of the instry
In a narrow sense, blockchain is a kind of chain data structure that combines data blocks in a sequential way according to the time sequence, and it is a distributed account book that can not be tampered with and forged by means of cryptography
broadly speaking, blockchain technology is a new distributed infrastructure and computing method, which uses blockchain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses intelligent contracts composed of automated script code to program and operate data
working principle
blockchain system is composed of data layer, network layer, consensus layer, incentive layer, contract layer and application layer. Among them, the data layer encapsulates the underlying data blocks and related basic data and algorithms such as data encryption and timestamp; The network layer includes distributed networking mechanism, data transmission mechanism and data verification mechanism; The consensus layer mainly encapsulates all kinds of consensus algorithms of network nodes; The incentive layer integrates economic factors into the blockchain technology system, mainly including the issuance mechanism and distribution mechanism of economic incentives; The contract layer mainly encapsulates all kinds of scripts, algorithms and smart contracts, which is the basis of the programmable characteristics of blockchain; The application layer encapsulates various application scenarios and cases of blockchain. In this model, chain block structure based on timestamp, consensus mechanism of distributed nodes, economic incentive based on consensus computing power and flexible and programmable smart contract are the most representative innovations of blockchain technology
blockchain is a term in the field of information technology. In essence, it is a shared database. The data or information stored in it is characterized by "unforgeability", "trace in the whole process", "traceability", "openness and transparency" and "collective maintenance". Based on these characteristics, blockchain technology has laid a solid "trust" foundation, created a reliable "cooperation" mechanism, and has broad application prospects
characteristics of blockchain technology
decentralization. Blockchain technology does not rely on additional third-party management institutions or hardware facilities, and there is no central control. In addition to the self-contained blockchain itself, each node realizes information self verification, transmission and management through distributed accounting and storage. Decentralization is the most prominent and essential feature of blockchain
openness. Blockchain technology is based on open source. In addition to the private information of all parties involved in the transaction is encrypted, the data of blockchain is open to everyone. Anyone can query blockchain data and develop related applications through the open interface, so the information of the whole system is highly transparent
independence. Based on consensus specifications and Protocols (similar to various mathematical algorithms such as hash algorithm used by bitcoin), the whole blockchain system does not rely on other third parties, and all nodes can automatically and safely verify and exchange data in the system without any human intervention
security. As long as 51% of all data nodes cannot be controlled, the network data cannot be arbitrarily manipulated and modified, which makes the blockchain itself relatively safe and avoids subjective and artificial data changes
anonymity. Unless there are legal requirements, technically speaking, the identity information of each block node does not need to be disclosed or verified, and the information can be transferred anonymously
1. Application of blockchain technology in the banking instry the biggest feature of blockchain technology is decentralization, which will rece a lot of costs for the banking instry. The development of digital currency will make it possible for banks to realize real-time digital transactions. For example, in bill transaction, bank bill transaction always relies on the third party to realize the transfer of valuable documents. Even in electronic bill transaction,
also needs to be authenticated through the information of central bank ECDs system. The blockchain technology can realize the point-to-point value transmission, which no longer needs centralized system control. This not only speeds up the bill transmission speed, but also reces the mistakes caused by human factors. The rection of process will naturally rece the demand of the bank for personnel and save the labor cost of the bank
2, the application of blockchain technology in the insurance instry
blockchain technology also has incomparable advantages in the insurance instry. From the perspective of data management, the application of blockchain technology can effectively improve the risk management and control ability of insurance companies, including the risk supervision of insurance companies and the risk management of policyholders
the application of blockchain technology in the insurance instry can strengthen the internal risk supervision of insurance companies. Blockchain technology can record the daily operation process of insurance company on the node, realize the in-process control of the company's capital flow, investment situation, compensation amount and other business, and improve the company's risk management and control ability
3. Application of blockchain technology in the securities instry
4, blockchain technology and financial infrastructure
blockchain technology is a decentralized mechanism for value exchange, which will lead to earth shaking changes in the existing financial infrastructure characterized by centralization
5. Application of blockchain technology in supply chain, It has become an effective guarantee for enterprise bank's loan credit, financing credit and transaction credit
blockchain is an important concept of bitcoin, which is essentially a decentralized database and serves as the underlying technology of bitcoin. Blockchain is a series of data blocks generated by cryptography. Each data block contains the information of a bitcoin network transaction, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block
in a narrow sense, blockchain is a kind of chained data structure that combines data blocks in chronological order in a sequential way, and it can not be tampered with and forged by cryptography
broadly speaking, blockchain technology uses blockchain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, and uses cryptography to ensure the security of data transmission and access A new distributed infrastructure and computing method for programming and operating data by using intelligent contract composed of automated script code
go language + blockchain training course:
1 What are the advantages of go
advantages of go
1: performance
2: language performance is very important
3: developer efficiency & don't be too innovative
4: concurrency & Channel
5: fast compile time
6: team building ability
7: powerful ecosystem
8: gofmt, Mandatory code format
9: grpc and protocol buffers
can be directly compiled into machine code, independent of other libraries. Glibc version has certain requirements, and deployment is completed by throwing a file
static type language has the feeling of dynamic language. Static type language can check out most hidden problems when compiling, while dynamic language has the feeling that there are many packages that can be used and the efficiency of writing is very high.
the latest technology application of blockchain: born out of bitcoin technology in 2008, it provides a decentralized credit establishment paradigm without trust accumulation. The essence of blockchain technology is a decentralized and distributed data storage, transmission and proof method. It replaces the dependence of the Internet on the central server with data block, so that all data changes or transactions are recorded on a cloud system. In theory, it realizes the self proof of data in data transmission, This kind of point-to-point verification will proce a "basic protocol", which is a new form of distributed artificial intelligence. It will establish a new interface and sharing interface between human brain intelligence and machine intelligence
at present, almost all decentralized virtual currencies will use blockchain technology, such as bitcoin, Fuyuan, Laite, doggy and so on.