Three questionsParity on Windows 64bit QuestionsI want to clear out my idea of mining. Could someone verify and add missing concepts?Next to impossible to get a node syncedTwo out of three rigs having hard freezesSingle gpu mining on ethpool.org: payback questionsWould this three address Ethereum transaction be possible through Geth?How exactly is computation performed on EVM by every nodeTwo Questions Regarding the Plasma Side-Chain and Contract stuffError: VM Exception while processing transaction: revert due to require statementQuestions about blockchain

How can I ping multiple IP addresses at the same time?

Is this broken pipe the reason my freezer is not working? Can it be fixed?

Does cooling a potato change the nature of its carbohydrates?

How to ask if I can mow my neighbor's lawn

In a Fish that is not a Fish

How did the European Union reach the figure of 3% as a maximum allowed deficit?

Does knowing the surface area of all faces uniquely determine a tetrahedron?

Simplify, equivalent for (p ∨ ¬q) ∧ (¬p ∨ ¬q)

How to address players struggling with simple controls?

What is "dot" sign in •NO?

Is it possible to use just one shared folder for log shipping?

Does anyone recognize these rockets, and their location?

How to prevent cables getting intertwined

Is a sequel allowed to start before the end of the first book?

You may find me... puzzling

Do my partner and son need an SSN to be dependents on my taxes?

Is the infant mortality rate among African-American babies in Youngstown, Ohio greater than that of babies in Iran?

Why we can't jump without bending our knees?

I just entered the USA without passport control at Atlanta airport

How useful is the GRE Exam?

Why can't I craft scaffolding in Minecraft 1.14?

How to make a villain when your PCs are villains?

Build a scale without computer

Time at 1G acceleration to travel 100 000 light years



Three questions


Parity on Windows 64bit QuestionsI want to clear out my idea of mining. Could someone verify and add missing concepts?Next to impossible to get a node syncedTwo out of three rigs having hard freezesSingle gpu mining on ethpool.org: payback questionsWould this three address Ethereum transaction be possible through Geth?How exactly is computation performed on EVM by every nodeTwo Questions Regarding the Plasma Side-Chain and Contract stuffError: VM Exception while processing transaction: revert due to require statementQuestions about blockchain






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I have recently become interested in crypto and after much reading on Ethereum I still have three burning questions that perhaps some of you can help with. Apologies in advance as some of these might be extremely basic and/or make little sense due to some misconceptions I might have. Here they go:



  1. I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?


  2. If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?


  3. When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?


Thank you!










share|improve this question









New contributor



Álvaro Prat Hernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • I find that the best way to clear up confusion about these sorts of fundamental questions is to read the original bitcoin whitepaper. It is relatively accessible and really is critical to understand. Often people jump into Ethereum with this vague notion of a "world computer" and fundamental misunderstandings about the purpose of a blockchain that could be cleared up by going back to basics.

    – Tjaden Hess
    Jun 9 at 20:03


















1















I have recently become interested in crypto and after much reading on Ethereum I still have three burning questions that perhaps some of you can help with. Apologies in advance as some of these might be extremely basic and/or make little sense due to some misconceptions I might have. Here they go:



  1. I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?


  2. If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?


  3. When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?


Thank you!










share|improve this question









New contributor



Álvaro Prat Hernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • I find that the best way to clear up confusion about these sorts of fundamental questions is to read the original bitcoin whitepaper. It is relatively accessible and really is critical to understand. Often people jump into Ethereum with this vague notion of a "world computer" and fundamental misunderstandings about the purpose of a blockchain that could be cleared up by going back to basics.

    – Tjaden Hess
    Jun 9 at 20:03














1












1








1


1






I have recently become interested in crypto and after much reading on Ethereum I still have three burning questions that perhaps some of you can help with. Apologies in advance as some of these might be extremely basic and/or make little sense due to some misconceptions I might have. Here they go:



  1. I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?


  2. If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?


  3. When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?


Thank you!










share|improve this question









New contributor



Álvaro Prat Hernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have recently become interested in crypto and after much reading on Ethereum I still have three burning questions that perhaps some of you can help with. Apologies in advance as some of these might be extremely basic and/or make little sense due to some misconceptions I might have. Here they go:



  1. I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?


  2. If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?


  3. When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?


Thank you!







blockchain ether mining consensus






share|improve this question









New contributor



Álvaro Prat Hernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



Álvaro Prat Hernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited Jun 9 at 19:53









Rob Hitchens - B9lab

30.8k74586




30.8k74586






New contributor



Álvaro Prat Hernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked Jun 9 at 19:12









Álvaro Prat HernandoÁlvaro Prat Hernando

61




61




New contributor



Álvaro Prat Hernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Álvaro Prat Hernando is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • I find that the best way to clear up confusion about these sorts of fundamental questions is to read the original bitcoin whitepaper. It is relatively accessible and really is critical to understand. Often people jump into Ethereum with this vague notion of a "world computer" and fundamental misunderstandings about the purpose of a blockchain that could be cleared up by going back to basics.

    – Tjaden Hess
    Jun 9 at 20:03


















  • I find that the best way to clear up confusion about these sorts of fundamental questions is to read the original bitcoin whitepaper. It is relatively accessible and really is critical to understand. Often people jump into Ethereum with this vague notion of a "world computer" and fundamental misunderstandings about the purpose of a blockchain that could be cleared up by going back to basics.

    – Tjaden Hess
    Jun 9 at 20:03

















I find that the best way to clear up confusion about these sorts of fundamental questions is to read the original bitcoin whitepaper. It is relatively accessible and really is critical to understand. Often people jump into Ethereum with this vague notion of a "world computer" and fundamental misunderstandings about the purpose of a blockchain that could be cleared up by going back to basics.

– Tjaden Hess
Jun 9 at 20:03






I find that the best way to clear up confusion about these sorts of fundamental questions is to read the original bitcoin whitepaper. It is relatively accessible and really is critical to understand. Often people jump into Ethereum with this vague notion of a "world computer" and fundamental misunderstandings about the purpose of a blockchain that could be cleared up by going back to basics.

– Tjaden Hess
Jun 9 at 20:03











1 Answer
1






active

oldest

votes


















3














Your questions hint at some conceptual confusion. Fairly common misunderstandings.



"Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order. With deterministic contract functions (they are) and an agreed transaction order (consensus), each node runs transactions for themselves. They rely on no one else for their conclusions about the world state.




I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?




No.



PoW requires an incentive to encourage people to devote resources to the consensus process that helps secure the network. In PoW, the transaction fees are paid to the miner that finds a solution to a block. This is a competitive, adversarial process that uses the brute force of combined computing power to raise the threshold of raw power required to alter the course of the network.



Everyone (all full nodes) runs all transactions.




If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?




The answer is No, but this deserves clarification. They are being rewarded with mining rewards to find blocks while the transaction fees per block are relatively low (zero, at the start). Mining rewards have been and will likely be reduced over time, possibly to zero, when transaction fees are sufficient to motivate a robust mining network.



As you know, PoW is slated to be replaced by PoS that will change the arrangement entirely.




When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?




PoS and PoW do not help with running contracts. They collapse the ambiguity of transaction order. Transaction order is ambiguous because network latency ensures that nodes learn about pending transactions in different orders. Since no one's clock is any more trustworthy than anyone else's, and since a centralized time source would be a single point of failure (contrary to the idea of a decentralized system) another method is required to establish a consensus about the agreed transaction order.



PoS, PoW, et al, do not attempt to establish a correct order in temporal time. They are methods of reaching an agreement, a.k.a. consensus, about the de facto, canonical order. The blockchain is well-ordered set of blocks with each block containing a well-ordered set of transactions. In all, it is a well-ordered set of transactions. It is not the order the transactions were sent. It is the order the transactions were accepted and processed, and all nodes must process the transactions in this order to synchronize with the network.



With an agreed order of inputs and deterministic functions, each node is then able to construct, for itself, the world state. Each node runs each transaction in order the transactions were accepted by the network, per the consensus protocol.



It's somewhat similar to using a change log to reconstruct a copy of a database. It's not necessary to have a copy of the state if one has a well-ordered log of changes to the state.



PoW itself is a deliberately inefficient method, by design. It has certain properties such as blocktime, meaning annoucements about new blocks will arrive, on average, at a certain pace. It is not the only way to reach a consensus about the order of transactions. Alternatives make various tradeoffs, usually in favor of reducing waste, increasing speed and capacity and with different arguments about how the algorithm attempts to discourage centralization.



Non-miners/verifiers/minters are not really assisted in terms of actually running the contracts, but the network itself could, for example, go much faster if the blocks arrive at a faster pace or contain more work per block.



Have a look at this for a conceptual overview: https://www.youtube.com/watch?v=Za5lPKNV_Mk



Hope it helps.






share|improve this answer


















  • 1





    "Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order." This should be plastered on the top of every blockchain-related website

    – Tjaden Hess
    Jun 9 at 19:58











  • Thanks. You made my day. :-)

    – Rob Hitchens - B9lab
    Jun 9 at 20:07











  • Thanks very much for taking the time to explain!

    – Álvaro Prat Hernando
    Jun 10 at 20:33











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "642"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Álvaro Prat Hernando is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f71648%2fthree-questions%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














Your questions hint at some conceptual confusion. Fairly common misunderstandings.



"Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order. With deterministic contract functions (they are) and an agreed transaction order (consensus), each node runs transactions for themselves. They rely on no one else for their conclusions about the world state.




I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?




No.



PoW requires an incentive to encourage people to devote resources to the consensus process that helps secure the network. In PoW, the transaction fees are paid to the miner that finds a solution to a block. This is a competitive, adversarial process that uses the brute force of combined computing power to raise the threshold of raw power required to alter the course of the network.



Everyone (all full nodes) runs all transactions.




If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?




The answer is No, but this deserves clarification. They are being rewarded with mining rewards to find blocks while the transaction fees per block are relatively low (zero, at the start). Mining rewards have been and will likely be reduced over time, possibly to zero, when transaction fees are sufficient to motivate a robust mining network.



As you know, PoW is slated to be replaced by PoS that will change the arrangement entirely.




When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?




PoS and PoW do not help with running contracts. They collapse the ambiguity of transaction order. Transaction order is ambiguous because network latency ensures that nodes learn about pending transactions in different orders. Since no one's clock is any more trustworthy than anyone else's, and since a centralized time source would be a single point of failure (contrary to the idea of a decentralized system) another method is required to establish a consensus about the agreed transaction order.



PoS, PoW, et al, do not attempt to establish a correct order in temporal time. They are methods of reaching an agreement, a.k.a. consensus, about the de facto, canonical order. The blockchain is well-ordered set of blocks with each block containing a well-ordered set of transactions. In all, it is a well-ordered set of transactions. It is not the order the transactions were sent. It is the order the transactions were accepted and processed, and all nodes must process the transactions in this order to synchronize with the network.



With an agreed order of inputs and deterministic functions, each node is then able to construct, for itself, the world state. Each node runs each transaction in order the transactions were accepted by the network, per the consensus protocol.



It's somewhat similar to using a change log to reconstruct a copy of a database. It's not necessary to have a copy of the state if one has a well-ordered log of changes to the state.



PoW itself is a deliberately inefficient method, by design. It has certain properties such as blocktime, meaning annoucements about new blocks will arrive, on average, at a certain pace. It is not the only way to reach a consensus about the order of transactions. Alternatives make various tradeoffs, usually in favor of reducing waste, increasing speed and capacity and with different arguments about how the algorithm attempts to discourage centralization.



Non-miners/verifiers/minters are not really assisted in terms of actually running the contracts, but the network itself could, for example, go much faster if the blocks arrive at a faster pace or contain more work per block.



Have a look at this for a conceptual overview: https://www.youtube.com/watch?v=Za5lPKNV_Mk



Hope it helps.






share|improve this answer


















  • 1





    "Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order." This should be plastered on the top of every blockchain-related website

    – Tjaden Hess
    Jun 9 at 19:58











  • Thanks. You made my day. :-)

    – Rob Hitchens - B9lab
    Jun 9 at 20:07











  • Thanks very much for taking the time to explain!

    – Álvaro Prat Hernando
    Jun 10 at 20:33















3














Your questions hint at some conceptual confusion. Fairly common misunderstandings.



"Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order. With deterministic contract functions (they are) and an agreed transaction order (consensus), each node runs transactions for themselves. They rely on no one else for their conclusions about the world state.




I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?




No.



PoW requires an incentive to encourage people to devote resources to the consensus process that helps secure the network. In PoW, the transaction fees are paid to the miner that finds a solution to a block. This is a competitive, adversarial process that uses the brute force of combined computing power to raise the threshold of raw power required to alter the course of the network.



Everyone (all full nodes) runs all transactions.




If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?




The answer is No, but this deserves clarification. They are being rewarded with mining rewards to find blocks while the transaction fees per block are relatively low (zero, at the start). Mining rewards have been and will likely be reduced over time, possibly to zero, when transaction fees are sufficient to motivate a robust mining network.



As you know, PoW is slated to be replaced by PoS that will change the arrangement entirely.




When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?




PoS and PoW do not help with running contracts. They collapse the ambiguity of transaction order. Transaction order is ambiguous because network latency ensures that nodes learn about pending transactions in different orders. Since no one's clock is any more trustworthy than anyone else's, and since a centralized time source would be a single point of failure (contrary to the idea of a decentralized system) another method is required to establish a consensus about the agreed transaction order.



PoS, PoW, et al, do not attempt to establish a correct order in temporal time. They are methods of reaching an agreement, a.k.a. consensus, about the de facto, canonical order. The blockchain is well-ordered set of blocks with each block containing a well-ordered set of transactions. In all, it is a well-ordered set of transactions. It is not the order the transactions were sent. It is the order the transactions were accepted and processed, and all nodes must process the transactions in this order to synchronize with the network.



With an agreed order of inputs and deterministic functions, each node is then able to construct, for itself, the world state. Each node runs each transaction in order the transactions were accepted by the network, per the consensus protocol.



It's somewhat similar to using a change log to reconstruct a copy of a database. It's not necessary to have a copy of the state if one has a well-ordered log of changes to the state.



PoW itself is a deliberately inefficient method, by design. It has certain properties such as blocktime, meaning annoucements about new blocks will arrive, on average, at a certain pace. It is not the only way to reach a consensus about the order of transactions. Alternatives make various tradeoffs, usually in favor of reducing waste, increasing speed and capacity and with different arguments about how the algorithm attempts to discourage centralization.



Non-miners/verifiers/minters are not really assisted in terms of actually running the contracts, but the network itself could, for example, go much faster if the blocks arrive at a faster pace or contain more work per block.



Have a look at this for a conceptual overview: https://www.youtube.com/watch?v=Za5lPKNV_Mk



Hope it helps.






share|improve this answer


















  • 1





    "Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order." This should be plastered on the top of every blockchain-related website

    – Tjaden Hess
    Jun 9 at 19:58











  • Thanks. You made my day. :-)

    – Rob Hitchens - B9lab
    Jun 9 at 20:07











  • Thanks very much for taking the time to explain!

    – Álvaro Prat Hernando
    Jun 10 at 20:33













3












3








3







Your questions hint at some conceptual confusion. Fairly common misunderstandings.



"Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order. With deterministic contract functions (they are) and an agreed transaction order (consensus), each node runs transactions for themselves. They rely on no one else for their conclusions about the world state.




I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?




No.



PoW requires an incentive to encourage people to devote resources to the consensus process that helps secure the network. In PoW, the transaction fees are paid to the miner that finds a solution to a block. This is a competitive, adversarial process that uses the brute force of combined computing power to raise the threshold of raw power required to alter the course of the network.



Everyone (all full nodes) runs all transactions.




If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?




The answer is No, but this deserves clarification. They are being rewarded with mining rewards to find blocks while the transaction fees per block are relatively low (zero, at the start). Mining rewards have been and will likely be reduced over time, possibly to zero, when transaction fees are sufficient to motivate a robust mining network.



As you know, PoW is slated to be replaced by PoS that will change the arrangement entirely.




When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?




PoS and PoW do not help with running contracts. They collapse the ambiguity of transaction order. Transaction order is ambiguous because network latency ensures that nodes learn about pending transactions in different orders. Since no one's clock is any more trustworthy than anyone else's, and since a centralized time source would be a single point of failure (contrary to the idea of a decentralized system) another method is required to establish a consensus about the agreed transaction order.



PoS, PoW, et al, do not attempt to establish a correct order in temporal time. They are methods of reaching an agreement, a.k.a. consensus, about the de facto, canonical order. The blockchain is well-ordered set of blocks with each block containing a well-ordered set of transactions. In all, it is a well-ordered set of transactions. It is not the order the transactions were sent. It is the order the transactions were accepted and processed, and all nodes must process the transactions in this order to synchronize with the network.



With an agreed order of inputs and deterministic functions, each node is then able to construct, for itself, the world state. Each node runs each transaction in order the transactions were accepted by the network, per the consensus protocol.



It's somewhat similar to using a change log to reconstruct a copy of a database. It's not necessary to have a copy of the state if one has a well-ordered log of changes to the state.



PoW itself is a deliberately inefficient method, by design. It has certain properties such as blocktime, meaning annoucements about new blocks will arrive, on average, at a certain pace. It is not the only way to reach a consensus about the order of transactions. Alternatives make various tradeoffs, usually in favor of reducing waste, increasing speed and capacity and with different arguments about how the algorithm attempts to discourage centralization.



Non-miners/verifiers/minters are not really assisted in terms of actually running the contracts, but the network itself could, for example, go much faster if the blocks arrive at a faster pace or contain more work per block.



Have a look at this for a conceptual overview: https://www.youtube.com/watch?v=Za5lPKNV_Mk



Hope it helps.






share|improve this answer













Your questions hint at some conceptual confusion. Fairly common misunderstandings.



"Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order. With deterministic contract functions (they are) and an agreed transaction order (consensus), each node runs transactions for themselves. They rely on no one else for their conclusions about the world state.




I understand that, when running code on the Ethereum network, transaction fees are paid in gas. Are these fees paid directly to those who commit their computational resources to running this code? Are these people what you call “miners”?




No.



PoW requires an incentive to encourage people to devote resources to the consensus process that helps secure the network. In PoW, the transaction fees are paid to the miner that finds a solution to a block. This is a competitive, adversarial process that uses the brute force of combined computing power to raise the threshold of raw power required to alter the course of the network.



Everyone (all full nodes) runs all transactions.




If the answer to the above is yes, why does new Ether have to be created to reward these miners at all? Aren’t they getting rewarded by the fees?




The answer is No, but this deserves clarification. They are being rewarded with mining rewards to find blocks while the transaction fees per block are relatively low (zero, at the start). Mining rewards have been and will likely be reduced over time, possibly to zero, when transaction fees are sufficient to motivate a robust mining network.



As you know, PoW is slated to be replaced by PoS that will change the arrangement entirely.




When people talk about Ethereum moving from PoW to PoS, how exactly would PoS help in running these smart contracts? I was under the impression that under Ethereum’s PoW, miners commit their resources to running smart contracts, so who would run these under PoS?




PoS and PoW do not help with running contracts. They collapse the ambiguity of transaction order. Transaction order is ambiguous because network latency ensures that nodes learn about pending transactions in different orders. Since no one's clock is any more trustworthy than anyone else's, and since a centralized time source would be a single point of failure (contrary to the idea of a decentralized system) another method is required to establish a consensus about the agreed transaction order.



PoS, PoW, et al, do not attempt to establish a correct order in temporal time. They are methods of reaching an agreement, a.k.a. consensus, about the de facto, canonical order. The blockchain is well-ordered set of blocks with each block containing a well-ordered set of transactions. In all, it is a well-ordered set of transactions. It is not the order the transactions were sent. It is the order the transactions were accepted and processed, and all nodes must process the transactions in this order to synchronize with the network.



With an agreed order of inputs and deterministic functions, each node is then able to construct, for itself, the world state. Each node runs each transaction in order the transactions were accepted by the network, per the consensus protocol.



It's somewhat similar to using a change log to reconstruct a copy of a database. It's not necessary to have a copy of the state if one has a well-ordered log of changes to the state.



PoW itself is a deliberately inefficient method, by design. It has certain properties such as blocktime, meaning annoucements about new blocks will arrive, on average, at a certain pace. It is not the only way to reach a consensus about the order of transactions. Alternatives make various tradeoffs, usually in favor of reducing waste, increasing speed and capacity and with different arguments about how the algorithm attempts to discourage centralization.



Non-miners/verifiers/minters are not really assisted in terms of actually running the contracts, but the network itself could, for example, go much faster if the blocks arrive at a faster pace or contain more work per block.



Have a look at this for a conceptual overview: https://www.youtube.com/watch?v=Za5lPKNV_Mk



Hope it helps.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 9 at 19:53









Rob Hitchens - B9labRob Hitchens - B9lab

30.8k74586




30.8k74586







  • 1





    "Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order." This should be plastered on the top of every blockchain-related website

    – Tjaden Hess
    Jun 9 at 19:58











  • Thanks. You made my day. :-)

    – Rob Hitchens - B9lab
    Jun 9 at 20:07











  • Thanks very much for taking the time to explain!

    – Álvaro Prat Hernando
    Jun 10 at 20:33












  • 1





    "Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order." This should be plastered on the top of every blockchain-related website

    – Tjaden Hess
    Jun 9 at 19:58











  • Thanks. You made my day. :-)

    – Rob Hitchens - B9lab
    Jun 9 at 20:07











  • Thanks very much for taking the time to explain!

    – Álvaro Prat Hernando
    Jun 10 at 20:33







1




1





"Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order." This should be plastered on the top of every blockchain-related website

– Tjaden Hess
Jun 9 at 19:58





"Consensus" is not about the results of transactions or contracts. It's mainly about disambiguating transaction order." This should be plastered on the top of every blockchain-related website

– Tjaden Hess
Jun 9 at 19:58













Thanks. You made my day. :-)

– Rob Hitchens - B9lab
Jun 9 at 20:07





Thanks. You made my day. :-)

– Rob Hitchens - B9lab
Jun 9 at 20:07













Thanks very much for taking the time to explain!

– Álvaro Prat Hernando
Jun 10 at 20:33





Thanks very much for taking the time to explain!

– Álvaro Prat Hernando
Jun 10 at 20:33










Álvaro Prat Hernando is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Álvaro Prat Hernando is a new contributor. Be nice, and check out our Code of Conduct.












Álvaro Prat Hernando is a new contributor. Be nice, and check out our Code of Conduct.











Álvaro Prat Hernando is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Ethereum Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f71648%2fthree-questions%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form