create account

Is there a major issue with the Ethereum network? Tl:dr ... YES! by netuoso

View this thread on: hive.blogpeakd.comecency.com
· @netuoso ·
$1.42
Is there a major issue with the Ethereum network? Tl:dr ... YES!
# *"Is Ethereum broken?"*

![shocked.jpg](https://steemitimages.com/DQmd4i3RiDDSN6WBgiQzKREokwxAPzuSkdJXPbJRByVqb1M/shocked.jpg)

I wouldn't go that far, however I do believe there is a massive problem with the logic with how Ethereum miners are choosing which transactions to add to the blocks they mine. With the recent flood of [Initial Coin Offerings (ICOs)](https://en.wikipedia.org/wiki/Initial_coin_offering) to the market, we have seen faulty transactions clogging the entire Ethereum network.

To really understand how we can improve the network, we first need to understand how miners prioritize which transactions to include in blocks.

If we check out the [source code of go-ethereum/miner/worker.go](https://github.com/ethereum/go-ethereum/blob/master/miner/worker.go#L441), we can find this bit of code inside a function named `commitNewWork`:

```go
	pending, err := self.eth.TxPool().Pending()
	if err != nil {
		log.Error("Failed to fetch pending transactions", "err", err)
		return
	}
>>	txs := types.NewTransactionsByPriceAndNonce(pending)
	work.commitTransactions(self.mux, txs, self.chain, self.coinbase)

	self.eth.TxPool().RemoveBatch(work.failedTxs)
```

This shows us that valid transactions will be chosen and sorted through a function named `NewTransactionsByPriceAndNonce` before being committed to the work (or, *added to the block*). In my personal opinion, we should go a step further and **implement a function that would be able to read a set of "rules" from a smart contract** and ensure only valid transactions will be added to the work. *(It is trivial to determine if the destination address of a transaction is a smart contract.)*

The process would involved standardizing a smart contract method that would return the **max gas price**, **suggested gas limit**, and an **encrypted blob of whitelisted/owner addresses**. Potentially even a subset of max gas price and suggested gas limit for whitelisted/owner addresses inside the encrypted blob because admins often need to be able to trigger certain actions in the smart contract.

If ICO contracts were **REQUIRED** to contain a "rules" method to be acknowledged by the miners, they would **immediately** comply. With a simple alteration, we would be able to properly ensure that ICOs did not have such a drastic effect on the Ethereum network as a whole.

At the same time of saving the network from congestion for users not even participating in ICOs, this would also potentially save millions of dollars of from being wasted on burned gas for useless transactions. We have to consider the massive impact that ripples through this ecosystem when it takes 10 hours to get a transaction to get listed as "pending" and not even go through. These issues extend to every single user of the network, to every single application relying on deposits/withdrawals, and any transaction carrying data.

# Something has to be done!!!

![breakingpoint.jpg](https://steemitimages.com/DQmeaCFeBZ71J4qoCiBSeDFsnV5jTUpaa2NrRs26X7DnXPz/breakingpoint.jpg)

I am hoping to inspire some discussion about the subject and, of course, *I am willing to put my code where my mouth is!*

**TL:DR; Add a method to Ethereum miner code to check the validity of a transaction destined to a smart contract by first querying the smart contract for the "rules"**

(If Ethereum's network is clogged, it affects the transfer of ERC20 tokens such as STEEM .. it is in your best interest to help get the word out so the Ethereum developers will help speed things along)
👍  , , , , , , , , ,
properties (23)
authornetuoso
permlinkis-there-a-major-issue-with-the-ethereum-network-tl-dr-yes
categorycryptocurrency
json_metadata{"tags":["cryptocurrency","ethereum","mining","steemit","blog"],"image":["https://steemitimages.com/DQmd4i3RiDDSN6WBgiQzKREokwxAPzuSkdJXPbJRByVqb1M/shocked.jpg","https://steemitimages.com/DQmeaCFeBZ71J4qoCiBSeDFsnV5jTUpaa2NrRs26X7DnXPz/breakingpoint.jpg"],"links":["https://en.wikipedia.org/wiki/Initial_coin_offering","https://github.com/ethereum/go-ethereum/blob/master/miner/worker.go#L441"],"app":"steemit/0.1","format":"markdown"}
created2017-06-21 00:46:33
last_update2017-06-21 00:46:33
depth0
children4
last_payout2017-06-28 00:46:33
cashout_time1969-12-31 23:59:59
total_payout_value1.238 HBD
curator_payout_value0.181 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,523
author_reputation151,901,967,807,285
root_title"Is there a major issue with the Ethereum network? Tl:dr ... YES!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,432,835
net_rshares94,877,855,610
author_curate_reward""
vote details (10)
@bingopinball · (edited)
Seriously, what the hell? There was a moment whereby I was watching Ethereum go down in price and thought what gives. I did a web search and found that there were heaps of articles and people complaining about the programming that was initially done with Ethereum (ETH). The more I looked the more problems I found and nothing on resolving this fundamental horrendous flaw. If you go to the ETH forums and look at this page:
https://forum.ethereum.org/categories/general
You will see that this is riddled with ETH being hacked, Security Alerts, DAO Attacks, database compromise, DoS attacks etc. All of this synced with negative media reports going back years to the same effect. I recall reading a forum post to the major flaws in the ETH program blockchain, highly technical analysis's, with people saying that this will never be able to be fixed due to the core error of ETH. So, the attacks in the flaws and vulnerabilities continue, which are plastered on the forums and all you can see from the up and coming events of ETH is some general meeting in a few months, all of which making no mention of the gigantic issues. What I have seen from the Crypto market is that fundamentally people are trading objects and their is much corruption and coverup. Crypto enthusiasts are aware of this and thus what your read on forums as well as taking the mickey out of the alt coin scene with send ups like (SHT) i.e. Sh.tcoin etc. With Billions of dollars that are associated with the crypto scene, it's very clear that there is a continued coverup relating to ETH, ICO"s, hacking, corruption with exchanges etc, etc, etc.
properties (22)
authorbingopinball
permlinkre-netuoso-is-there-a-major-issue-with-the-ethereum-network-tl-dr-yes-20170810t124947750z
categorycryptocurrency
json_metadata{"tags":["cryptocurrency"],"links":["https://forum.ethereum.org/categories/general"],"app":"steemit/0.1"}
created2017-08-10 12:49:51
last_update2017-08-10 12:50:57
depth1
children0
last_payout2017-08-17 12:49:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,617
author_reputation59,349,736
root_title"Is there a major issue with the Ethereum network? Tl:dr ... YES!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,388,144
net_rshares0
@grizgal ·
$0.11
Agreed.  It is still very young.  However, there is so much money tied up in crypto these days.  People are blindly buying without fully understanding the risks involved.  I am sure the issues will be resolved but if people cant sell during a crash, it will create very bad press for all cryptos!
👍  
properties (23)
authorgrizgal
permlinkre-netuoso-is-there-a-major-issue-with-the-ethereum-network-tl-dr-yes-20170621t064758782z
categorycryptocurrency
json_metadata{"tags":["cryptocurrency"],"app":"steemit/0.1"}
created2017-06-21 06:48:03
last_update2017-06-21 06:48:03
depth1
children0
last_payout2017-06-28 06:48:03
cashout_time1969-12-31 23:59:59
total_payout_value0.082 HBD
curator_payout_value0.027 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length296
author_reputation2,658,909,943,160
root_title"Is there a major issue with the Ethereum network? Tl:dr ... YES!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,464,410
net_rshares7,867,133,191
author_curate_reward""
vote details (1)
@raptorman ·
$0.92
Ah, it was doing so well.  Sad to see them have issues
👍  ,
properties (23)
authorraptorman
permlinkre-netuoso-is-there-a-major-issue-with-the-ethereum-network-tl-dr-yes-20170621t004724976z
categorycryptocurrency
json_metadata{"tags":["cryptocurrency"],"app":"steemit/0.1"}
created2017-06-21 00:47:18
last_update2017-06-21 00:47:18
depth1
children1
last_payout2017-06-28 00:47:18
cashout_time1969-12-31 23:59:59
total_payout_value0.866 HBD
curator_payout_value0.058 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length54
author_reputation491,790,050,933
root_title"Is there a major issue with the Ethereum network? Tl:dr ... YES!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,432,923
net_rshares61,849,477,805
author_curate_reward""
vote details (2)
@netuoso ·
$0.93
I think the issues will be resolved. The network is still in its infancy.
👍  
properties (23)
authornetuoso
permlinkre-raptorman-re-netuoso-is-there-a-major-issue-with-the-ethereum-network-tl-dr-yes-20170621t021101214z
categorycryptocurrency
json_metadata{"tags":["cryptocurrency"],"app":"steemit/0.1"}
created2017-06-21 02:11:00
last_update2017-06-21 02:11:00
depth2
children0
last_payout2017-06-28 02:11:00
cashout_time1969-12-31 23:59:59
total_payout_value0.925 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length73
author_reputation151,901,967,807,285
root_title"Is there a major issue with the Ethereum network? Tl:dr ... YES!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,440,394
net_rshares62,193,450,361
author_curate_reward""
vote details (1)