MyEtherWallet / etherwallet

https://vintage.myetherwallet.com
MIT License
2.34k stars 1.72k forks source link

Feature request: Warn user about blockchain congestion #599

Open fortran77 opened 7 years ago

fortran77 commented 7 years ago

There have been a few incidents of blockchain overloading caused by ICOs, when transactions failed or remained pending for many hours. Right now, for example, a Status ICO has maxed out the Etherum blockchain and nothing is getting through.

When a transaction has been broadcast by MyEtherWallet, but doesn't show up on etherscan.io, it's hard for us users to know what to do. Should we patiently wait many hours and see if it appears? Or should we retry and risk duplication?

The feature request here is: If there were some way for MyEtherWallet to detect when the blockchain is more congested than usual, it could warn the user. Then the user can simply wait until the congestion is over, and be assured that the transaction will be handled normally.

tayvano commented 7 years ago

I'm all ears.

Anyone have any ideas on how to figure out how to track transactions in the various tx pools?

Anyone built an open API that outputs number of pending transactions?

Would gladly put counter that goes from green -> red based on that number. No idea best way to do it though.

fortran77 commented 7 years ago

There is a web page https://etherscan.io/txsPending that shows a count of pending transactions. I don't see this information available in their API at https://etherscan.io/apis, maybe because they didn't expect it to be ever needed via an API. Perhaps they would add it if requested by MEW authors.

crptm commented 7 years ago

Median wait (if accurate) from ethgasstation is a good metric.

tayvano commented 7 years ago

Related: #632