667 Commits

Author SHA1 Message Date
nymkappa
d1fc5e49ce Remove loading indicator for blocks-extras API 2022-04-22 00:49:02 -04:00
nymkappa
3afcaf5b83 Add try/catch liquid icon loading 2022-04-15 13:20:54 +09:00
wiz
d438d91377 Merge branch 'master' into download_assets_over_tor 2022-04-14 21:35:59 +00:00
wiz
c91e73722d Merge branch 'master' into simon/remove-locutus-lib 2022-04-14 20:27:58 +00:00
softsimon
427c1ca075 Refactored the DB class into a regular singleton class. 2022-04-13 17:38:42 +04:00
nymkappa
c18d525f4a Refactor database pool use 2022-04-13 21:46:39 +09:00
nymkappa
d7d8fda3f6 Cleanup mining related backend logs 2022-04-13 16:30:49 +09:00
softsimon
74d7ca8c4c Breaking out strtotime from locutus lib 2022-04-12 17:52:30 +04:00
Antoni Spaanderman
1094ddd1e8 Merge branch 'master' into script-display-2 2022-04-11 21:46:06 +02:00
nymkappa
307385045b Add block rewards chart 2022-04-11 20:57:13 +09:00
nymkappa
61df98ef94 Improve mining graphs timespan selection UX 2022-04-11 18:17:36 +09:00
nymkappa
ae0bc02c78 Add block fees graph 2022-04-11 15:32:16 +09:00
nymkappa
98224b5ddc [Indexing] - Support 10 blocks depth reorgs 2022-04-10 16:28:22 +09:00
nymkappa
4fcc56936d Handle empty pools table error 2022-04-07 18:14:28 +09:00
nymkappa
c1f011d64b Catch http request error - Fix 24h retry period 2022-04-07 16:14:43 +09:00
nymkappa
733bcc7118 Upon error, re-run the PoolsUpdater within 24h instead of 7d 2022-04-07 14:51:23 +09:00
nymkappa
a7260211ca Use github api to fetch and update the pools database, once a week 2022-04-07 14:37:16 +09:00
softsimon
3931c320c8 Merge pull request #1503 from mempool/nymkappa/feature/additional-pool-data
Updated pool summary page to display more info on hashrate and blocks
2022-04-06 14:31:53 +04:00
nymkappa
70dbf3edfc Updated pool summary page to display more info on hashrate and blocks 2022-04-05 00:36:00 +09:00
Antoni Spaanderman
86669c2d0d name tapscript by its name + OP_CHECKSIGADD tapscript opcode detection 2022-04-04 17:16:34 +02:00
softsimon
95159b0f39 Merge pull request #1486 from mempool/simon/bitcoin-api-roundings
Rounding bitcoin api satoshis
2022-04-04 13:18:10 +04:00
Antoni Spaanderman
1bea953ed0 more direct opcode comparison 2022-04-03 21:58:53 +02:00
Antoni Spaanderman
dfa614ff25 Completely rewrote convertScriptSigAsm
it now gives identical output to esplora, tested with the following TXs (testnet):

88710a9a6751827490f260e307757543f533c0f18bcd6865794713d263d5f5a4
446b2aad074de94efa28a1e82d2e6016dcb8a8ca38aca1a5a8eac6ef54e56a2e
4cfc410092e9514c14f48b61e20d2d3baf540ae7e981a821dd8c05dd4b7cd591
4b55dde38173174ab09e5571ebffffca798ba11143d28b9770600ff376dc778a
2022-04-03 21:41:12 +02:00
softsimon
017999a4fc Merge pull request #1487 from mempool/nymkappa/bugfix/invalid-pool-handling
Send 404 when accessing non existing mining pool
2022-04-03 17:37:09 +04:00
softsimon
06844fbfbb Merge pull request #1498 from mempool/nymkappa/bugfix/avoid-duplicated-indexing
Avoid parralel hashrate indexing when initial query is too slow
2022-04-03 15:57:43 +04:00
softsimon
698bc9759d Correcting wrong or missing op_codes display
fixes #1210
2022-04-03 13:59:26 +04:00
nymkappa
74ce91497f Wrap initial query in try/catch to reset the flag upon error 2022-04-03 15:47:33 +09:00
nymkappa
71d0ba911e Avoid parralel hashrate indexing when initial query is too slow 2022-04-03 15:47:29 +09:00
softsimon
cafd991fa2 Merge pull request #1488 from mempool/nymkappa/feature/testnet-signet-empty-pool-addresses
Return empty pool addresses on testnet and signet
2022-04-03 01:13:35 +04:00
nymkappa
c71e79ee05 Mining stats does not depends on the websocket blocks number anymore 2022-04-01 12:41:25 +09:00
nymkappa
63624a9054 Remove unfiltered using input from log 2022-03-31 18:35:03 +09:00
nymkappa
de4c205ecb /api/v1/mining/difficulty/{interval} is not used 2022-03-30 19:46:17 +09:00
nymkappa
8dc030021a Return empty pool addresses on testnet and signet 2022-03-30 16:49:28 +09:00
nymkappa
d3ee75364b Send 404 when accessing non existing mining pool 2022-03-30 16:27:17 +09:00
softsimon
01175d5531 Rounding bitcoin api satoshis
fixes #1466
2022-03-30 11:12:55 +04:00
nymkappa
f60b419767 Add slug when we insert a mining pool for the first time 2022-03-29 16:31:26 +09:00
nymkappa
443e12b384 Fix query to insert unknown mining pool 2022-03-29 14:37:17 +09:00
softsimon
627adec8b0 npm audit fix 2022-03-27 14:26:06 +04:00
nymkappa
3cc3291ceb Merge branch 'master' into nymkappa/feature/pool-slug-url 2022-03-26 12:08:39 +09:00
nymkappa
3096e0f577 Use mining pool slug in urls 2022-03-25 14:22:22 +09:00
nymkappa
64637c2b5e If pool slug does not exist, generate one on the fly, avoid crash 2022-03-25 12:31:09 +09:00
nymkappa
884e3efc19 Added slug into pools table 2022-03-24 19:44:22 +09:00
nymkappa
2d8a8ae4a1 Truncate hashrates after #1435 - Fix hashrate indexing logs 2022-03-24 07:40:03 +09:00
softsimon
f3ed281ac6 Last hashrate indexing check needs to be in milliseconds 2022-03-24 00:24:17 +04:00
wiz
3d1ce26162 Merge branch 'master' into fix_git_commit_error 2022-03-23 19:49:04 +00:00
Felipe Knorr Kuhn
4fc437b19f Fix empty revision case 2022-03-23 12:33:15 -07:00
Felipe Knorr Kuhn
43aabbbf79 Copy the git commit hash logic to the backend 2022-03-23 12:17:23 -07:00
Felipe Knorr Kuhn
a5522c9861 Allow syncing external backend assets using Tor 2022-03-23 08:11:22 -07:00
nymkappa
56be4e0832 Merge branch 'master' into nymkappa/bugfix/hashrate-native-js-timestamp 2022-03-23 19:10:21 +09:00
nymkappa
87df750f16 Move reward stats to component - Add /api/v1/mining/reward-stats/{blockCount} 2022-03-23 11:54:31 +09:00