183 Commits

Author SHA1 Message Date
nymkappa
3a1fd2a463 Block prediction -> Block health - Fix wrong chart download name 2023-05-14 16:32:11 -05:00
nymkappa
de8a69aa84 [indexing] delete dead code 2023-04-06 11:55:25 +09:00
nymkappa
ad5562a549 [indexing] save missing fee_percentiles and median_fee_amt when indexing on the fly 2023-04-06 11:55:17 +09:00
nymkappa
f4c3e77c71 [indexing] fix typescript issue, reading invalid field 2023-04-06 11:54:22 +09:00
softsimon
0d6e68100b Merge pull request #3442 from mempool/nymkappa/reorg-keep-templates
When a re-org happens, keep the block templates for audit
2023-04-03 12:24:05 +09:00
nymkappa
05bd0fe42f Don't delete transactions when checking if the current chain is valid 2023-03-31 12:22:26 +09:00
nymkappa
5bed867b5e Keep re-org'ed block summaries in the database 2023-03-31 12:08:05 +09:00
nymkappa
d392c28c7f Add missing sanity check when fetching single price datapoint 2023-03-29 17:33:07 +09:00
nymkappa
38c08c4e25 When a re-org happens, keep the block templates for audit 2023-03-29 17:32:17 +09:00
Mononaut
2da2a6f612 Use effective fee rate heuristics for block fee span 2023-03-28 16:19:06 +09:00
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