452 Commits

Author SHA1 Message Date
nymkappa
87df750f16 Move reward stats to component - Add /api/v1/mining/reward-stats/{blockCount} 2022-03-23 11:54:31 +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
softsimon
a63c07e39e Display unknown for non standard output types
fixes #1262
2022-03-09 16:28:26 +01:00
Antoni Spaanderman
40804b3426 simplify if statement 2022-03-09 11:51:36 +01:00
Antoni Spaanderman
95b8a77bf1 add non null assertion 2022-03-08 20:59:46 +01:00
nymkappa
216ff9f968 Cleanup empty block in api response - Update cache warmer 2022-03-08 20:46:19 +01:00
nymkappa
dd3f43f7b2 Only show relevant hashrate in the pool page 2022-03-08 20:46:18 +01:00
Antoni Spaanderman
27f6654299 Merge branch 'master' into regtest-1 2022-03-08 19:45:03 +01:00
softsimon
d265db136b Don't push full RBF-transactions to prevent old states. 2022-03-08 18:54:49 +01:00
softsimon
0d1d1ab449 Fixing bug where RBF wasn't detected when using bitcoind 2022-03-08 18:39:53 +01:00
softsimon
c7639b4768 Replace by fee storage
fixes #1222
2022-03-08 18:39:53 +01:00
nymkappa
91bef41b7e Index blocks.blockTimestamp 2022-03-08 17:10:29 +01:00
softsimon
01ff8f79a8 UTXO spent tracking refactor
refs #1301
2022-03-07 19:45:09 +01:00
softsimon
3080243bee Merge pull request #1308 from nymkappa/bugfix/fix-db-migration
Truncate hashrates table only for bitcoin (db migration v9)
2022-03-07 15:57:20 +01:00
nymkappa
020e09f86f Truncate hashrates table only for bitcoin (db migration v9) 2022-03-07 15:56:07 +01:00
softsimon
6f5729088b Merge branch 'master' into simon/track-utxos 2022-03-07 15:12:36 +01:00
softsimon
ec0f78b13a UTXO spent tracking
fixes #1301
2022-03-06 18:27:13 +01:00
nymkappa
0f1ee5f059 Use the latest timestamp in hashrate data ticker 2022-03-06 16:57:40 +01:00
nymkappa
b60e0844e9 Re-index hashrates because we have different timestamp handling 2022-03-06 16:48:14 +01:00
nymkappa
085f5e5cca Set connection pool timezone to UTC - Close mysql connections upon error 2022-03-06 16:44:09 +01:00
nymkappa
91219bff92 Remove useless mining function wrapper in backend 2022-03-06 12:52:39 +01:00
nymkappa
b6b0bebd73 Update hashrate indexing logs 2022-03-06 12:52:39 +01:00
nymkappa
ce14cd2496 Split network daily hashrate indexing and weekly pool hashrate indexing 2022-03-06 12:52:38 +01:00
softsimon
5040798e6b Merge branch 'master' into simon/address-prefix-bug 2022-03-05 17:08:23 +01:00
softsimon
22bb8b04b8 Merge branch 'master' into bugfix/stop-block-chunk-indexing-upon-error 2022-03-05 16:30:26 +01:00