Commit graph

66 commits

Author SHA1 Message Date
nymkappa
68f72e3074
Implement our own price indexer with historical data 2022-06-23 15:42:42 +02:00
nymkappa
1074d23a90
Cleanup some ops logs 2022-06-13 10:12:27 +02:00
wiz
0b50c17ed0
Merge branch 'master' into nymkappa/bugfix/db-disabled 2022-06-08 01:56:52 +09:00
nymkappa
53bc80e899
Add 'db-less' mining pool tagging support 2022-06-07 11:28:39 +02:00
Ayanami
6ff473ab5d
Add an ability to change circuits 2022-06-07 04:16:37 +09:00
Ayanami
40bfc6bff3
Include SocksProxyAgent inside while loop
To address error Socks5 proxy rejected connection - Failure
2022-06-07 04:16:37 +09:00
Ayanami
e41a08789a
Added configurable user-agent for axios
Will use `mempool/v${backendInfo.getBackendInfo().version}` for default
2022-06-07 04:16:36 +09:00
Ayanami
9d5bbf1f44
Handle Error with basic retry while syncing external assets ( Price Data )
+ Removed unused External Assets value

+ Make static URL dynamic

+ Added config options for syncing pool data

+ Added retry interval & max retry
2022-06-07 04:16:36 +09:00
nymkappa
e590759b7b
Don't try to run pools parser if db is not enabled 2022-05-27 10:31:49 +02:00
Ayanami
0b351b9fcb pools-updater: Support secure Tor connection to sync data with Github
Use Axios instead of native https
2022-05-18 11:20:28 +09: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
e451b40084
Catch http request error - Fix 24h retry period 2022-04-07 16:14:43 +09:00
nymkappa
2d29b9ef89
Upon error, re-run the PoolsUpdater within 24h instead of 7d 2022-04-07 14:51:23 +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