31 Commits

Author SHA1 Message Date
nymkappa
0f4dc98ccf If we have incomplete data for the day/week, don't index hashrate 2022-03-21 20:32:57 +09:00
nymkappa
c601f92732 Set db connection to UTC - Fix hashrate indexing 2022-03-13 16:08:31 +01:00
nymkappa
3558389eea Index weekly hashrates using last Monday midnight - Fix charts tooltip 2022-03-10 11:53:49 +01:00
nymkappa
216ff9f968 Cleanup empty block in api response - Update cache warmer 2022-03-08 20:46:19 +01:00
nymkappa
dd3f43f7b2 Only show relevant hashrate in the pool page 2022-03-08 20:46:18 +01:00
nymkappa
0f1ee5f059 Use the latest timestamp in hashrate data ticker 2022-03-06 16:57:40 +01:00
nymkappa
085f5e5cca Set connection pool timezone to UTC - Close mysql connections upon error 2022-03-06 16:44:09 +01:00
nymkappa
91219bff92 Remove useless mining function wrapper in backend 2022-03-06 12:52:39 +01:00
nymkappa
b6b0bebd73 Update hashrate indexing logs 2022-03-06 12:52:39 +01:00
nymkappa
ce14cd2496 Split network daily hashrate indexing and weekly pool hashrate indexing 2022-03-06 12:52:38 +01:00
nymkappa
23e8da7864 Make sure to reset hashrates indexing flags upon error 2022-03-05 16:25:38 +01:00
nymkappa
5b62ed0b50 Only reset hashrate state flag after database migration - Fix weekly hashrate indexing bug 2022-03-05 13:54:07 +01:00
nymkappa
d751662010 Create stacked pools historical hashrates to see dominance over time 2022-02-24 20:21:12 +09:00
nymkappa
e941787cd7 Disable difficulty adjustment table for now until loadMore is implemented 2022-02-24 20:21:12 +09:00
nymkappa
22874f6c91 Don't assume two difficulty with the same value is impossible 2022-02-22 22:53:47 +09:00
nymkappa
4c93df6dc9 Merge hashrate and difficulty into one chart 2022-02-22 20:16:18 +09:00
nymkappa
150b137f0c Hashrates indexing waits for blocks indexing - Batch hashrates I/O ops 2022-02-21 17:34:07 +09:00
nymkappa
9de3c14b3d Reduce log spam during hashrate indexing 2022-02-21 16:54:43 +09:00
nymkappa
6927ea09e7 Improve hashrate indexing logs 2022-02-21 14:49:00 +09:00
nymkappa
ad51a0101c Index new hashrates once every 24 hours 2022-02-21 14:48:59 +09:00
nymkappa
cc2890fd60 Added hashrate chart 2022-02-21 14:48:58 +09:00
nymkappa
5a6f9269b1 Generate daily average hashrate data 2022-02-21 14:48:57 +09:00
nymkappa
ad73e14db9 Add difficulty chart timespan selection 2022-02-17 09:41:05 +09:00
nymkappa
690f33843c Fix block link in pool page - Click on chart slice open pool page 2022-02-14 14:08:33 +09:00
nymkappa
e3e3e9f02e Mining pool detail page draft PoC 2022-02-14 14:08:30 +09:00
nymkappa
6f18a5f1b6 Added mining/pool/:poolId and mining/pool/:poolId/:interval APIs 2022-02-14 14:08:10 +09:00
nymkappa
6e61de3a96 Small improvements on the mining page UX
- INDEXING_BLOCKS_AMOUNT = 0 disable indexing, INDEXING_BLOCKS_AMOUNT = -1 indexes everything
- Show only available timespan in the mining page according to available datas
- Change default INDEXING_BLOCKS_AMOUNT to 1100

Don't use unfiltered mysql user input

Enable http cache header for mining pools (1 min)
2022-01-28 15:01:24 +09:00
nymkappa
16ab9b38a0 Basic block indexing WIP - Default mining pool icon - Only show mining hashrate on 1d scale 2022-01-28 15:01:15 +09:00
nymkappa
b567c0ad43 Add difficulty adjustment in mining page + Fix pools table on mobile 2022-01-28 14:52:12 +09:00
nymkappa
8d406a40e5 Add pie chart and rewrite the pool ranking component 2022-01-28 13:54:59 +09:00
nymkappa
5ca98af7d1 Generate mining basic pool ranking (sorted by block found) for a specified timeframe 2022-01-28 13:52:35 +09:00