Commit Graph

616 Commits

Author SHA1 Message Date
nymkappa
2644f2fb07
Move reward stats to component - Add /api/v1/mining/reward-stats/{blockCount} 2022-03-23 11:54:31 +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
nymkappa
d8e986996f
Add pagination on /mining/blocks 2022-03-12 16:49:15 +01:00
nymkappa
0e0331d8ab
Create working template for the new blocks page 2022-03-12 16:49:15 +01:00
nymkappa
0dbc725c39
int -> bigint for all satoshis related indexed data 2022-03-12 15:48:22 +01:00
nymkappa
cd12e9bde9
Only insert hashrate states for bitcoin 2022-03-12 15:48:21 +01:00
nymkappa
87405ec4a5
Don't try to reset hashrates states if not bitcoin 2022-03-12 15:48:14 +01:00
nymkappa
afe7a360f7
Make blocks.fees larger data type 2022-03-11 20:42:07 +01:00
softsimon
9dbfd96249
Merge pull request #1320 from antonilol/regtest-1
regtest fixes
2022-03-11 14:07:58 +01:00
nymkappa
9a71c15b49
Fix block indexing log 2022-03-10 14:23:29 +01:00
nymkappa
8ca3f6e72b
Index more data using getblockstats core RPC 2022-03-10 14:21:11 +01:00
nymkappa
d82f9c4998
Index more data using getblockstats core RPC 2022-03-10 14:08:01 +01:00
nymkappa
9ccb23f651
Index weekly hashrates using last Monday midnight - Fix charts tooltip 2022-03-10 11:53:49 +01:00
nymkappa
643e5ceb7f
Increment db version to 10 (26ee4204ac) 2022-03-09 18:51:27 +01:00
Antoni Spaanderman
2cd24624b9
Merge branch 'master' into regtest-1 2022-03-09 17:55:09 +01:00
softsimon
381a310216
Display unknown for non standard output types
fixes #1262
2022-03-09 16:28:26 +01:00
Antoni Spaanderman
8d42b38234
simplify if statement 2022-03-09 11:51:36 +01:00
Antoni Spaanderman
b2f9c7db2d
add non null assertion 2022-03-08 20:59:46 +01:00
nymkappa
f23f7f1cfa
Cleanup empty block in api response - Update cache warmer 2022-03-08 20:46:19 +01:00
nymkappa
2b5d972e8d
Only show relevant hashrate in the pool page 2022-03-08 20:46:18 +01:00
nymkappa
ad2dcc46e4
Added pool hashrate chart 2022-03-08 20:46:14 +01:00
Antoni Spaanderman
71402f21c6
revert "add network regtest" 1f0ae60 2022-03-08 19:59:18 +01:00
Antoni Spaanderman
d179a563e4
Merge branch 'master' into regtest-1 2022-03-08 19:45:03 +01:00
softsimon
8267344cdc
Don't push full RBF-transactions to prevent old states. 2022-03-08 18:54:49 +01:00
softsimon
b15de021f7
Fixing bug where RBF wasn't detected when using bitcoind 2022-03-08 18:39:53 +01:00
softsimon
f85771e03f
Replace by fee storage
fixes #1222
2022-03-08 18:39:53 +01:00
nymkappa
26ee4204ac
Index blocks.blockTimestamp 2022-03-08 17:10:29 +01:00
softsimon
6f3443faba
UTXO spent tracking refactor
refs #1301
2022-03-07 19:45:09 +01:00
softsimon
beae88778b
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
32d66c03c6
Truncate hashrates table only for bitcoin (db migration v9) 2022-03-07 15:56:07 +01:00