44 Commits

Author SHA1 Message Date
nymkappa
70dbf3edfc Updated pool summary page to display more info on hashrate and blocks 2022-04-05 00:36:00 +09:00
nymkappa
c71e79ee05 Mining stats does not depends on the websocket blocks number anymore 2022-04-01 12:41:25 +09:00
nymkappa
3096e0f577 Use mining pool slug in urls 2022-03-25 14:22:22 +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
32f38cddba Fix pool get blocks API undefined start block behavior 2022-03-16 20:19:39 +01:00
nymkappa
36a83812b4 Updated blocks list in /pool/{id} page 2022-03-16 18:12:02 +01:00
nymkappa
fdea74db0a Store hex in coinbase raw - Improve scripsig parsing 2022-03-16 12:10:18 +01:00
nymkappa
acaa6c6e45 Index asciiScriptSig and display it in /mining/blocks 2022-03-15 23:33:51 +01:00
nymkappa
c601f92732 Set db connection to UTC - Fix hashrate indexing 2022-03-13 16:08:31 +01:00
nymkappa
112880f332 Add pagination on /mining/blocks 2022-03-12 16:49:15 +01:00
nymkappa
74d9762821 Index more data using getblockstats core RPC 2022-03-10 14:21:11 +01:00
nymkappa
950be63da0 Index more data using getblockstats core RPC 2022-03-10 14:08:01 +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
085f5e5cca Set connection pool timezone to UTC - Close mysql connections upon error 2022-03-06 16:44:09 +01:00
nymkappa
d751662010 Create stacked pools historical hashrates to see dominance over time 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
724915dba7 Add data zoom to difficulty 2022-02-22 00:26:16 +09:00
nymkappa
ad51a0101c Index new hashrates once every 24 hours 2022-02-21 14:48:59 +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
17459c2fdb Show all difficulty adjustment in a table - Need pagination 2022-02-16 22:56:06 +09:00
nymkappa
09f8490601 Create difficulty chart component 2022-02-16 21:20:28 +09:00
nymkappa
11d771e477 Cleanup blocks/pools fields data type - Index more block data 2022-02-16 15:22:55 +09:00
nymkappa
ef529f3da0 Show correct reward in pool stat page 2022-02-14 14:11:55 +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
e343b4d6da Set reward to 0 by default until reward indexing is available 2022-02-14 14:08:33 +09:00
nymkappa
3ef16c1479 Disable query logger spam 2022-02-14 14:08:33 +09:00
nymkappa
4829624114 Show block reward in the pool stat page 2022-02-14 14:08:31 +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
06833264ff Remove fields that won't be used in the frontend for now 2022-02-12 20:16:51 +09:00
nymkappa
a79609ff5c Added /api/v1/blocksExtras endpoint 2022-02-10 22:11:10 +09:00
nymkappa
90349bb7d3 Duplicated db blocks insertion attempts are expected 2022-02-05 15:50:57 +09:00
nymkappa
835ccce5b6 Renamed extra to extras 2022-02-04 19:28:00 +09:00
nymkappa
a49cc9a2fa Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface 2022-02-04 12:51:45 +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
7188d0d55d Added MEMPOOL.INDEXING_BLOCKS_AMOUNT in the config (default 432 blocks) 2022-01-28 15:01:23 +09:00
nymkappa
a8e5f44937 Drop legacy blocks table during migration - Fix linter issues 2022-01-28 15:01:19 +09:00
nymkappa
92de2bbc03 Fix xxxWindowPreference management 2022-01-28 15:01:19 +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
5ca98af7d1 Generate mining basic pool ranking (sorted by block found) for a specified timeframe 2022-01-28 13:52:35 +09:00
nymkappa
4646cc6df3 Refactor blocks.ts and index 10k block headers at launch 2022-01-28 13:51:14 +09:00