Digital currency consensus pow
POW: full name of proof of work
pos: proof of stake
both of them are the consensus mechanism of blockchain and the bookkeeping method of digital currency
the difference is:
1. POW mechanism: workload proof mechanism, that is, the proof of workload, is the requirement that must be met when generating a new transaction information (that is, a new block) to be added to the blockchain. In the blockchain network based on workload proof mechanism, the ability of nodes to obtain the correct numerical solution to generate blocks by calculating the numerical solution of random hash hash is the specific performance of node computing power
POS mechanism: the proof of rights and interests requires the certifier to provide a certain amount of ownership of cryptocurrency. The operation mode of the proof of rights and interests mechanism is that when creating a new block, the miners need to create a "currency right" transaction, and the transaction will send some coins to the miners themselves according to the preset proportion. According to the proportion and time of token owned by each node, the equity proof mechanism reces the mining difficulty of nodes proportionally according to the algorithm, so as to speed up the speed of searching for random numbersextended materials:
the concept of bitcoin was first proposed by Nakamoto in 2009. According to Nakamoto's ideas, the open source software and the P2P network on it were designed and released. Bitcoin is a kind of P2P digital currency. Point to point transmission means a decentralized payment system
unlike most currencies, bitcoin does not rely on specific currency institutions. It is generated by a large number of calculations based on specific algorithms. Bitcoin economy uses the distributed database composed of many nodes in the whole P2P network to confirm and record all transactions, and uses the design of cryptography to ensure the security of all aspects of currency circulation. The decentralized nature and algorithm of P2P can ensure that it is impossible to artificially manipulate the value of bitcoin through mass proction
the digital currency launched by the central bank is a national sovereign currency, which is based on the digitalization of RMB. This is a piece of data generated by a complex algorithm, which contains blockchain and encryption technology, making it unique. The payment of Alipay and WeChat is not digital money, but only based on the payment realized by electronic accounts. Compared with the current pattern of "payment transfer collection" with the help of third-party payment, what digital currency needs to achieve is "decentralization", that is, to cancel the transfer link and directly hand over the money from the payer's account to the payee, so as to rece the payment cost in currency circulation
types of digital currency
according to different issuing or consensus mechanisms, it can be divided into four categories:
1, proof of work (POW)
proof of work. The system rewards are obtained through the mining of computing power to complete the issuance and distribution of currency. More work, more gain. Such as bitcoin, lightcoin (LTC)
the advantage is that the mining cost can form a monetary price support to a certain extent, and the disadvantage is that energy consumption and environmental protection are criticized< 2. Proof of stake (POS). Allocate the newly generated currency or interest according to the amount and time of cryptocurrency you hold. Such as dash and Neo
compared with pow, POS is more energy-saving, but it increases the security risk
3. The evolution scheme of delegated proof of stake (dpos)
POS. Similar to the voting mechanism of the board of directors, through the election of representatives to vote and make decisions, n accounting nodes are elected to create, verify, sign and supervise each other. Such as the grapefruit coin (EOS)
the advantage is high efficiency, but the problem is that it presents a semi centralized state
4. POW + POS hybrid mechanism
POW is mainly used to issue currency, and POS is used to maintain the system. For example, PPC
according to the project type, it can also be divided into four categories:
1. Currency category
digital currency issued for the purpose of transfer, payment and value storage. For example, bitcoin, bitcoin cash (BCH), Monroe (XmR), and grin
2. Public chain currency, that is, the digital currency issued by public chain projects, is generally the "fuel" for the application projects to run on the public chain. Such as eth, grapefruit coin, TRX and ont
3. Application token, that is, digital currency issued by decentralized application projects, is equivalent to equity or points. For example, OMG (payment application), GXC (data application), 1st (game application)
4. Platform currency, that is, the digital currency issued by the digital currency exchange, is equivalent to equity, points or fuel. For example, BNB, HT and okb.
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.
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.