uaktags / explorer

An open source block explorer
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

Add hashrate chart #46

Open minkcrypto-zz opened 5 years ago

minkcrypto-zz commented 5 years ago

Some example: http://explorer.gainercoin.com/

related issue: https://github.com/iquidus/explorer/issues/134

it may be possible to add highcharts with some db collection.

uaktags commented 5 years ago

I've yet to find an actual repo that had this functionality (noone seems to do pull req back to Iquidus anymore) This will require some from jobs and tracking of difficulty. Unfortunately there won't be any historical info since it's not a thing that can be queried on the blockchain, but atleast giving from the time you started the explorer should be doable

minkcrypto-zz commented 5 years ago

Maybe we should create a new collection DB for explorer?

uaktags commented 5 years ago

Yea, it would def be a new collection. But that's what I mean. The new collection would be needed, a new Cron job (unless we tie it into the index), etc.

The idea though would be for expandability. If we do this, we should def expand it for hashrate, block-rate (x blocks found in last x time), transactions, etc. Something so that any coun could use charts as desired.