metaspartan / explorer

Ethereum Block Explorer (ETHExplorer V2) - Realtime Price Ticker, Shapeshift.io Integration, etc. (Project is currently not under active development, if you have a bug fix, please open a PR) My current project can be found at https://github.com/metaspartan/denarius (D a better cryptocurrency than ETH)
Other
486 stars 330 forks source link

Difficulty is not displayed properly #18

Open nuliknol opened 6 years ago

nuliknol commented 6 years ago

I am working on a private net, and the difficulty is shown as:

0.000 T

instead of 134240

Where do I modify the sources to remove your difficulty formatting so I could see the real difficulty ?

Gas Used is also 0.. This probably isn't true. Were is in the source code does this gas used calculation go ? I want to verify if you scale it or not. If not, then the 0 is okay.

Thanks p.s. if you can add a tooltip with real difficulty this would be nice

sthnaqvi commented 6 years ago

hi your issue had resolve on fork repo - https://github.com/sthnaqvi/ethereum-blockchain-explorer

difficulty will always show when it's in kiloHash/solution, MegaHash/solution, GigaHash/solution, TeraHash/solution or PetaHash/solution and also fixed hashRate You can clone all changes from my my fork repo https://github.com/sthnaqvi/ethereum-blockchain-explorer