The essence and principle of blockchain
The price of a bitcoin soared from more than $20000 to $40000. This can not help but arouse my research interest, or simply understand what bitcoin is, what its mechanism looks like, and uncover its mystery. Therefore, after a simple search of some information and some understanding of the special currency, I sorted out the information on hand< (3) purpose: decentralize, rece risk
all servers in the distributed network can store and process data, and each server has equal status, which can store more data and has higher security<
this is the general content of popular science. If you want to know more about it, you can take a look at Nakamoto's paper and the official popular science video below
it establishes a set of consensus mechanism to ensure the authenticity of data, and establishes trust between nodes that do not know each other. The participating nodes work together to maintain the healthy growth of the system
in order to stimulate the enthusiasm of participants, bitcoin, the first application of blockchain, was created.
1. Distributed: ledger is not only stored in one place, but in many places
2. General ledger: you can determine that you are not necessarily a machine stored general ledger through the network, but you can at least obtain the general ledger from the network
3. Decentralization: "distributed" is not a general distribution, but a decentralized distribution. No one can control and tamper with it, its accounting rules are based on some designed mathematical method to account for all rights. How to test, how to use, are in accordance with an open method to complete, so in essence is an account book
coin Ying China is the first to introce blockchain into the crowdfunding instry, making crowdfunding more open, transparent and simple.
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
blockchain is public on the network and can be queried in every offline bitcoin wallet data. The function of bitcoin wallet depends on the confirmation with the blockchain. An effective inspection is called a confirmation. Usually, a transaction needs to obtain several confirmations. The lightweight bitcoin wallet uses online confirmation, that is, it will not download the blockchain data to the device storage
many of bitcoin's competitors also use the same design, but the workload proof and algorithm are slightly different. For example, the use of proof of interest and scrypt and so on
in addition, digital cryptocurrencies such as Laite coin, Ethereum, Weimeng coin, doggy coin and Ruitai coin also use blockchain technology.
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
Seeing some answers to the debate on the definition of blockchain, I suddenly realize that my answer to this explanation principle has always been directed at bitcoin. There is no specific and unique answer in the instry between the definition of blockchain. Here I first summarize the characteristics of "blockchain" according to the papers I read:
1; Hash chain & quot There are several nodes participating in the system operation (distributed)
3. Reach a consensus on the consistency of basic data (consensus agreement / algorithm) through a certain protocol or algorithm
since bitcoin is currently one of the most typical and influential applications of blockchain, it will be much easier to understand how bitcoin uses blockchain before understanding other forms of blockchain applications