Blockchain mechanism
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
e to the high network delay in peer-to-peer network, the transaction order observed by each node can not be completely consistent. Therefore, the blockchain system needs to design a mechanism to reach a consensus on the sequence of transactions that occur in the same time. This algorithm to reach consensus on the order of transactions in a time window is called consensus mechanism
-- chainknow
one sentence introction: the more you do, the more you get
2. POS proof of stake
in a word: the more you hold, the more you get< Pbft: practical Byzantine fault tolerance
3. Pbft: practical Byzantine fault tolerance
Introction: it provides (n-1) / 3 fault tolerance on the premise of ensuring the activity and safety< Dbft: Byzantine fault tolerant algorithm authorized by delegated BFT
Introction: dbft mechanism adopted by ant is that bookkeepers are selected by rights and interests, and then bookkeepers reach a consensus through Byzantine fault tolerant algorithm
5. Pool verification pool
is based on traditional distributed consistency technology and data verification mechanism
chainnova is a blockchain company. I feel it's very good. Although I don't know any hash algorithm, I still know a little bit.
in a decentralized structural system, because the status of all participants is equal, when there are differences, how to reach consensus becomes a problem
therefore, a well-designed and easy to operate consensus mechanism is the key to the smooth self operation of a distributed system
in short, consensus mechanism is an algorithm to reach consensus on the sequence of things in a period of time. It is a mechanism for blockchain nodes to reach consensus on block information in the whole network.
pos: POS is a consensus algorithm in the public chain, which can be used as a replacement of pow algorithm. POW is a mechanism to ensure the security of bitcoin, Ethereum and many other blockchains, but POW algorithm is criticized for destroying the environment and wasting power in the process of mining. POS tries to solve these problems by replacing the concept of mining with a different mechanism
POS mechanism can be described as a kind of virtual mining. POS mainly relies on the token in the blockchain itself. In pow, a user may buy a computer for 1000 dollars, join the network to mine and proce new blocks, and get a reward. In POS, users can buy tokens of equal value with us $1000 and put them into the POS mechanism as deposit, so that users have the opportunity to generate new blocks and get rewards. In pow, if users spend $2000 on hardware equipment, they will of course get twice the computing power to mine, thus getting twice the reward. Similarly, if you invest twice as much token as the deposit in the POS mechanism, you have twice as much chance to get the right to generate new blocks.
in the blockchain system, there is no centralized bookkeeping institution like a bank, so it is very important to ensure the consistency of each transaction on all bookkeeping nodes, that is, to make the whole network reach a consensus. The consensus mechanism solves this problem
at present, the main consensus mechanisms are workload proof mechanism POW and equity proof mechanism POS
POW determines your chances of getting bookkeeping rights by evaluating your workload. The greater the workload, the more likely you will get this bookkeeping opportunity
POS determines your chances of getting bookkeeping rights by evaluating the number and ration of tokens you hold. This is similar to the stock dividend system, holding a relatively large number of shares can get more dividends
the principle of dpos is similar to that of POS, except that some "deputies to the National People's Congress" are selected. The main difference from POS is that the node elects several agents, which are verified and recorded by the agents
with the development of technology, more advanced consensus mechanisms may emerge in the future.
01, the core operation mechanism of blockchain public certificate
the operation mechanism of blockchain public certificate is composed of two moles: "Notarization management" and "intelligent assistance". After the applicant submits the application, the blockchain notarization system relies on AI technology to audit the identity and information of the applicant. At the same time, the system will review the content of notarial evidence, and then issue a notarial certificate, at the same time on the chain filing. At the same time, the public certificate of blockchain has been formally formed, which immediately meets the online verification needs of users
the core of the operation mechanism of the notarial certificate of the blockchain lies in the application of the blockchain technology. No matter audio, video, photo or document, as long as it is stamped with a time stamp and then put on the chain, it can become an unchangeable and indestructible evidence document
the second important support in the operation mechanism of the notarial certificate of blockchain is the application of artificial intelligence. The application of this technology greatly saves the applicant's application and waiting time, and also greatly improves the speed and accuracy of the notarial office's document confirmation, eliminating the time delay of manual confirmation and possible operational errors<
02, analysis of the characteristics of the operation mechanism of the notarial certificate of blockchain
through the detailed disassembly of the operation mechanism diagram of the notarial certificate of blockchain, it is not difficult to find that compared with the operation mechanism of the traditional notarial certificate, the operation mechanism of the notarial certificate of blockchain has many noteworthy characteristics
the first is synchronization. In the process of generating the public certificate of blockchain, the actions of the applicant and the notary organization are almost synchronous, and the applicant's application and the notary organization's examination, certificate preparation and certificate issuance are almost synchronous. However, in traditional notarization, there is a time interval between the actions of all parties, which is prone to usurpation. Moreover, e to manual operation, a large amount of time cost will be generated, It further causes the delay of the process. The actions of all parties of blockchain notarization are synchronized online, and the action traces and data are generated instantaneously, thus recing the possibility of tampering and ensuring the authenticity and judicial effect of data files
the second is interactivity. In the process of generating the public certificate of blockchain, the actions of the applicant and the notarization institution are interactive - the applicant submits the application, the notarization institution's artificial intelligence audit, the certificate preparation, the certificate issuance, the data archiving, and the applicant's query are carried out alternately. Different from the traditional notarization, the applicant is more in a passive waiting state after submitting the application, which reces the participation of the applicant
dynamic again. In the process of generating the public certificate of blockchain, the evidence file is a dynamic generation process. The process of applying for the notarial certificate is the process of generating the notarial evidence, and this process itself is a part of the notarial certificate. The traditional notarization is that before the notarization, the evidence documents have been basically finalized. What the notary office does is just a process of confirmation and seal, and the dispute prevention function of notarization is weakened
it is precisely because the operation mechanism of the block chain notarial certificate is quite different from that of the traditional notarial certificate, which determines its absolute advantage over the traditional notarial certificate. On the one hand, it meets the people's requirements for efficiency in the digital age; On the other hand, it also strengthens the authenticity and legal validity of notarial documents. Its interactive feature adapts to the Internet era thinking of emphasizing interaction, which makes all parties involved in notarization enter a positive interactive state. Finally, the dynamic nature of the generation of the public certificate of the blockchain greatly gives play to the initiative of the notary organization, rather than passively confirming the existing evidence documents, which can give full play to the original preventive function of the notary.