top of page

What is Proof-of-Work?

By ProTrader Mike

Picture courtesy of cointelegraph

Proof-of-Work, or PoW, is the original consensus algorithm in a Blockchain network.

In Blockchain, this algorithm is used to confirm transactions and produce new blocks to the chain.

With PoW, miners compete against each other to complete transactions on the network and get rewarded.

In a network users send each other digital tokens. A decentralized ledger gathers all the transactions into blocks. However, care should be taken to confirm the transactions and arrange blocks.

This responsibility bears on special nodes called miners, and a process is called mining.

The main working principles are a complicated mathematical puzzle and a possibility to easily prove the solution.

What do you mean a “mathematical puzzle?”

It’s an issue that requires a lot of computational power to solve.

There are a lot of them, for instance:

  • hash function, or how to find the input knowing the output.

  • integer factorization, in other words, how to present a number as a multiplication of two other numbers.

  • guided tour puzzle protocol. If the server suspects a DoS attack, it requires a calculation of hash functions, for some nodes in a defined order. In this case, it’s a ‘how to find a chain of hash function values’ problem.

The answer to the PoW problem or mathematical equation is called hash.

As the network is growing, it is facing more and more difficulties. The algorithms need more and more hash power to solve. So, the complexity of the task is a sensitive issue.

How come?

Accurate work and speed of Blockchain system depend on it.

But the problem shouldn’t be too complicated. If it is, the block generation takes a lot of time. The transactions are stuck without execution and as a result, the workflow hangs for some time. If the problem cannot be solved in a definite time frame, block generation will be kind of a miracle.

But if the problem is too easy it is prone to vulnerabilities, DoS attacks and spam.

The solution needs to be easily checked. Otherwise, not all nodes are capable of analyzing if the calculations are correct.

Then you will have to trust other nodes and it violates one of the most important features of Blockchain - transparency.

How is this algorithm implemented in Blockchain?

Miners solve the puzzle, form the new block and confirm the transactions.

How complex a puzzle is depends on the number of users, the current power and the network load. The hash of each block contains the hash of the previous block, which increases security and prevents any block violation.

If a miner manages to solve the puzzle, the new block is formed. The transactions are placed in this block and considered confirmed.

And where PoW is usually implemented?

Proof-of-Work is used in a lot of cryptocurrencies.

The most famous application of PoW is Bitcoin. It was Bitcoin that laid the foundation for this type of consensus. The puzzle is Hashcash.

This algorithm allows changing the complexity of a puzzle based on the total power of the network. The average time of block formation is 10 minutes. Bitcoin-based cryptocurrencies, such as Litecoin, have the similar system.

Another large project with PoW is Ethereum. Given that almost three of four projects are implemented on Ethereum platform, it’s safe to say that the majority of Blockchain applications use PoW consensus model.

Why use a PoW consensus algorithm in the first place?

The main benefits are the anti-DoS attacks defense and low impact of stake on mining possibilities.

Defense from DoS attacks. PoW imposes some limits on actions in the network. They need a lot of efforts to be executed. Efficient attack requires a lot of computational power and a lot of time to do the calculations. Therefore, the attack is possible but kind of useless since the costs are too high.

Mining possibilities. It doesn’t matter how much money you have in your wallet. What matters is to have large computational power to solve the puzzles and form new blocks. Thus, the holders of huge amounts of money are not in charge of making decisions for the entire network.

Any flaws in the PoW consensus algorithm?

The main disadvantages are huge expenditures, “uselessness” of computations and 51 percent attack.

Huge expenditures.

Mining requires highly specialized computer hardware to run the complicated algorithms. The costs are unmanageable Mining is becoming available only for special mining pools. These specialized machines consume large amounts of power to run that increase costs. Large costs threaten centralization of the system since it benefits. It is easy to see in the case of Bitcoin.

“Uselessness” of computations. Miners do a lot of work to generate blocks and consume a lot of power. However, their calculations are not applicable anywhere else. They guarantee the security of the network but cannot be applied to business, science or any other field.

51% attack, what are you talking about?

A 51 percent attack, or majority attack, is a case when a user or a group of users control the majority of mining power.

The attackers get enough power to control most events in the network.

They can monopolize generating new blocks and receive rewards since they’re able to prevent other miners from completing blocks.

They can reverse transactions.

Let’s assume Alice sent Bob some money using Blockchain. Alice is involved in the 51 percent attack case, Bob is not. This transaction is placed in the block. But the attackers don’t let the money be transferred. There is a fork happening in the chain.

Further, miners join one of the branches. And as they have the majority of the computational power, their chain contains more blocks.

In the network, a branch that lasts longer remains, and shorter one is rejected. So the transaction between Alice and Bob does not take place. Bob doesn’t receive the money.

Following these steps, the attackers can reverse transactions.

51 percent attack is not a profitable option. It requires an enormous amount of mining power. And once it gets public exposure, the network is considered compromised, which leads to the outflow of users. This will inevitably move the cryptocurrency price down. All consequently, the funds lose their value.

Thanks for reading,

Keep it profitable

ProTrader Mike

Featured Posts
Recent Posts
Archive
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square

Billing & General Support - 

Disclaimer: “Day trading can be extremely risky…You should be prepared to lose all of the funds that you use for day trading. In particular, you should not fund day-trading activities with retirement savings, student loans, second mortgages, emergency funds, funds set aside for purposes such as education or home ownership, or funds required to meet your living expenses. Further, certain evidence indicates that an investment of less than $50,000 will significantly impair the ability of a day trader to make a profit. Of course, an investment of $50,000 or more will in no way guarantee success.”

 

MOJO Day Trading is a provider of stock market education. MOJO Day Trading is not a registered as an investment adviser either with the U.S. Securities and Exchange Commission or any other federal, governmental or regulatory authority. The business services and activities of MOJO Day Trading do not requires any such registrations. You understand and acknowledge that there is a very high degree of risk involved in trading securities. The Company, the authors, the publisher, and all affiliates of Company assume no responsibility or liability for your trading and investment results. It should not be assumed that the methods, techniques, or indicators presented in these products will be profitable or that they will not result in losses. Past results of any individual trader or trading system published by Company are not indicative of future returns by that trader or system, and are not indicative of future returns which be realized by you. In addition, the indicators, strategies, columns, articles and all other features of Company's products (collectively, the "Information") are provided for informational and educational purposes only and should not be construed as investment advice. Examples presented are for educational purposes only. Such picks, alerts, set-ups are not solicitations of any order to buy or sell. Accordingly, you should not rely solely on the information in making any investment. Rather, you should use the Information only as a starting point for doing additional independent research in order to allow you to form your own opinion regarding investments. You should always check with your licensed financial advisor and tax advisor to determine the suitability of any investment. Any and all information discussed is for educational and informational purposes only and should not be considered tax, legal or investment advice. A referral to a stock, commodity, cryptocurrency is not an indication to buy or sell that stock, commodity or cryptocurrency.

 

MOJO Day Trading may publish testimonials or descriptions of past performance but these results are NOT typical, are not indicative of future results or performance, and are not intended to be a representation, warranty or guarantee that similar results will be obtained by you. Michael Rich’s experience with trading is not typical, nor is the experience of students featured in testimonials. They are experienced traders. Becoming an experienced trader takes hard work, dedication and a significant amount of time. Your results may differ materially from those expressed or utilized by MOJO Day Trading due to a number of factors. We do not track the typical results of our current or past students. As a provider of educational courses, we do not have access to the personal trading accounts or brokerage statements of our customers. 

 

Please note: Hypothetical computer simulated performance results are believed to be accurately presented. However, they are not guaranteed as to accuracy or completeness and are subject to change without any notice. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Since, also, the trades have not actually been executed; the results may have been under or over compensated for the impact, if any, of certain market factors such as liquidity, slippage and commissions. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any portfolio will, or is likely to achieve profits or losses similar to those shown. All investments and trades carry risks.

 

If you do not agree with any term or provision of our Terms and Conditions you should not use our Site, Services, Content or Information. Please be advised that your continued use of the Site, Services, Content, or Information provided shall indicate your consent and agreement to our Terms and Conditions.  

 

Copyright (c) MOJO Day Trading, LLC. 2012-2023. All Rights Reserved. No part of this presentation, webinar or any of its contents may be reproduced, copied, modified or adapted.

This does not represent our full Disclaimer. Please read our complete disclaimer
 

bottom of page