1388 Commits

Author SHA1 Message Date
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
a68deda4fe Use bitcoinApiFactory when we don't need verbose blocks or confirmation number 2023-02-27 11:46:37 +09:00
wiz
204ad9ec41 Merge pull request #3158 from mempool/nymkappa/bugfix/truncate-coinbase
Truncate `coinbase_signature` and `coinbase_signature_ascii` before insertion if needed
2023-02-27 10:09:21 +09:00
nymkappa
08a91828a3 Truncate coinbase data if it's too long 2023-02-26 18:24:08 +09:00
wiz
63ca463f09 Merge branch 'master' into mononaut/block-health-calculation 2023-02-26 17:39:50 +09:00
wiz
6541dca030 Merge pull request #3154 from mempool/nymkappa/feature/new-reindex-command
Replace `--reindex=xxx,xxx` command line with `--reindex-blocks`
2023-02-26 15:55:49 +09:00
wiz
ed43cd8aa9 Merge pull request #3149 from mempool/nymkappa/bugfix/update-missing-pools-config
Update missing "pools.json" -> "pools-v2.json"
2023-02-26 15:54:35 +09:00
nymkappa
d73c4ed968 AUTOMATIC_BLOCK_REINDEXING is false by default 2023-02-26 15:41:55 +09:00
nymkappa
ca517497fa Replace --reindex=xxx,xxx command line with --reindex-blocks 2023-02-26 15:28:50 +09:00
nymkappa
cb0febabbb Document --update-pools - Added some logs 2023-02-26 14:19:10 +09:00
nymkappa
90bc1bc28e Update missing "pools.json" -> "pools-v2.json" 2023-02-26 13:54:43 +09:00
nymkappa
38d5774c52 Log the whole exception in pool parser 2023-02-25 17:12:50 +09:00
nymkappa
6549a54554 Remove duplicated db transaction 2023-02-25 17:05:58 +09:00
nymkappa
5234f11928 Increase db schema version to 56 2023-02-25 16:48:11 +09:00
nymkappa
e9bc04a20e Use regexes instead of tags 2023-02-25 16:32:03 +09:00
nymkappa
8bd11f0598 Update pool parser to work with no database 2023-02-25 16:32:03 +09:00
nymkappa
b8b6c46f87 Update missing POOLS_JSON_URL config 2023-02-25 16:32:03 +09:00
nymkappa
6861e1dadc Disable mining pools update if AUTOMATIC_BLOCK_REINDEXING is not set - Re-index unknown blocks when a new pool is added 2023-02-25 16:32:03 +09:00
nymkappa
533f0ac897 Point to the new mining pool files pools-v2.json 2023-02-25 16:32:02 +09:00
nymkappa
8337da9b44 Rewrite mining pools parser - Re-index blocks table 2023-02-25 16:31:47 +09:00
nymkappa
0d1a0df044 Add missing truncate blocks table 2023-02-25 14:22:17 +09:00
nymkappa
9772fcf9ff Remove duplicated entry in backend/src/__fixtures__/mempool-config.template.json 2023-02-25 14:22:17 +09:00
nymkappa
06a83efef0 Add config.MEMPOOOL.MAX_BLOCKS_BULK_QUERY parameter (default to 0, API disable) 2023-02-25 14:22:17 +09:00
nymkappa
bb2db0fe93 Do not download orphaned block if headers-only 2023-02-25 14:22:17 +09:00
nymkappa
8f60ce05e8 Increase cache schema version 2023-02-25 14:22:16 +09:00
nymkappa
b028df0ff1 Format percentiles in a more verbose way 2023-02-25 14:22:16 +09:00
nymkappa
b50b34c5f9 Add missing coinbase_signature_ascii 2023-02-25 14:22:16 +09:00
nymkappa
613f69e401 previousblockhash -> previous_block_hash 2023-02-25 14:22:15 +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
04bbb3c6cc Remove block_time from indexed fields 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
64831840b9 Dont compute fee percentile / median fee when indexing is disabled because we need summaries 2023-02-25 14:22:14 +09:00
nymkappa
35f213dd84 Fix median time indexing 2023-02-25 14:22:14 +09:00
nymkappa
b0ba5945bf Wrap orphaned blocks updater into try/catch 2023-02-25 14:22:13 +09:00
nymkappa
6083b79d5a List orphaned blocks in the new blocks-bulk API 2023-02-25 14:22:13 +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
nymkappa
2b39fa4cfa Get blocks data set by bulk (non indexed) 2023-02-25 14:22:11 +09:00
nymkappa
1656e70cc6 Fix DB migration 54 breaking liquid 2023-02-24 10:41:17 +09:00
wiz
7de512dda1 Merge branch 'master' into nymkappa/bugfix/optimize-price-frontend 2023-02-23 21:32:58 +09:00
softsimon
54a1e58894 Merge pull request #3113 from mempool/nymkappa/bugfix/usd-charts-only
Show only USD in block fees/rewards charts
2023-02-23 14:50:32 +04:00
wiz
867c738e5e Merge branch 'master' into mononaut/block-health-calculation 2023-02-23 15:27:04 +09:00
wiz
bdaf9c3476 Merge pull request #3068 from mempool/mononaut/raise-memory-limits
Raise production memory limits
2023-02-23 15:26:53 +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
1000e30b7f Add missing db schema incrementation 2023-02-23 14:52:29 +09:00