In the recent research on the blockchain, there may be some non-front-end articles that are of interest to you.
Those who are concerned about the blockchain will definitely see these two terms - PoW and PoS. However, many people have many deviations from their understanding of their meaning. What is their meaning and difference?
In simple terms, PoW and PoS are two different ways of distributing accounting rights.
PoW
The literal translation of POW (Proof of Work) is proof of work, also called proof of workload. (Example: BTC, LTC)
What does this mean? That is to say, the amount of money you can get depends on the effective work of your mining contribution. That is, the better the performance of the mining machine you use for mining, the better your income will be allocated to you. The more you do, the more you will implement the currency allocation based on your job proofs.
The consensus algorithm used by Bitcoin is PoW. Professionally, the miners must work on the SHA-256 cryptographic hash function when they are digging a new block. The random hash value in the block is one or more zeros. Start. As the number of zeroes rises, the amount of work needed to find this solution will increase exponentially, and the miner will try to find this solution by repeated attempts.
In general, PoW means socialism, distribution according to work, and more work.
PoW Advantages and Disadvantages
The PoW mechanism is designed to ensure security. Whether in a centralized or decentralized system, it is important to prevent cheating.
PoW assumes that most people don't cheat. If you want to cheat, you have to overwhelm most people (51% attack), but you can't prevent the miners from warming up.
51% attack: The so-called 51% attack is to use some virtual blockchain currency to use the calculation power as the characteristics of the competition conditions, and use the advantage of computational power to cancel the payment transaction that has already occurred. If someone has mastered more than 50% of the power, he can find the random number needed to exploit the block faster than others, so he actually has the right to the absolute block.
Cheating will be treated cautiously because of the cost of cheating. In Bitcoin's PoW mechanism, because the probability of obtaining the calculation results tends to be proportional to the proportion of computing power, the cost of miner fraud is significantly higher than that of honest mining, even if it does not master 51% of the computing power. Fraud may be completed (due to a low probability).
PoS
The literal translation of PoS (Proof of Stake) is a share certificate, which directly proves your share. (Example: Star coins, dog coins, etc.)
Since the BTC's PoW mechanism determines who is more powerful, it will gain more revenue and have greater bookkeeping rights. So PoW currency mining such as Bitcoin brings huge power and energy consumption. In order to solve this problem, PoS is available.
PoS attempts to solve the situation where a large amount of resources in the PoW mechanism are wasted. This mechanism determines the bookkeeping rights by calculating how much you hold as a percentage of total currency and how long it takes to occupy the currency.
PoS is very common in the real world. The best known example is stocks. Stocks are used to record equity. If the stock holds a lot, it has more and more voting and income rights.
In general, PoS is capitalism. According to the distribution of money, money produces money.
PoS Advantages and Disadvantages
Pos can certainly prevent cheating, because if a person holding more than 51% of the shares cheated, he would be pitted against himself because one would not kill his own money.
The PoS mechanism is guaranteed by the shareholders themselves and the principle of work is the bundle of benefits. In this mode, people who do not hold a PoS cannot pose a threat to the PoS. The security of the PoS depends on the holder, and has nothing to do with any other factors.
DPoS
DPoS (Delegated Proof of Stake) is a certificate of entrusted equity and is an evolutionary plan for PoS.Dan Larimerinvention. (Example: Bit Stocks BTS)
In conventional PoW and PoS, a major impact on efficiency is that any newly-added block needs to be acknowledged by all nodes of the entire network.
The DPoS optimization scheme consists of selecting a small group of nodes from time to time through different strategies. This small group of nodes creates, verifies, signs, and supervises new blocks, which greatly reduces the number of block creation and confirmation sites. Needed time and calculation costs.
PoW + PoS mixing mechanism
Therefore, in order to combine the advantages of the two types of mining methods, a coin based on the PoW+PoS mixed consensus mechanism has begun. For example, Hcash and Ethereum ETH are also transitioning to the PoW+PoS hybrid mining upgrade.
So, what are the advantages of the PoW + PoS hybrid mechanism?
It can maximize audiences.
Assume a coin whose mechanism is a hybrid mechanism of PoW + PoS. Then both the user holding the coin and the miner can participate in the voting and participate in the major decisions of the coin community. Both the coin bearer and the miner can influence pre-programmed updates, such as SegWit, increase block and many more. If these updates are widely accepted without developer intervention, the chain will automatically branch out to match the update. And this is true decentralization.
The hybrid mechanism is used to realize the efficient operation of the generalized DAO (decentralized autonomous organization). The community autonomy is achieved by PoW+PoS's fair weight and workload allocation of voting weights.
to sum up
PoW and PoS have their own advantages and disadvantages. But it seems that PoW has many advantages. Look at the top currency in the circulation market value ranking, most of them are PoW.
PoS has a centered suspicion that PoW, although it can be fully decentralized, has the disadvantage of consuming large amounts of energy. Perhaps PoW + PoS is a good solution, but the blockchain community is constantly evolving, and the technology is constantly iteratively updated and optimized, and better solutions may be introduced.
Constant learning, understanding, can be better based on the blockchain. Of course, this article is only a shallow introduction to PoW, PoS, and DPoS. The introduction of specific algorithms will be gradually carried out later.
✅ @geton, congratulations on making your first post! I gave you a $.05 vote!
Will you give me a follow? I'll follow you back in return!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Coins mentioned in post:
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @geton! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit