730 Commits

Author SHA1 Message Date
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
nymkappa
ed75a2dc6b Most recent week was missing from indexing - Post merge fixes 2022-03-22 09:20:16 +09:00
nymkappa
5d2d717ee2 Work using native javascript milliseconds timestamp 2022-03-22 08:44:54 +09:00
nymkappa
0f4dc98ccf If we have incomplete data for the day/week, don't index hashrate 2022-03-21 20:32:57 +09:00
nymkappa
fa574f6d73 mempool.space/.../pools.json => raw.githubusercontent.com/.../pools.json 2022-03-17 16:07:58 +01:00
softsimon
ebad5f448a Merge branch 'master' into difficulty 2022-03-17 11:43:29 +01:00
nymkappa
671c25870c Fix pagination on /mining/blocks 2022-03-16 21:00:40 +01:00
nymkappa
32f38cddba Fix pool get blocks API undefined start block behavior 2022-03-16 20:19:39 +01:00
nymkappa
36a83812b4 Updated blocks list in /pool/{id} page 2022-03-16 18:12:02 +01:00
nymkappa
fdea74db0a Store hex in coinbase raw - Improve scripsig parsing 2022-03-16 12:10:18 +01:00
nymkappa
acaa6c6e45 Index asciiScriptSig and display it in /mining/blocks 2022-03-15 23:33:51 +01:00
nymkappa
2c431d5df5 Optimize RPC calls 2022-03-15 21:16:02 +01:00
Antoni Spaanderman
7183b588aa fix and improve block time predictions
dce775e but then on the backed after refractor #1352
2022-03-15 20:39:25 +01:00
softsimon
21cbea9e0a Merge node-bitcoin into the project 2022-03-15 14:44:31 +01:00
softsimon
45206ea90e Difficulty adjustment refactor
fixes #1157
2022-03-14 16:48:59 +01:00
wiz
5a04ffd128 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
d8ac35027e Cleanup MySQL unix socket code and add to sample config 2022-03-14 13:11:04 +00:00
Djuri Baars
320ce82885 sed and config fix for MySQL socket, accept CLA for @dsbaars 2022-03-14 13:45:50 +01:00
Djuri Baars
bc729dc6f4 Add MySQL socket support 2022-03-14 13:45:34 +01:00
nymkappa
2900374bc8 Remove unnecessary migration version 15 2022-03-13 16:08:33 +01:00
nymkappa
24310d0c8f 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
aa2480507c Make sure to set avg_hashrate field to double unsigned 2022-03-13 16:08:32 +01:00
nymkappa
c601f92732 Set db connection to UTC - Fix hashrate indexing 2022-03-13 16:08:31 +01:00
wiz
398dbb5e98 Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks 2022-03-13 13:57:20 +00:00
nymkappa
112880f332 Add pagination on /mining/blocks 2022-03-12 16:49:15 +01:00
nymkappa
aa7476807b Create working template for the new blocks page 2022-03-12 16:49:15 +01:00
nymkappa
cfbfa2f443 int -> bigint for all satoshis related indexed data 2022-03-12 15:48:22 +01:00
nymkappa
d7a270f0da Only insert hashrate states for bitcoin 2022-03-12 15:48:21 +01:00
nymkappa
42e31b8410 Don't try to reset hashrates states if not bitcoin 2022-03-12 15:48:14 +01:00
nymkappa
e48df811a6 Make blocks.fees larger data type 2022-03-11 20:42:07 +01:00
softsimon
3782934045 Merge pull request #1320 from antonilol/regtest-1
regtest fixes
2022-03-11 14:07:58 +01:00
nymkappa
4f403d3808 Fix block indexing log 2022-03-10 14:23:29 +01:00
nymkappa
74d9762821 Index more data using getblockstats core RPC 2022-03-10 14:21:11 +01:00
nymkappa
950be63da0 Index more data using getblockstats core RPC 2022-03-10 14:08:01 +01:00
nymkappa
3558389eea Index weekly hashrates using last Monday midnight - Fix charts tooltip 2022-03-10 11:53:49 +01:00
nymkappa
a455e769e5 Increment db version to 10 (26ee4204ac68ee718338db0adb4789cce2976112) 2022-03-09 18:51:27 +01:00
Antoni Spaanderman
c45f301424 Merge branch 'master' into regtest-1 2022-03-09 17:55:09 +01:00
softsimon
a63c07e39e Display unknown for non standard output types
fixes #1262
2022-03-09 16:28:26 +01:00