mining - How does Ethereum work as a decentralized computing platform? - Ethereum Stack Exchange

Posted by Someone 2025.01.09 10:49  •  Comments (64)  • 

Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company, and our products

current community

Ethereum help chat Ethereum Meta

your communities

Sign up or log in to customize your list.

more stack exchange communities

company blog Log in Sign up Home Questions Tags Users Jobs Companies Unanswered Teams

Ask questions, find answers and collaborate at work with Stack Overflow for Teams.

Try Teams for free Explore Teams Teams

Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

How does Ethereum work as a decentralized computing platform?

Ask Question Asked 7 years, 8 months ago Modified 7 years, 8 months ago Viewed 646 times 3

As far as I understand, gas is paid out to the miners, but every node in the network runs each and every contract that is submitted to the blockchain. Doesn't this mean that other ethereum nodes are running lots of code for free? Also if every node is running all of the code all of the time, doesn't that mean that the combined computing power of ethereum is equal to that of just one computer?

If this is truly the case, then why is it being talked about as if it could replace things like AWS? If this is not the case, then how is the result of running a smart contract verified?

All of the resources I've been able to find on Ethereum are very hard to follow especially regarding this question.

mining contract-deployment Share Improve this question Follow asked May 8, 2017 at 4:19 JacKeown JacKeown 133 4 4 bronze badges Add a comment |

2 Answers 2

Sorted by: Reset to default Highest score (default) Date modified (newest first) Date created (oldest first) 2

Doesn't that mean that the combined computing power of ethereum is equal to that of just one computer?

Yes.

From Reddit, Ethereum: web 3.0 or 1999 smartphone, which is it? Or is it somehow both?

@linagee answered:

The most trustworthy computer in the world does not need to go faster than a 1999 smartphone, because nothing like it exists. Existing blockchains are like a calculator compared to Ethereum.

(You could construct a network where every node is doing different problems, but then they don't have a consensus on the answers they generate. You'd have recreated centralization.)

tl;dr: If you had a knob that at one end said speed and the other end said trust, this would be cranked to 11 at trust.

The Ethereum computer is about trust, not about how fast it can compute or how much data it can store.

Smart contracts are verified by running it through the Ethereum Virtual Machine, which is precisely defined.

Share Improve this answer Follow edited May 8, 2017 at 9:37 answered May 8, 2017 at 9:32 eth eth 86.5k 54 54 gold badges 287 287 silver badges 411 411 bronze badges Add a comment | 0

you actually ask multiple questions, so let me start with the gas question:

I have the same understanding, that gas is paid out to whoever mines a transaction/contract. As well, when a contract is successfully mined, it's globally available across all nodes (turing-completeness).

The point I do not get from your question is why nodes should run code for free? Everytime a contract is used, their users have to pay for that usage in the form of gas (to be converted from ether).

The idea of gas was implemented to counter infinite loops and DOS-attacks resulting in having to pay for execution (and there are more reasons to it).

On the question of "combined computing power" you have to help me out with your definition of "computing power". What do you mean exactly? CPU? Memory? Storage? APIs?

What is your thinking behind the verification of running smart contracts with regards to AWS?

Sorry for asking questions on your questions, but to me they are rather open :)

Share Improve this answer Follow answered May 8, 2017 at 6:54 Borinho Borinho 544 2 2 silver badges 12 12 bronze badges Add a comment |

Not the answer you're looking for? Browse other questions tagged mining contract-deployment or ask your own question .

The Overflow Blog WBIT #2: Memories of persistence and the state of state Failing fast at scale: Rapid prototyping at Intuit Featured on Meta The December 2024 Community Asks Sprint has been moved to March 2025 (and

Related

5 Mining on an AWS spot instance 11 What does it mean that the next DAG is in X days? 0 Can one receive (fractions of) ETH by simply running Mist? 1 If the execution of a smart contract requires sending ether to some account, do all full nodes do so when validating a mined block with that contract? 2 Validation of Smart Contract execution in Ethereum 1 Three questions 3 How does Ethereum prevents a node from mining a block with tempered transaction? 0 Is it possible to earn income by doing work on some aspect of Ethereum beyond running a node?

Hot Network Questions

How to improve that plot of the logarithm of a Blaschke product in the unit disk? Keeping meat frozen outside in 20 degree weather Can I add a wood burning stove to radiant heat boiler system? How do I get the drain plug out of the sink? How will capacitors C1 and C2 charge in this circuit? Will the first Mars mission force the space laundry question? How often are PhD defenses in France rejected? Willow quantum chip Which French word for scarf is the most typical? Pancakes: Avoiding the spider batch Is AC/DC Analysis Just an Application of Superposition Theorem? Are there finitely many or infinitely non-trivial numbers that have this property that 2025 famously has? Is there a way to confirm your Alipay works before arriving in China? Did the term irrational number initially have any derogatory intent? Is 1/2 pipe adequate for supplies inside a home? My team's PTO was restricted. What is the best way to proceed with getting this in writing? Heaven and earth have not passed away, so how are Christians no longer under the law, but under grace? How big would a bird have to be to carry a human if gravity were halved? What to do when one gets a decimal value as degrees of freedom? Methods to reduce the tax burden on dividends? How to use macOS find with a regex pattern? Is a cold roof meant to cause draughts into the living space? Please help with identify SF movie from the 1980s/1990s with a woman being put into a transparent iron maiden Remove a loop, adding a new dependency or having two loops more hot questions Question feed

Subscribe to RSS

Question feed

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Ethereum
Tour Help Chat Contact Feedback
Company
Stack Overflow Teams Advertising Talent About Press Legal Privacy Policy Terms of Service Cookie Settings Cookie Policy
Stack Exchange Network
Technology Culture & recreation Life & arts Science Professional Business API Data Blog Facebook Twitter LinkedIn Instagram

Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2025.1.7.20880