Felipe Knorr Kuhn
9fbd014df9
Merge branch 'master' into nymkappa/bugfix/reindex-when-fast-forward
2022-05-23 21:08:54 -07:00
nymkappa
2a8314efc5
Move indexing logic into Indexer
class
2022-05-19 16:41:14 +02:00
nymkappa
f402bfb097
Remove unescessary log
2022-05-18 15:01:24 +02:00
nymkappa
3e90650536
Add /api/v1/mining/blocks/sizes-weights/:interval API
2022-05-10 16:41:23 +02:00
nymkappa
de7c4774ec
Added indexing progress indicator for hashrates, update logging
2022-05-10 15:48:21 +02:00
nymkappa
b56f110f28
Run hashrate indexing after midnight
2022-04-30 17:54:49 +09:00
nymkappa
078c7ac228
Add /api/v1/mining/blocks/fee-rates/{interval} API
2022-04-15 16:14:20 +09:00
nymkappa
bee0dbd400
Cleanup mining related backend logs
2022-04-13 16:30:49 +09:00
nymkappa
8fb488a675
Add block rewards chart
2022-04-11 20:57:13 +09:00
nymkappa
7dd0173e84
Improve mining graphs timespan selection UX
2022-04-11 18:17:36 +09:00
nymkappa
08e19a612c
Add block fees graph
2022-04-11 15:32:16 +09:00
nymkappa
c4db7ec5f6
Updated pool summary page to display more info on hashrate and blocks
2022-04-05 00:36:00 +09:00
nymkappa
f393cb0839
Wrap initial query in try/catch to reset the flag upon error
2022-04-03 15:47:33 +09:00
nymkappa
2ef2a34766
Avoid parralel hashrate indexing when initial query is too slow
2022-04-03 15:47:29 +09:00
nymkappa
352ea950a2
Use mining pool slug in urls
2022-03-25 14:22:22 +09:00
nymkappa
185dddd8c7
Truncate hashrates after #1435 - Fix hashrate indexing logs
2022-03-24 07:40:03 +09:00
softsimon
dcaa7fc4e8
Last hashrate indexing check needs to be in milliseconds
2022-03-24 00:24:17 +04:00
nymkappa
a91fa797fa
Merge branch 'master' into nymkappa/bugfix/hashrate-native-js-timestamp
2022-03-23 19:10:21 +09:00
nymkappa
2644f2fb07
Move reward stats to component - Add /api/v1/mining/reward-stats/{blockCount}
2022-03-23 11:54:31 +09:00
nymkappa
e5fd92b734
Most recent week was missing from indexing - Post merge fixes
2022-03-22 09:20:16 +09:00
nymkappa
74f4a6fcb4
Work using native javascript milliseconds timestamp
2022-03-22 08:44:54 +09:00
nymkappa
077177ecc4
If we have incomplete data for the day/week, don't index hashrate
2022-03-21 20:32:57 +09:00
nymkappa
33897b029f
Set db connection to UTC - Fix hashrate indexing
2022-03-13 16:08:31 +01:00
nymkappa
9ccb23f651
Index weekly hashrates using last Monday midnight - Fix charts tooltip
2022-03-10 11:53:49 +01:00
nymkappa
f23f7f1cfa
Cleanup empty block in api response - Update cache warmer
2022-03-08 20:46:19 +01:00
nymkappa
2b5d972e8d
Only show relevant hashrate in the pool page
2022-03-08 20:46:18 +01:00
nymkappa
3d1a10cdfc
Use the latest timestamp in hashrate data ticker
2022-03-06 16:57:40 +01:00
nymkappa
89411f23d8
Set connection pool timezone to UTC - Close mysql connections upon error
2022-03-06 16:44:09 +01:00
nymkappa
1ced44d970
Remove useless mining function wrapper in backend
2022-03-06 12:52:39 +01:00
nymkappa
8532d13a0d
Update hashrate indexing logs
2022-03-06 12:52:39 +01:00
nymkappa
7314582dd1
Split network daily hashrate indexing and weekly pool hashrate indexing
2022-03-06 12:52:38 +01:00
nymkappa
92dc5a78d8
Make sure to reset hashrates indexing flags upon error
2022-03-05 16:25:38 +01:00
nymkappa
5f6c1c6ccf
Only reset hashrate state flag after database migration - Fix weekly hashrate indexing bug
2022-03-05 13:54:07 +01:00
nymkappa
78fa3e33cd
Create stacked pools historical hashrates to see dominance over time
2022-02-24 20:21:12 +09:00
nymkappa
a214c5ca20
Disable difficulty adjustment table for now until loadMore is implemented
2022-02-24 20:21:12 +09:00
nymkappa
807ef2288a
Don't assume two difficulty with the same value is impossible
2022-02-22 22:53:47 +09:00
nymkappa
83a382a0cb
Merge hashrate and difficulty into one chart
2022-02-22 20:16:18 +09:00
nymkappa
649ad2e859
Hashrates indexing waits for blocks indexing - Batch hashrates I/O ops
2022-02-21 17:34:07 +09:00
nymkappa
537e50c682
Reduce log spam during hashrate indexing
2022-02-21 16:54:43 +09:00
nymkappa
e4721e8574
Improve hashrate indexing logs
2022-02-21 14:49:00 +09:00
nymkappa
e61df324ea
Index new hashrates once every 24 hours
2022-02-21 14:48:59 +09:00
nymkappa
358604ad85
Added hashrate chart
2022-02-21 14:48:58 +09:00
nymkappa
6fe8f6fa1e
Generate daily average hashrate data
2022-02-21 14:48:57 +09:00
nymkappa
f45103e7e3
Add difficulty chart timespan selection
2022-02-17 09:41:05 +09:00
nymkappa
4f02efd7fe
Fix block link in pool page - Click on chart slice open pool page
2022-02-14 14:08:33 +09:00
nymkappa
3f55aabc53
Mining pool detail page draft PoC
2022-02-14 14:08:30 +09:00
nymkappa
b854c071d0
Added mining/pool/:poolId
and mining/pool/:poolId/:interval
APIs
2022-02-14 14:08:10 +09:00
nymkappa
6ebbc5667d
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
4b9bfd6ca0
Basic block indexing WIP - Default mining pool icon - Only show mining hashrate on 1d scale
2022-01-28 15:01:15 +09:00
nymkappa
b9a047b22d
Add difficulty adjustment in mining page + Fix pools table on mobile
2022-01-28 14:52:12 +09:00