Organized from "Block Chain society"--龚鸣
The bottom is divided into data layer, network layer, consensus layer, incentive layer, contract layer, application layer.
The data layer encapsulates the chain structure of the underlying data block, and the related asymmetric public key data encryption technology and time stamp technology;
The network layer includes distributed networking mechanism, data dissemination mechanism and data validation mechanism.
Consensus layer mainly encapsulates all kinds of consensus mechanism algorithms of network nodes (workload proving mechanism, POS, POW system dpos, etc.);
The incentive layer integrates economic factors into the block chain technology system, mainly includes the distribution mechanism of economic incentive and distribution mechanism, which mainly out of the common chain, because in the public chain must motivate compliance rules to participate in the accounting node, and punish the node that does not follow the rules, in order to let the whole system in the direction of benign cycle. In the private chain, there is no need for incentives, because the participating nodes are often completed in the chain outside the game, that is, may have the force or other requirements to participate in accounting.
The contract layer mainly encapsulates various kinds of scripts, algorithms and intelligent contracts, which is the basis of the programmable characteristics of the block chain.
The application layer encapsulates a variety of application scenarios and cases for the block chain.
The data layer, network layer and consensus layer are the necessary factors to construct the block chain application. Otherwise, it will not be called the real block chain, but the incentive layer, the contract layer and the application layer are not the necessary factors for each block chain application, and some of the block chains are not complete with the three-layer structure.