User Tools

Site Tools


dido:public:ra:xapend:n_gas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dido:public:ra:xapend:n_gas [2022/06/01 13:40]
nick
dido:public:ra:xapend:n_gas [2022/06/07 16:35] (current)
nick
Line 5: Line 5:
 [[dido:​public:​ra:​xapend:​n_gas | Return to Top]] [[dido:​public:​ra:​xapend:​n_gas | Return to Top]]
  
-Some of the most important ​things to remember about DIDOs are:+Some of the most important ​aspects of a DIDOs are:
  
   * The data is immutable and every update takes more storage   * The data is immutable and every update takes more storage
   * They are distributed and all the nodes in the system must ultimately get the same results from calculations   * They are distributed and all the nodes in the system must ultimately get the same results from calculations
   * The data is distributed across all the nodes and must be kept in sync across all the nodes   * The data is distributed across all the nodes and must be kept in sync across all the nodes
-  * There is a cost to using the distributed resources+  ​* There needs to be an assurance of data correctness 
 +  * The Data needs to be secure during Data-at-Rest,​ Data-in-Motion,​ and Data-in-Use 
 +  * __<color darkblue>​**There is a cost to using the distributed resources**</​color>​__ 
 + 
 +Most of these can be achieved as part of a DIDO Platform such as Ethereum. In this section, the focus is on the last item, __<color darkblue>//​**"​There is a cost to using the distributed resources**//</​color>​__. This requires a method for remuneration for all the work required to make the DIDO function. In Ethereum and in many other DIDO Platforms, this is achieved using the concept of Gas. 
 + 
 +The purpose of gas is to provide a "value layer" providing a way to recapture the computational costs of running and maintaining the DIDO Platform and its Node Network (i.e., Ethereum Platform and Ethereum Network). Unfortunately,​ the analogy used to describe how such a system would work was also used as the name of the value only adding to the confusion and leading to ambiguity.  
 + 
 +The unfortunate analogy used is between the cost of running a gasoline car over a certain distance and the cost of running a transaction over a certain network. Here is the example often quoted:  
 +  : //running a real-world car for X miles may require Y gallons of fuel, or moving X amount of money from your bank account to your friend’s credit card account may cost you Y dollars in a processing fee. In both cases, X indicates the utility value, while Y indicates the cost of performing the process of the car trip or financial transaction.//​ (( 
 +Jake Frankenfield,​ 
 +Investopedia,​ 
 +__Gas (Ethereum)__,​ 
 +20 May 2022, 
 +Accessed 2 June 2022 
 +[[https://​www.investopedia.com/​terms/​g/​gas-ethereum.asp]] 
 +)) 
 + 
 +Although the car analogy is useful in explaining how simplistically the "value layer" operates, using the exact same terminology leads to inconsistencies and constraints in moving forward.  
 + 
 +Regardless of how we got here, or how it could have been done differently,​ we are where we are and for better or worse, for now, we must use the terms given to us by Ethereum. Hopefully, future "value layer" propositions won't repeat the same nomenclature and taxonomy. 
 + 
 +^ Term  ^ Definition ^ 
 +^ Gas   | | 
 +^ Gas Limit | | 
 + 
 + 
 +<color Red> 
 +that solely indicates the consumption toward computational expenses on the Ethereum network. Having a separate unit for this purpose allows for a practical distinction between the actual valuation of the cryptocurrency (ETH), and the computational cost of using Ethereum'​s virtual machine (EVM). Here, gas refers to Ethereum network transaction fees, not the gasoline for your car. 
 + 
 +Gas fees are payments made by users to compensate for the computing energy required to process and validate transactions on the Ethereum blockchain. "Gas limit" refers to the maximum amount of gas (or energy) that you're willing to spend on a particular transaction. A higher gas limit means that you must do more work to execute a transaction using ETH or a smart contract. 
 + 
 +To draw an analogy, running a real-world car for X miles may require Y gallons of fuel, or moving X amount of money from your bank account to your friend’s credit card account may cost you Y dollars in a processing fee. In both cases, X indicates the utility value, while Y indicates the cost of performing the process of the car trip or financial transaction. 
 + 
 +Similarly, a contract or transaction on Ethereum may be worth 50 ETH (X), and the gas price to process this transaction at that particular time might be, say, 1/100,000 ETH (Y). 
 + 
 +Ethereum miners, who perform all the important tasks of verifying and processing transactions on the network, are awarded this particular fee in return for their computational services. If the gas price limit is too low, miners can choose to ignore such transactions. As such, the price of gas fluctuates (priced in ETH) with supply and demand for processing power.  
 +</​color>​ 
 + 
 + 
 +===== Gas Units =====
  
 On Ethereum, each low-level operation available in the [[https://​www.omgwiki.org/​dido/​doku.php?​id=dido:​public:​ra:​xapend:​xapend.a_glossary:​e:​evm | Ethereum Virtual Machine (EVM)]] is called an [[https://​www.omgwiki.org/​dido/​doku.php?​id=dido:​public:​ra:​xapend:​xapend.a_glossary:​o:​opcode | Operational Code (OPCODE)]]. There are OPCODES for the following categories(( On Ethereum, each low-level operation available in the [[https://​www.omgwiki.org/​dido/​doku.php?​id=dido:​public:​ra:​xapend:​xapend.a_glossary:​e:​evm | Ethereum Virtual Machine (EVM)]] is called an [[https://​www.omgwiki.org/​dido/​doku.php?​id=dido:​public:​ra:​xapend:​xapend.a_glossary:​o:​opcode | Operational Code (OPCODE)]]. There are OPCODES for the following categories((
dido/public/ra/xapend/n_gas.1654105201.txt.gz · Last modified: 2022/06/01 13:40 by nick