Commit graph

186 commits

Author SHA1 Message Date
nymkappa
0887428066
Save block predictions results in db and show results in a chart 2022-07-06 22:27:45 +02:00
nymkappa
9ed7b2aad3
Add hashrate & difficulty chart resolution scaling 2022-07-06 21:03:55 +02:00
wiz
7424c65430
Merge branch 'master' into feature/nymkappa/index-difficulty-adjustments 2022-07-06 00:20:39 +02:00
wiz
1499eb3ba8
Merge branch 'master' into simon/block-tip-hash-api 2022-07-05 23:48:20 +02:00
nymkappa
acfdc8163b
Index difficulty adjustments 2022-07-05 16:52:56 +02:00
Felipe Knorr Kuhn
19ae01defb
Various typing and build fixes to enable CI 2022-06-27 21:28:21 -07:00
wiz
aad94a1af3
Merge branch 'master' into simon/block-tip-hash-api 2022-06-27 00:32:14 +09:00
nymkappa
68f72e3074
Implement our own price indexer with historical data 2022-06-23 15:42:42 +02:00
wiz
411e9c2e89
Merge branch 'master' into simon/block-tip-hash-api 2022-06-23 20:50:01 +09:00
softsimon
1479039fb5
Batch outspends requests
fixes #1902
2022-06-22 23:42:20 +02:00
softsimon
85e544dc8e
Adding missing Block Tip Hash API 2022-06-22 13:15:44 +02:00
Mononaut
288bddcaf2 Add API endpoint for block summary data 2022-06-16 02:46:27 +00: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
wiz
4ccd786fe9
Change backend start syslog message from DEBUG to NOTICE 2022-06-01 01:09:08 +09:00
nymkappa
e590759b7b
Don't try to run pools parser if db is not enabled 2022-05-27 10:31:49 +02:00
nymkappa
9e0fdec053
Merge branch 'master' into nymkappa/feature/merge-blocks 2022-05-24 10:14:06 +02:00
nymkappa
88fba3f506
For non Bitcoin network, run legacy API code, but keep the same endpoint 2022-05-23 13:02:18 +02:00
nymkappa
37b7ea6702
Merge legacy and mining /blocks components and APIs 2022-05-23 09:08:40 +02:00
nymkappa
2a8314efc5
Move indexing logic into Indexer class 2022-05-19 16:41:14 +02:00
nymkappa
df59c21cfe
Cleanup mining API endpoints 2022-05-17 12:02:50 +02:00
nymkappa
d26b1436b5
Always expose /block/{hash} API in the node backend 2022-05-12 08:13:42 +02:00
nymkappa
3e90650536
Add /api/v1/mining/blocks/sizes-weights/:interval API 2022-05-10 16:41:23 +02:00
wiz
a892e569a3
Merge pull request #1590 from mempool/nymkappa/feature/hashrate-around-midnight
Run hashrate indexing after midnight
2022-05-09 10:45:24 +09:00
nymkappa
b56f110f28
Run hashrate indexing after midnight 2022-04-30 17:54:49 +09:00
nymkappa
6565c363f8
Update pools table before fetching the first blocks 2022-04-27 16:57:07 +09:00
wiz
8d279edfe7
Merge branch 'master' into nymkappa/bugfix/fast-forward-re-org 2022-04-24 05:54:42 +00:00
wiz
ed495cc019
Merge branch 'master' into nymkappa/feature/fee-range-chart 2022-04-23 04:44:03 +00:00
nymkappa
0565471ecf
Wait for external assets file writers to complete 2022-04-22 04:03:08 -04:00
nymkappa
900e02d9a5
Validate block hash chain after indexing and for new blocks 2022-04-18 17:49:22 +09:00
nymkappa
078c7ac228
Add /api/v1/mining/blocks/fee-rates/{interval} API 2022-04-15 16:14:20 +09:00
nymkappa
4f4f76f067
Add try/catch liquid icon loading 2022-04-15 13:20:54 +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
8fb488a675
Add block rewards chart 2022-04-11 20:57:13 +09:00
nymkappa
08e19a612c
Add block fees graph 2022-04-11 15:32:16 +09:00
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