Position: Home page » Blockchain » Is pos a blockchain consensus mechanism
Is pos a blockchain consensus mechanism
Publish: 2021-05-22 10:51:23
1. POC: (proof of credit) credit consensus mechanism is initiated and applied by the nuls team. The consensus mechanism is: when the node's credit reaches the standard, a certain margin can be locked to join the consensus. After the consensus node is reordered, the block will be released in turn in each round, and the margin will be unlocked when it exits the consensus. The POC of nuls is divided into entrustment consensus and node consensus. Entrustment consensus mortgage 2000nuls and node consensus mortgage 20000nuls. The node builder maintains the node and receives part of the commission from the delegation consensus to jointly maintain the healthy operation of the nuls main network node
POC consensus mechanism integrates the advantages of pow / POS / dpos, and achieves better coordination of decentralization, efficiency and consistency in different directions, which are difficult to unify in blockchain< br />
1. Decentralization: in the POC consensus mechanism, there is no rigid limit on the number of nodes. The number of nodes is dynamic, and anyone who meets the conditions can join the nodes. Here, each outgoing node is similar to the mine pool in the pow, and can join the consensus in the mine pool by holding interests. In the pow, the pool obtains the bookkeeping rights according to the computing power. In the POC, the chance of all the pools to obtain bookkeeping rights is random and equal, which makes the node distribution of the consensus mechanism of POC more decentralized< br /> < br />
2. Efficiency: the two key factors affecting the efficiency of blockchain network are the degree of wide distribution of nodes and the hardware network resources provided by nodes. In the coordination of these two parameters, POC consensus mechanism introces the credit coefficient mechanism, which directly affects the stability of the node. Therefore, each node and the principals participating in the node will make the most favorable choice for the network to ensure that the node can provide services efficiently and stably. In addition, they will join the node consensus by means of rights and interests, The number of nodes will float in a certain range, which can be adjusted by changing the incentive parameters. When the parameters are fixed, the market will adjust automatically. In these nodes, the dpos principle of random sorting out blocks is integrated, which ensures the security and efficiency of the network and provides higher TPS carrying capacity< br />
3. Consistency: in the POC consensus mechanism, all members can participate in the consensus, and the node can only charge a certain fee to the participants. All people have equal opportunities to participate in the consensus, and the incentive is determined by the equity and node credit coefficient. Nodes and all participants will reach a consensus in order to provide stable node services.
POC consensus mechanism integrates the advantages of pow / POS / dpos, and achieves better coordination of decentralization, efficiency and consistency in different directions, which are difficult to unify in blockchain< br />
1. Decentralization: in the POC consensus mechanism, there is no rigid limit on the number of nodes. The number of nodes is dynamic, and anyone who meets the conditions can join the nodes. Here, each outgoing node is similar to the mine pool in the pow, and can join the consensus in the mine pool by holding interests. In the pow, the pool obtains the bookkeeping rights according to the computing power. In the POC, the chance of all the pools to obtain bookkeeping rights is random and equal, which makes the node distribution of the consensus mechanism of POC more decentralized< br /> < br />
2. Efficiency: the two key factors affecting the efficiency of blockchain network are the degree of wide distribution of nodes and the hardware network resources provided by nodes. In the coordination of these two parameters, POC consensus mechanism introces the credit coefficient mechanism, which directly affects the stability of the node. Therefore, each node and the principals participating in the node will make the most favorable choice for the network to ensure that the node can provide services efficiently and stably. In addition, they will join the node consensus by means of rights and interests, The number of nodes will float in a certain range, which can be adjusted by changing the incentive parameters. When the parameters are fixed, the market will adjust automatically. In these nodes, the dpos principle of random sorting out blocks is integrated, which ensures the security and efficiency of the network and provides higher TPS carrying capacity< br />
3. Consistency: in the POC consensus mechanism, all members can participate in the consensus, and the node can only charge a certain fee to the participants. All people have equal opportunities to participate in the consensus, and the incentive is determined by the equity and node credit coefficient. Nodes and all participants will reach a consensus in order to provide stable node services.
2. Blockchain is a decentralized distributed ledger system, which can be used to register and issue digital assets, property rights certificates, points, etc., and transfer, pay and trade in a point-to-point manner. Compared with the traditional centralized ledger system, blockchain system has the advantages of complete disclosure, tamper proof, multiple payment prevention, and does not rely on any trusted third party
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
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
3. 1. Pow (proof of work) workload proof
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.
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.
4. At present, there are four main types of consensus mechanisms: pow, POS, dpos, pool
1. POW workload proof, which is familiar with mining, calculates a random number that meets the rules through and or operation, that is, obtains the bookkeeping right, sends out the data that needs to be recorded in this round, and stores it together with other nodes in the whole network after verification
advantages: complete decentralization, free access of nodes
disadvantages: bitcoin has attracted most of the computing power in the world, and other blockchain applications using POW consensus mechanism are difficult to obtain the same computing power to ensure their own security; Mining causes a lot of waste of resources; The period of reaching consensus is long, which is not suitable for commercial application.
2. Proof of rights and interests of POS, a mechanism of upgrading consensus of pow; According to the token proportion and time of each node; It can rece the difficulty of mining in equal proportion, so as to speed up the speed of finding random numbers< Advantages: to a certain extent, it shortens the time to reach a consensus
disadvantages: mining is still needed, which does not solve the pain point of commercial application in essence
3. Dpos share authorization certification mechanism is similar to the voting of the board of directors, in which the coin holders cast a certain number of nodes to verify and account on their behalf
advantages: greatly rece the number of participating verification and accounting nodes, which can achieve second level consensus verification
disadvantages: the whole consensus mechanism still depends on token, and many commercial applications do not need token to exist
4. Pool verification pool, which is based on traditional distributed consistency technology and data verification mechanism; It is a consensus mechanism widely used in the instry chain at present.
advantages: it can work without token, and realizes second level consensus verification on the basis of mature distributed consistency algorithms (pasox and raft)
disadvantages: the degree of decentralization is not as good as that of bictin; The multi center business model is more suitable for multi-party participation
it has great advantages in using consensus mechanism to ensure data consistency (the consensus mechanism is first proposed by ripple, and the network transaction synchronization mechanism with data correctness priority. In the consensus network, no matter how the software code changes, if you can't reach a consensus, you can't enter the network, let alone fork)
- - - - - - - -
PS: a little black, although the consensus mechanism can absolutely ensure that there will be no hard bifurcation at any time. However, the disadvantage of this mechanism is obvious, that is, it is much longer than the current bitcoin network to reach a consensus with other nodes. In extreme cases, the consequences of disconnection in ripple consensus mechanism network are also very terrible
it is possible that one day after the power failure in your home, the whole system will no longer be able to reach a consensus with other rippled nodes (in fact, the consensus mechanism requires more than 80% of the nodes to acknowledge your data before your submission will be accepted by other nodes, otherwise it will be rejected by exclusive nodes), Even you can only empty all your 500 GB data and resynchronize to connect to other ripple nodes
so at present, the existing rippled end is not suitable for civil use (if it is commercial, the impact is relatively small. For example, RL's own rippled node is hosted in Amazon cloud data center. If it has no response for a long time, it can make high claims, and there is almost no break in that place except for large disasters). This is one of the aspects RL has always wanted to improve.
1. POW workload proof, which is familiar with mining, calculates a random number that meets the rules through and or operation, that is, obtains the bookkeeping right, sends out the data that needs to be recorded in this round, and stores it together with other nodes in the whole network after verification
advantages: complete decentralization, free access of nodes
disadvantages: bitcoin has attracted most of the computing power in the world, and other blockchain applications using POW consensus mechanism are difficult to obtain the same computing power to ensure their own security; Mining causes a lot of waste of resources; The period of reaching consensus is long, which is not suitable for commercial application.
2. Proof of rights and interests of POS, a mechanism of upgrading consensus of pow; According to the token proportion and time of each node; It can rece the difficulty of mining in equal proportion, so as to speed up the speed of finding random numbers< Advantages: to a certain extent, it shortens the time to reach a consensus
disadvantages: mining is still needed, which does not solve the pain point of commercial application in essence
3. Dpos share authorization certification mechanism is similar to the voting of the board of directors, in which the coin holders cast a certain number of nodes to verify and account on their behalf
advantages: greatly rece the number of participating verification and accounting nodes, which can achieve second level consensus verification
disadvantages: the whole consensus mechanism still depends on token, and many commercial applications do not need token to exist
4. Pool verification pool, which is based on traditional distributed consistency technology and data verification mechanism; It is a consensus mechanism widely used in the instry chain at present.
advantages: it can work without token, and realizes second level consensus verification on the basis of mature distributed consistency algorithms (pasox and raft)
disadvantages: the degree of decentralization is not as good as that of bictin; The multi center business model is more suitable for multi-party participation
it has great advantages in using consensus mechanism to ensure data consistency (the consensus mechanism is first proposed by ripple, and the network transaction synchronization mechanism with data correctness priority. In the consensus network, no matter how the software code changes, if you can't reach a consensus, you can't enter the network, let alone fork)
- - - - - - - -
PS: a little black, although the consensus mechanism can absolutely ensure that there will be no hard bifurcation at any time. However, the disadvantage of this mechanism is obvious, that is, it is much longer than the current bitcoin network to reach a consensus with other nodes. In extreme cases, the consequences of disconnection in ripple consensus mechanism network are also very terrible
it is possible that one day after the power failure in your home, the whole system will no longer be able to reach a consensus with other rippled nodes (in fact, the consensus mechanism requires more than 80% of the nodes to acknowledge your data before your submission will be accepted by other nodes, otherwise it will be rejected by exclusive nodes), Even you can only empty all your 500 GB data and resynchronize to connect to other ripple nodes
so at present, the existing rippled end is not suitable for civil use (if it is commercial, the impact is relatively small. For example, RL's own rippled node is hosted in Amazon cloud data center. If it has no response for a long time, it can make high claims, and there is almost no break in that place except for large disasters). This is one of the aspects RL has always wanted to improve.
5. It is also a concept in blockchain, which refers to the algorithm for blockchain things to reach distributed consensus. They speak very clearly on the app of lianpai community and have a thorough understanding of blockchain. Although their one course is not long, they can understand it after listening to it. Very good!
6. How to reach a consensus on decentralized networks
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.
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.
7. Unknown_Error
Hot content