44 Commits

Author SHA1 Message Date
Mononaut
c54bc5a4bb
Clear redis block cache on pool update 2024-06-24 12:07:52 +00:00
Mononaut
255919f03f
Update pool instead of deleting blocks 2024-06-24 12:07:51 +00:00
natsoni
35215c7740
Add check for pool addresses and regexes 2024-05-23 11:30:30 +02:00
nymkappa
ea51ab8d0b
[indexer] show github sha when successufly updated pools json 2023-05-30 10:42:41 -07:00
nymkappa
62169cee3f
[indexer] oldest known mining pool block per network 2023-05-30 10:25:41 -07:00
nymkappa
0b4615cbf0
[indexer] reindex diff adjustments and hashrates upon mining pool update 2023-05-30 10:05:10 -07:00
nymkappa
8ffe2f3156
Always re-indexing blocks when updating mining pools 2023-05-25 09:08:51 -07:00
softsimon
aeb896e200
Don't wipe mempool cache in pools updater 2023-05-25 19:07:51 +04:00
softsimon
349ba613dd
Revert "Don't wipe mempool cache in pools updater"
This reverts commit 714208a3669000c4f20777f6d0118ed8b4f35a83.
2023-05-25 19:06:45 +04:00
softsimon
714208a366
Don't wipe mempool cache in pools updater 2023-05-25 19:05:29 +04:00
nymkappa
ad7d3d97de
Wipe nodejs backend cache for any mining pool change 2023-03-03 16:58:40 +09:00
softsimon
c404895b1b
Merge branch 'master' into nymkappa/bugfix/wipe-cache-reindexing 2023-03-03 11:09:31 +09:00
nymkappa
0aff276a5c
Enforce BlockExtended use for block indexing - Unify /api/v1/block(s) API(s) response format 2023-02-27 18:00:00 +09:00
nymkappa
57fb305452
Update missing "pools.json" -> "pools-v2.json" 2023-02-26 13:54:43 +09:00
nymkappa
32733a3023
When we re-index blocks due to mining pools change, wipe the nodejs backend cache 2023-02-26 11:30:12 +09:00
nymkappa
ad9e42db26
Use regexes instead of tags 2023-02-25 16:32:03 +09:00
nymkappa
c2f5cb9529
Update pool parser to work with no database 2023-02-25 16:32:03 +09:00
nymkappa
117aa1375d
Disable mining pools update if AUTOMATIC_BLOCK_REINDEXING is not set - Re-index unknown blocks when a new pool is added 2023-02-25 16:32:03 +09:00
nymkappa
d3fdef256c
Rewrite mining pools parser - Re-index blocks table 2023-02-25 16:31:47 +09:00
nymkappa
9734052477
Fix database used when database disabled 2023-02-15 17:45:29 +09:00
nymkappa
efb48271f9
Cleanup logs 2022-12-01 15:52:06 +01:00
nymkappa
d32d97fbaf
Add support for renaming a mining pool without changing regex or addresses 2022-11-09 06:43:46 +01:00
nymkappa
f3f0c688d8
Disable automatic block re-indexing by default 2022-07-09 19:04:35 +02:00
nymkappa
4723a9d41b
Re-index related blocks when mining pool.json changes 2022-07-07 13:41:09 +02:00
nymkappa
be8ee52af0
Fix pool import crash 2022-06-07 22:18:51 +02:00
nymkappa
53bc80e899
Add 'db-less' mining pool tagging support 2022-06-07 11:28:39 +02:00
softsimon
6919393e6c
Refactored the DB class into a regular singleton class. 2022-04-13 17:38:42 +04:00
nymkappa
6fb0571b06
Refactor database pool use 2022-04-13 21:46:39 +09:00
nymkappa
bee0dbd400
Cleanup mining related backend logs 2022-04-13 16:30:49 +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
7ab950d03c
Add slug when we insert a mining pool for the first time 2022-03-29 16:31:26 +09:00
nymkappa
f51ea5b537
Fix query to insert unknown mining pool 2022-03-29 14:37:17 +09:00
nymkappa
810c335759
If pool slug does not exist, generate one on the fly, avoid crash 2022-03-25 12:31:09 +09:00
nymkappa
bb0fd78f28
Added slug into pools table 2022-03-24 19:44:22 +09:00
nymkappa
33897b029f
Set db connection to UTC - Fix hashrate indexing 2022-03-13 16:08:31 +01:00
nymkappa
df960ab9ba
Import pools file for testnet and signet as well - Added missing express routes 2022-01-28 15:01:21 +09:00
nymkappa
1322298a06
Make sure to wait for all mining pools queries before continuing 2022-01-24 14:34:03 +09:00
nymkappa
87175869dd
Fix typescript miss use 2022-01-20 23:31:32 +09:00
nymkappa
a1a2e9363f
Make sure to release all db connections 2022-01-20 23:07:20 +09:00
nymkappa
19a564062b
Add pools.json file in default config.ts - Handle file exception - Only import pools for MAINNET 2022-01-20 22:59:10 +09:00
nymkappa
8d1cc40459
Fix add 'Unknown' pool logic 2022-01-20 16:56:25 +09:00
nymkappa
1210643e8e
Fix linter issues and typo 2022-01-20 16:34:14 +09:00
nymkappa
979c52d3c4
Add pools.json to EXTERNAL_ASSETS - Now supports updating the table 2022-01-20 13:53:08 +09:00
nymkappa
2848f56c2b
Import mining pools into the database - Increment db schema to 3 2022-01-19 18:50:52 +09:00