56 Commits

Author SHA1 Message Date
nymkappa
36d9425853 Index difficulty adjustments 2022-07-05 16:52:56 +02:00
nymkappa
a507dfe2cb Cleanup some ops logs 2022-06-13 10:12:27 +02:00
nymkappa
e7023ad22a Mining dashboard still runs fine if Bitcoin Core becomes unavailable 2022-05-27 11:26:56 +02:00
nymkappa
67cd09d5d7 Remove last trace of legacy oldestIndexedBlockTimestamp 2022-05-25 12:10:09 +02:00
Felipe Knorr Kuhn
0bb2775690 Merge branch 'master' into nymkappa/bugfix/reindex-when-fast-forward 2022-05-23 21:08:54 -07:00
nymkappa
45f8657eb4 Move indexing logic into Indexer class 2022-05-19 16:41:14 +02:00
nymkappa
7377ff3c34 Remove unescessary log 2022-05-18 15:01:24 +02:00
nymkappa
19e432ecd1 Add /api/v1/mining/blocks/sizes-weights/:interval API 2022-05-10 16:41:23 +02:00
nymkappa
3db04d887b Added indexing progress indicator for hashrates, update logging 2022-05-10 15:48:21 +02:00
nymkappa
9e392180e6 Run hashrate indexing after midnight 2022-04-30 17:54:49 +09:00
nymkappa
0ba34594a2 Add /api/v1/mining/blocks/fee-rates/{interval} API 2022-04-15 16:14:20 +09:00
nymkappa
d7d8fda3f6 Cleanup mining related backend logs 2022-04-13 16:30:49 +09:00
nymkappa
307385045b Add block rewards chart 2022-04-11 20:57:13 +09:00
nymkappa
61df98ef94 Improve mining graphs timespan selection UX 2022-04-11 18:17:36 +09:00
nymkappa
ae0bc02c78 Add block fees graph 2022-04-11 15:32:16 +09:00
nymkappa
70dbf3edfc Updated pool summary page to display more info on hashrate and blocks 2022-04-05 00:36:00 +09:00
nymkappa
74ce91497f Wrap initial query in try/catch to reset the flag upon error 2022-04-03 15:47:33 +09:00
nymkappa
71d0ba911e Avoid parralel hashrate indexing when initial query is too slow 2022-04-03 15:47:29 +09:00
nymkappa
3096e0f577 Use mining pool slug in urls 2022-03-25 14:22:22 +09:00
nymkappa
2d8a8ae4a1 Truncate hashrates after #1435 - Fix hashrate indexing logs 2022-03-24 07:40:03 +09:00
softsimon
f3ed281ac6 Last hashrate indexing check needs to be in milliseconds 2022-03-24 00:24:17 +04:00
nymkappa
56be4e0832 Merge branch 'master' into nymkappa/bugfix/hashrate-native-js-timestamp 2022-03-23 19:10:21 +09:00
nymkappa
87df750f16 Move reward stats to component - Add /api/v1/mining/reward-stats/{blockCount} 2022-03-23 11:54:31 +09:00
nymkappa
ed75a2dc6b Most recent week was missing from indexing - Post merge fixes 2022-03-22 09:20:16 +09:00
nymkappa
5d2d717ee2 Work using native javascript milliseconds timestamp 2022-03-22 08:44:54 +09:00
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