1339 Commits

Author SHA1 Message Date
softsimon
92a356f10e Merge branch 'master' into nymkappa/bugfix/cleanup-logs 2023-01-05 00:46:21 +04:00
nymkappa
3ca72e3af0 Don't try to import LN historical stats if no topology folder is set 2022-12-28 12:13:41 +01:00
wiz
b650937c8c Merge branch 'master' into nymkappa/bugfix/price-update-invalid-response 2022-12-26 13:13:30 +09:00
wiz
da4161d64f Merge branch 'master' into mononaut/cpfp-indexer-fixes 2022-12-25 22:41:39 +09:00
nymkappa
f177ee44ec Fix error 500 when querying /blocks using "INDEXING_BLOCKS_AMOUNT": 0 2022-12-16 17:43:37 +01:00
Mononaut
3b0edf2e01 Fix & reenable cpfp indexer optimized path 2022-12-07 18:58:03 -06:00
Mononaut
87ce2cbc7a improve thread error handling 2022-12-07 14:52:02 -06:00
Mononaut
d2285a0526 Refactor advanced gbt to minimize inter-thread comms 2022-12-07 14:52:01 -06:00
softsimon
5bd9d76ed9 Merge pull request #2790 from mempool/nymkappa/bugfix/sql-query
Handle ISP with no nodes
2022-12-07 17:40:36 +04:00
softsimon
58eeb44db3 Merge pull request #2779 from mempool/mononaut/fix-block-summaries-repo
Fix block summaries repo upsert race condition
2022-12-07 17:23:00 +04:00
softsimon
38224acc01 Merge pull request #2778 from mempool/mononaut/advanced-gbt-fixes
Fix bugs related to advanced GBT transaction selection
2022-12-07 16:13:16 +04:00
nymkappa
cf08e7cf38 Fix crash when channel short id is not valid 2022-12-06 10:51:01 +01:00
nymkappa
22a4ea3159 Handle ISP with no nodes 2022-12-05 08:11:46 +01:00
Mononaut
ba4a063cc7 fix post-block advanced gbt call 2022-12-03 12:11:21 +09:00
Mononaut
077789af41 fix skipped descendant updates on tx inclusion 2022-12-03 12:10:54 +09:00
Mononaut
f46e8bd3ce Make forensics backend call rate limiting configurable 2022-12-03 11:17:53 +09:00
Mononaut
5871e04636 Fix block summaries repo upsert race condition 2022-12-03 10:49:10 +09:00
nymkappa
4631ba67b7 Cleanup logs 2022-12-01 15:52:06 +01:00
nymkappa
4bb812a7e6 Make sure exchange API response format is valid before using it 2022-12-01 12:05:23 +01:00
wiz
b490e27670 Merge branch 'master' into nymkappa/bugfix/node-map 2022-12-01 16:55:22 +09:00
softsimon
7ebd3bc282 Run schema update synchronously 2022-12-01 14:41:37 +09:00
Mononaut
0b6784f675 block audit truncation in separate db migrations. bump timeout to 1 hour. 2022-11-30 23:03:51 +09:00
Mononaut
fcf9d2f1df save db schema version after each successful migration 2022-11-30 22:58:01 +09:00
wiz
fde6f9b68a Merge branch 'master' into simon/mempool-gbt-config 2022-11-30 21:45:25 +09:00
Mononaut
112529646c improve precision of output attribution for mutual closes 2022-11-30 18:24:00 +09:00
Mononaut
87e89ff046 merge forensics columns into main channels table 2022-11-30 18:24:00 +09:00
Mononaut
4a7495db07 move linked channel scan into forensics task, add backend throttling 2022-11-30 18:24:00 +09:00
Mononaut
741c1812a9 handle batched channel opens. infer funding balances in both directions. 2022-11-30 18:24:00 +09:00
Mononaut
ebb52d5e6e break long-running forensics tasks 2022-11-30 18:24:00 +09:00
Mononaut
6162660d84 detect channels opened from change outputs 2022-11-30 18:24:00 +09:00
Mononaut
be86057ed2 detect links between channel close and open txs 2022-11-30 18:23:59 +09:00
softsimon
4f8d7efb84 Mempool GBT config 2022-11-30 17:56:53 +09:00
wiz
5347b86824 Disable optimization in CPFP indexing when block summaries indexing is enabled 2022-11-29 23:47:43 +09:00
wiz
aef131b1bf Merge branch 'master' into mononaut/index-cpfp-info 2022-11-29 16:41:12 +09:00
wiz
812c7e81ce Merge branch 'master' into nymkappa/bugfix/block-timestamp 2022-11-29 14:25:45 +09:00
Mononaut
25c74c4700 get blocks from esplora for cpfp indexer 2022-11-29 11:42:08 +09:00
Mononaut
0a1403012b optimize cpfp indexing 2022-11-29 11:42:08 +09:00
Mononaut
f89a99e24f adjust database migration compatibility 2022-11-29 11:42:08 +09:00
Mononaut
47f8551429 return more complete cpfp data for mempool transactions 2022-11-29 11:42:08 +09:00
Mononaut
bc076a850e calculate & index cpfp packages 2022-11-29 11:42:07 +09:00
nymkappa
f81d833813 Disable ON UPDATE for blocks.blockTimestamp field 2022-11-28 17:33:07 +09:00
Mononaut
b25e362282 only query blocks_audits on bitcoin networks 2022-11-28 14:26:28 +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
Mononaut
b5b489acde merge block-audit and block pages 2022-11-24 17:10:53 +09:00
Mononaut
7d4f67d5f7 save 'fresh' transactions in block audit repository 2022-11-24 17:10:53 +09:00
nymkappa
42dd9ef298 Don't select nodes which do not have country info 2022-11-24 16:56:13 +09:00
Mononaut
ef3330ed9a reduce forensics throttle delay from 100ms to 20ms 2022-11-23 19:32:14 +09:00
softsimon
8fba182db6 Update backend/src/tasks/lightning/forensics.service.ts 2022-11-23 19:24:41 +09:00