Commit Graph

644 Commits

Author SHA1 Message Date
softsimon
6386f4c68a
Merge pull request #1486 from mempool/simon/bitcoin-api-roundings
Rounding bitcoin api satoshis
2022-04-04 13:18:10 +04:00
softsimon
ba92284e44
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
effe85f7c0
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
3115dcbe52
Correcting wrong or missing op_codes display
fixes #1210
2022-04-03 13:59:26 +04:00
nymkappa
f393cb0839
Wrap initial query in try/catch to reset the flag upon error 2022-04-03 15:47:33 +09:00
nymkappa
2ef2a34766
Avoid parralel hashrate indexing when initial query is too slow 2022-04-03 15:47:29 +09:00
softsimon
8d97351598
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
c3a3289fcf
Mining stats does not depends on the websocket blocks number anymore 2022-04-01 12:41:25 +09:00
nymkappa
2521661c69
Remove unfiltered using input from log 2022-03-31 18:35:03 +09:00
nymkappa
12ec6bbf67
/api/v1/mining/difficulty/{interval} is not used 2022-03-30 19:46:17 +09:00
nymkappa
84394e13fa
Return empty pool addresses on testnet and signet 2022-03-30 16:49:28 +09:00
nymkappa
ccafe4a066
Send 404 when accessing non existing mining pool 2022-03-30 16:27:17 +09:00
softsimon
9a4d3817c5
Rounding bitcoin api satoshis
fixes #1466
2022-03-30 11:12:55 +04: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
softsimon
32792f4f74
npm audit fix 2022-03-27 14:26:06 +04:00
nymkappa
9b04b3bcd6
Merge branch 'master' into nymkappa/feature/pool-slug-url 2022-03-26 12:08:39 +09:00
nymkappa
352ea950a2
Use mining pool slug in urls 2022-03-25 14:22:22 +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
185dddd8c7
Truncate hashrates after #1435 - Fix hashrate indexing logs 2022-03-24 07:40:03 +09:00
softsimon
dcaa7fc4e8
Last hashrate indexing check needs to be in milliseconds 2022-03-24 00:24:17 +04:00
wiz
223dc46bd5
Merge branch 'master' into fix_git_commit_error 2022-03-23 19:49:04 +00:00
Felipe Knorr Kuhn
230fbdbc8e
Fix empty revision case 2022-03-23 12:33:15 -07:00
Felipe Knorr Kuhn
4bb6f49950
Copy the git commit hash logic to the backend 2022-03-23 12:17:23 -07:00
nymkappa
a91fa797fa
Merge branch 'master' into nymkappa/bugfix/hashrate-native-js-timestamp 2022-03-23 19:10:21 +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
e5fd92b734
Most recent week was missing from indexing - Post merge fixes 2022-03-22 09:20:16 +09:00
nymkappa
74f4a6fcb4
Work using native javascript milliseconds timestamp 2022-03-22 08:44:54 +09:00
nymkappa
077177ecc4
If we have incomplete data for the day/week, don't index hashrate 2022-03-21 20:32:57 +09:00
nymkappa
e8e4fd3457
mempool.space/.../pools.json => raw.githubusercontent.com/.../pools.json 2022-03-17 16:07:58 +01:00
softsimon
18e9fc8717
Merge branch 'master' into difficulty 2022-03-17 11:43:29 +01:00
nymkappa
9252a45971
Fix pagination on /mining/blocks 2022-03-16 21:00:40 +01:00
nymkappa
41fed984cb
Fix pool get blocks API undefined start block behavior 2022-03-16 20:19:39 +01:00
nymkappa
56bf267664
Updated blocks list in /pool/{id} page 2022-03-16 18:12:02 +01:00
nymkappa
ffb5db69a8
Store hex in coinbase raw - Improve scripsig parsing 2022-03-16 12:10:18 +01:00
nymkappa
94dbec46cf
Index asciiScriptSig and display it in /mining/blocks 2022-03-15 23:33:51 +01:00
nymkappa
3cd1505128
Optimize RPC calls 2022-03-15 21:16:02 +01:00
Antoni Spaanderman
dbcc46be5f
fix and improve block time predictions
dce775e but then on the backed after refractor #1352
2022-03-15 20:39:25 +01:00
softsimon
e26beee44c
Merge node-bitcoin into the project 2022-03-15 14:44:31 +01:00
softsimon
8637059119
Difficulty adjustment refactor
fixes #1157
2022-03-14 16:48:59 +01:00
wiz
822c4256d7
Merge pull request #1358 from mempool/wiz/increase-default-indexing-blocks-amount
Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks
2022-03-14 13:15:54 +00:00
wiz
2023d36603
Cleanup MySQL unix socket code and add to sample config 2022-03-14 13:11:04 +00:00
Djuri Baars
465529b03f sed and config fix for MySQL socket, accept CLA for @dsbaars 2022-03-14 13:45:50 +01:00
Djuri Baars
7fd9e27cc2 Add MySQL socket support 2022-03-14 13:45:34 +01:00
nymkappa
edddf25917
Remove unnecessary migration version 15 2022-03-13 16:08:33 +01:00
nymkappa
0730053d5d
Use bitcoin RPC getblock because esplora returns int for difficulty - Fix some css in mining dashboard 2022-03-13 16:08:33 +01:00
nymkappa
bec3f214b5
Make sure to set avg_hashrate field to double unsigned 2022-03-13 16:08:32 +01:00
nymkappa
33897b029f
Set db connection to UTC - Fix hashrate indexing 2022-03-13 16:08:31 +01:00
wiz
81984e9df5
Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks 2022-03-13 13:57:20 +00:00