173 Commits

Author SHA1 Message Date
nymkappa
883300cb2b Add new stats in mining pool page 2023-03-16 16:13:11 +09:00
Mononaut
b8644d05ba Fix memory-intensive getCPFPUnindexedBlocks mysql query 2023-03-07 21:01:54 -06:00
wiz
f5bd9c38a4 Merge pull request #3215 from mempool/nymkappa/bugfix/price
Handle missing price (show 0)
2023-03-05 15:34:31 +09:00
wiz
6bdfffce3c Merge branch 'master' into nymkappa/bugfix/price 2023-03-05 14:13:51 +09:00
nymkappa
f44cff0e72 Update some mining indexing logs 2023-03-05 08:23:04 +09:00
wiz
cb7fdca8d3 Merge branch 'master' into nymkappa/bugfix/cleanup-mining-states 2023-03-04 16:46:44 +09:00
nymkappa
2a2151890d Merge branch 'master' into nymkappa/bugfix/cleanup-mining-states 2023-03-04 10:54:02 +09:00
nymkappa
adf9c12eb5 Handle missing price (show 0) 2023-03-04 10:51:13 +09:00
nymkappa
d682cb218a Use core to fetch block because esplora/electrs still return integer difficulty 2023-03-03 13:59:17 +09:00
wiz
abc5e0e95b Merge branch 'master' into nymkappa/unify-blocks-apis 2023-03-01 19:20:33 +09:00
nymkappa
ca9569850b Ignore negative USD prices 2023-03-01 19:11:03 +09:00
nymkappa
1d71685365 Remove mining db stats - replaced by runtime state variable 2023-03-01 16:42:26 +09:00
nymkappa
c66607a04f Fix chain divergence detection upon new block (use the new interface) 2023-03-01 13:50:15 +09:00
nymkappa
91de5f4a9b Add missing match rate to the block returned from the database 2023-02-27 18:39:02 +09:00
nymkappa
8b947a6c67 Enforce BlockExtended use for block indexing - Unify /api/v1/block(s) API(s) response format 2023-02-27 18:00:00 +09:00
nymkappa
08a91828a3 Truncate coinbase data if it's too long 2023-02-26 18:24:08 +09:00
nymkappa
90bc1bc28e Update missing "pools.json" -> "pools-v2.json" 2023-02-26 13:54:43 +09:00
nymkappa
e9bc04a20e Use regexes instead of tags 2023-02-25 16:32:03 +09:00
nymkappa
8337da9b44 Rewrite mining pools parser - Re-index blocks table 2023-02-25 16:31:47 +09:00
nymkappa
c31f10e7c9 Return zeroed out fee_amt_percentiles if there is no transaction 2023-02-25 14:22:15 +09:00
nymkappa
f9932d4cd2 Cleanup block before sending response in /blocks-bulk API
Remove block_time
Index summaries on the fly
2023-02-25 14:22:15 +09:00
nymkappa
b97ff16bc2 Index coinbase signature in ascii 2023-02-25 14:22:14 +09:00
nymkappa
6372496de9 Fix fee percentiles indexing 2023-02-25 14:22:14 +09:00
nymkappa
35f213dd84 Fix median time indexing 2023-02-25 14:22:14 +09:00
nymkappa
d6a8c3c347 Compute median fee and fee percentiles in sats 2023-02-25 14:22:13 +09:00
nymkappa
4859b9c789 Fix median timestamp field - Fix reponse format when block is indexed on the fly 2023-02-25 14:22:13 +09:00
nymkappa
dc48c486f2 Remove unescessary data from the blocks-bulk API 2023-02-25 14:22:12 +09:00
nymkappa
bdcf848209 Implemented coinstatsindex indexing 2023-02-25 14:22:12 +09:00
wiz
7de512dda1 Merge branch 'master' into nymkappa/bugfix/optimize-price-frontend 2023-02-23 21:32:58 +09:00
nymkappa
2a851be439 Only display reward and block fee charts in USD due to missing historical data 2023-02-23 15:13:30 +09:00
nymkappa
a1905f624f Optimize price API response size reduce the number of query to that API 2023-02-23 13:13:20 +09:00
nymkappa
53b9310169 Redo/Fix completely failed PR #3092 + add PR #3105 2023-02-23 09:50:34 +09:00
nymkappa
72779c8244 Use historical price for older blocks and transactions 2023-02-21 12:37:27 +09:00
nymkappa
6b1c1e7cda Add avg mining pool block mathrate in pools stats API 2023-02-20 18:14:12 +09:00
nymkappa
a518239eb9 Remove bisq price fetch and replace it with our in house price index 2023-02-15 16:05:14 +09:00
wiz
b8a1a6da87 Merge branch 'master' into mononaut/fiat-selector 2023-02-15 12:10:07 +09:00
Mononaut
2d35018728 More robust error checking & handling in CPFP repositories 2023-02-02 17:37:32 -06:00
Mononaut
2d4e59fabd expose other currencies in charts APIs 2023-02-01 10:23:55 -06:00
Mononaut
6f6af762dd handle gaps in indexed CPFP data 2023-01-11 08:44:11 -06:00
Mononaut
74d0df0457 batch db inserts for cpfp data 2023-01-11 08:44:11 -06:00
Mononaut
41fdab33eb remove redundant fields from CPFP interfaces 2023-01-11 08:44:11 -06:00
Mononaut
cb8196a27a add cpfp progress marker to avoid reindexing early blocks 2023-01-11 08:44:10 -06:00
Mononaut
c68d9d8a13 compact schemas for cpfp tables 2023-01-11 08:44:10 -06:00
Mononaut
3ff2a1b9dd don't rely on blocks table for cpfp indexing progress 2023-01-11 08:44:10 -06:00
Mononaut
3b0edf2e01 Fix & reenable cpfp indexer optimized path 2022-12-07 18:58:03 -06:00
Mononaut
5871e04636 Fix block summaries repo upsert race condition 2022-12-03 10:49:10 +09:00
Mononaut
bc076a850e calculate & index cpfp packages 2022-11-29 11:42:07 +09:00
Mononaut
482805b132 move block audit endpoint from mining to bitcoin routes 2022-11-25 19:32:50 +09:00
Mononaut
1f78061c08 better fallbacks for missing block summaries data 2022-11-25 10:16:58 +09:00
Mononaut
95969f9ba7 optimize block audit scores db query 2022-11-24 17:11:45 +09:00