860 Commits

Author SHA1 Message Date
nymkappa
8d28d2f9e7 Index weekly mining pool hashrate only if there are blocks mined 2022-07-09 22:34:18 +02:00
nymkappa
e591fcb655 Use oldest consecutive block timestamp as hashrate indexing limit 2022-07-09 22:11:27 +02:00
nymkappa
be97b22d91 Use raw db hashrate instead of avg for indexing 2022-07-09 22:11:27 +02:00
nymkappa
56fdb6d6cb Removed hardcoded genesis timestamp
Fix duplicated genesis hashrate attempt
Add log during difficulty adjustment indexing
2022-07-09 22:11:26 +02:00
nymkappa
924b85f7d2 Run the mining indexer every hour to index missing/updated data 2022-07-09 18:25:16 +02:00
Felipe Knorr Kuhn
3b0a98e13e Merge branch 'master' into nymkappa/feature/automatic-block-reindexing 2022-07-09 00:04:35 +02:00
nymkappa
131a728a06 Use bitcoin core instead of esplore for fetch blocks on bitcoin networks 2022-07-08 16:34:00 +02:00
wiz
7b5f2034a5 Merge branch 'master' into nymkappa/feature/automatic-block-reindexing 2022-07-07 22:41:26 +02:00
wiz
1ad97cffd7 Merge pull request #2020 from mempool/nymkappa/bugfix/duplicate-genesis-hashrate-indexing
[Hashrate indexing] - Signet started in 2020 and not in 2009
2022-07-07 22:41:07 +02:00
nymkappa
5e3d3fae41 [Hashrate indexing] - Signet started in 2020 and not in 2009 2022-07-07 21:55:28 +02:00
wiz
ae647dfcc6 Remove unused deps from backend/package-lock.json 2022-07-07 19:33:43 +02:00
wiz
b7128d4e29 Merge branch 'master' into nymkappa/feature/automatic-block-reindexing 2022-07-07 18:21:04 +02:00
wiz
dcee319dd5 Merge remote-tracking branch 'origin/master' into knorrium/prettier 2022-07-07 14:13:06 +02:00
nymkappa
c089f80685 Re-index related blocks when mining pool.json changes 2022-07-07 13:41:09 +02:00
Felipe Knorr Kuhn
b201cdfb44 Add editorconfig and prettier integration with eslint 2022-07-07 03:02:02 -07:00
Felipe Knorr Kuhn
8cdfab50a0 Merge branch 'master' into knorrium/clean_be_deps 2022-07-06 15:11:18 -07:00
Felipe Knorr Kuhn
4faf747692 Remove TSLint from the backend 2022-07-06 14:36:50 -07:00
Felipe Knorr Kuhn
9b386203b9 Merge branch 'master' into fix_electrum_api 2022-07-06 14:33:02 -07:00
Felipe Knorr Kuhn
af2548d705 Merge branch 'master' into fix_electrum_api 2022-07-06 13:36:36 -07:00
nymkappa
d2ab72390f Save block predictions results in db and show results in a chart 2022-07-06 22:27:45 +02:00
wiz
ab9bf3e327 Merge branch 'master' into nymkappa/feature/price-columns 2022-07-06 22:13:25 +02:00
wiz
91fa84d825 Merge branch 'master' into nymkappa/bugfix/handle-error-pool-hashrate 2022-07-06 21:54:14 +02:00
Felipe Knorr Kuhn
40957158db Fix crypto library usage for the Electrum API 2022-07-06 12:34:54 -07:00
Felipe Knorr Kuhn
a73643fd16 Add types for cryptojs 2022-07-06 12:25:30 -07:00
wiz
a33d6dc0b9 Merge branch 'master' into nymkappa/feature/hashrate-resolution 2022-07-06 21:10:18 +02:00
nymkappa
efb5eba092 Add hashrate & difficulty chart resolution scaling 2022-07-06 21:03:55 +02:00
softsimon
b6315ce76c Upgrade packages - backend 2022-07-06 20:47:10 +02:00
nymkappa
a5635a5020 Handle gracefuly query to pool dominance when there is no indexed block #1913 2022-07-06 11:00:41 +02:00
nymkappa
c4810bf7a1 Replace json prices.avg_prices with table columns - update prices logs 2022-07-06 10:46:00 +02:00
nymkappa
4232ac8110 If any indexing fails | chain of hash invalid, try again in 10 seconds 2022-07-06 10:36:26 +02:00
wiz
0306c95d9e Merge branch 'master' into feature/nymkappa/index-difficulty-adjustments 2022-07-06 00:20:39 +02:00
wiz
4faf359dbd Merge branch 'master' into knorrium/eslint 2022-07-06 00:12:39 +02:00
wiz
821dd33809 Merge branch 'master' into simon/block-tip-hash-api 2022-07-05 23:48:20 +02:00
wiz
2f97bff82c Merge branch 'master' into nymkappa/bugfix/indexer-not-running 2022-07-05 23:02:05 +02:00
nymkappa
36d9425853 Index difficulty adjustments 2022-07-05 16:52:56 +02:00
Felipe Knorr Kuhn
96414fe866 Use absolute paths when running eslint 2022-07-05 04:31:10 -07:00
Felipe Knorr Kuhn
5c15991139 Add eslint to the backend 2022-07-05 04:29:11 -07:00
Felipe Knorr Kuhn
009bb552f7 Fix WebSocket type error 2022-07-04 08:37:36 -07:00
Felipe Knorr Kuhn
5fc86a92f0 Merge branch 'master' into nymkappa/bugfix/indexer-not-running 2022-06-28 06:52:04 -07:00
Felipe Knorr Kuhn
76dbda0a3e Various typing and build fixes to enable CI 2022-06-27 21:28:21 -07:00
wiz
ab14279e7a Merge branch 'master' into simon/block-tip-hash-api 2022-06-27 00:32:14 +09:00
nymkappa
36330db2a5 Don't run the indexer unless Bitcoin Core is fully synced 2022-06-25 19:18:32 +02:00
nymkappa
7b13cdaa31 Fixes the minium tx fee bug introduced in ecbd18087b267ba61b74477c973281b740edaf30 2022-06-25 19:06:26 +02:00
nymkappa
1599d202fd Implement our own price indexer with historical data 2022-06-23 15:42:42 +02:00
wiz
c752d5da9c Merge branch 'master' into simon/block-tip-hash-api 2022-06-23 20:50:01 +09:00
softsimon
5b1b554ee0 Fix for outspends when using esplora 2022-06-23 11:55:56 +02:00
softsimon
d7ba9b52eb Batch outspends requests
fixes #1902
2022-06-22 23:42:20 +02:00
softsimon
e64bfc039a Adding missing Block Tip Hash API 2022-06-22 13:15:44 +02:00
nymkappa
1b1e058251 Set block/:hash/summary expiration to 1 month - Support re-org for block summaries 2022-06-20 16:35:10 +02:00
nymkappa
f98b829678 Index block summaries in db 2022-06-18 16:48:02 +02:00