gnosischain/gbc-explorer

Daily Statistics for validator does not work

akolotov opened this issue · 1 comments

The "Daily Statistics" page accessible by http://u.r.l/validator/<index>/stats (or from a particular validator page) does not display any information.

I am not totally sure that I understood the problem correctly, but it seems that the module responsible for updating statistics is just a different binary that may be run as
./bin/statistics --config config.yml.

Running the binary in parallel to explorer updates tables responsible for statistics, and the page accessible by http://u.r.l/validator/<index>/stats starts to display the daily data. Furthermore, the Daily Income chart is beginning to display correct bar chart at http://u.r.l/validator/<index> page.