1414 Commits

Author SHA1 Message Date
softsimon
ec9c8f5099 Merge branch 'master' into nymkappa/bugfix/wipe-cache-reindexing 2023-03-03 11:09:31 +09:00
softsimon
58d94f0ed7 Merge pull request #3181 from mempool/nymkappa/run-forensics-last
Run ln forensics last
2023-03-02 14:21:25 +09:00
softsimon
4313c564c6 Merge pull request #3190 from mempool/nymkappa/cleanup-get-blocks
Remove useless code
2023-03-02 13:55:46 +09:00
nymkappa
496a551308 Remove useless code 2023-03-02 10:08:40 +09:00
Mononaut
41da74f324 Don't try to fetch cpfp if database disabled 2023-03-01 11:36:26 -06:00
wiz
abc5e0e95b Merge branch 'master' into nymkappa/unify-blocks-apis 2023-03-01 19:20:33 +09:00
wiz
2f33e0c1f2 Merge branch 'master' into nymkappa/ignore-nega-usd-price 2023-03-01 19:11:52 +09:00
nymkappa
ca9569850b Ignore negative USD prices 2023-03-01 19:11:03 +09:00
wiz
cc6f623ee9 Merge branch 'master' into nymkappa/unify-blocks-apis 2023-03-01 18:19:45 +09:00
nymkappa
f350ae7b25 Only run migration 57 if bitcoin 2023-03-01 17:33:37 +09:00
wiz
99bcf1185e Merge branch 'master' into nymkappa/unify-blocks-apis 2023-03-01 17:05:57 +09:00
nymkappa
7bf81f8c69 Run ln forensics last 2023-03-01 16:52:24 +09:00
nymkappa
c66607a04f Fix chain divergence detection upon new block (use the new interface) 2023-03-01 13:50:15 +09:00
softsimon
1561e26045 Merge branch 'master' into nymkappa/feature/align-dashboards 2023-03-01 06:31:25 +04:00
softsimon
38375662f8 Merge branch 'master' into nymkappa/bugfix/ignore-too-low-lightning-timestamps 2023-03-01 06:20:56 +04:00
softsimon
d3dde54339 Merge branch 'master' into nymkappa/bugfix/node-sockets-lnd 2023-03-01 06:08:44 +04:00
nymkappa
c2dff72387 Merge branch 'master' into nymkappa/bugfix/ignore-too-low-lightning-timestamps 2023-03-01 11:08:43 +09:00
nymkappa
393a89918f Wipe the disk cache since we have a new block structure 2023-02-27 19:06:46 +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
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
wiz
0567dbd8fa Merge branch 'master' into nymkappa/feature/align-dashboards 2023-02-26 13:07:35 +09:00
nymkappa
6651da6d7b Silence ENOENT exception when we wipe the nodejs backend cache 2023-02-26 11:37:57 +09:00
nymkappa
50ad3eee63 When we re-index blocks due to mining pools change, wipe the nodejs backend cache 2023-02-26 11:30:12 +09:00
nymkappa
73a3b35296 [LND] Nullify zeroed timestamps 2023-02-25 18:30:29 +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