625 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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