Commit Graph

150 Commits

Author SHA1 Message Date
nymkappa
90ca668bcb
[Indexing] - Support 10 blocks depth reorgs 2022-04-10 16:28:22 +09:00
nymkappa
1969f2a275
Use github api to fetch and update the pools database, once a week 2022-04-07 14:37:16 +09:00
nymkappa
12ec6bbf67
/api/v1/mining/difficulty/{interval} is not used 2022-03-30 19:46:17 +09:00
nymkappa
352ea950a2
Use mining pool slug in urls 2022-03-25 14:22:22 +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
33897b029f
Set db connection to UTC - Fix hashrate indexing 2022-03-13 16:08:31 +01:00
nymkappa
87405ec4a5
Don't try to reset hashrates states if not bitcoin 2022-03-12 15:48:14 +01:00
nymkappa
2b5d972e8d
Only show relevant hashrate in the pool page 2022-03-08 20:46:18 +01:00
nymkappa
ad2dcc46e4
Added pool hashrate chart 2022-03-08 20:46:14 +01:00
nymkappa
2570dbfab4
Fix incorrect state naming 2022-03-06 17:06:55 +01:00
nymkappa
2a170c07d1
Remove unnecessary await 2022-03-06 16:50:59 +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
ec40231f93
warn on re-index - fix hash indexing state issue - cleanup ui mining 2022-02-24 20:21:14 +09:00
nymkappa
78fa3e33cd
Create stacked pools historical hashrates to see dominance over time 2022-02-24 20:21:12 +09:00
nymkappa
976017dbef
Update database migration log levels 2022-02-21 23:57:44 +09:00
nymkappa
938a978900
Make sure to try/catch indexing code in case db is not available 2022-02-21 23:46:25 +09:00
nymkappa
649ad2e859
Hashrates indexing waits for blocks indexing - Batch hashrates I/O ops 2022-02-21 17:34:07 +09:00
nymkappa
bb1c5d0b31
Add --reindex command line parameter to force full re-indexing 2022-02-21 16:38:18 +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
7270b1ccac
Create difficulty chart component 2022-02-16 21:20:28 +09:00
nymkappa
09180c4f91
Renamed /mining/pool-blocks/xxx -> /mining/pool/:poolId/blocks 2022-02-14 14:08:34 +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
fac49d0b98
Added /api/v1/blocksExtras endpoint 2022-02-10 22:11:10 +09:00
softsimon
4c2c6396ba
Renaming assets-group to assets/group 2022-02-07 03:34:15 +04:00
softsimon
2e5c8bdfd3
Featured assets and asset groups 2022-02-07 03:34:14 +04:00
nymkappa
e48a2f73e4
Replaced /mining/pools?interval=X by /mining/pools/X 2022-02-02 19:03:07 +09:00
nymkappa
9df490373b
Fixes post rebase 2022-01-28 15:01:24 +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
d66bc57165
Move block indexing start logic in blocks.ts 2022-01-28 15:01:23 +09:00
nymkappa
f8f9108ae1
Polish mining page UI
Make sure to wait for all mining pools queries before continuing
2022-01-28 15:01:22 +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
bfe9f99c35
Generate mining basic pool ranking (sorted by block found) for a specified timeframe 2022-01-28 13:52:35 +09:00
nymkappa
37031ec913
Refactor blocks.ts and index 10k block headers at launch 2022-01-28 13:51:14 +09:00
nymkappa
1a22923cd8
Migrate pools.json to the database in one command - Updated latest pools.json file from Blockchain-Known-Pools master 2022-01-28 13:50:58 +09:00
nymkappa
2848f56c2b
Import mining pools into the database - Increment db schema to 3 2022-01-19 18:50:52 +09:00
softsimon
debcd1808e
Displaying translators as twitter photos 2022-01-15 04:19:50 +04:00
softsimon
85f471ad08
Adding translators to About page 2022-01-15 04:01:53 +04:00
softsimon
29581f325f
Removing statistics cache and setting headers 2022-01-12 20:57:25 +04:00
softsimon
6ab79b3c35
Refactoring the Liquid and LiquidTestnet check to a common function. 2021-12-31 02:28:40 +04:00
softsimon
350b4922da
Fix backend support for 'liquidtestnet' network 2021-12-31 01:26:45 +04:00
softsimon
91e30fbc3c
Merge branch 'master' into simon/database-migration-feature
# Conflicts:
#	backend/src/index.ts
2021-12-24 00:26:33 +04:00
softsimon
5845f2380e
Adding sync external assets feature. 2021-12-21 02:00:50 +04:00
softsimon
b1c9334119
Changing API path and updating API Docs for asset icons. 2021-12-20 04:01:04 +04:00
softsimon
a4569788f8
Liquid icons api 2021-12-19 22:09:49 +04:00
softsimon
2281116504
Automated database creation and migration
fixes #1002
2021-12-13 11:32:04 +04:00
softsimon
feb8e35ec3
Handle database disabled config when running Liquid
fixes #962
2021-11-30 10:59:10 +04:00