141 Commits

Author SHA1 Message Date
softsimon
f7fc4cf962 Merge branch 'master' into nymkappa/bugfix/price-update-invalid-response 2023-02-18 16:59:11 +07:00
nymkappa
a518239eb9 Remove bisq price fetch and replace it with our in house price index 2023-02-15 16:05:14 +09:00
softsimon
dbdf1815bb Merge branch 'master' into nymkappa/bugfix/tx-fetcher-crash 2023-01-26 17:02:35 +04:00
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
nymkappa
cf08e7cf38 Fix crash when channel short id is not valid 2022-12-06 10:51:01 +01:00
Mononaut
f46e8bd3ce Make forensics backend call rate limiting configurable 2022-12-03 11:17:53 +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
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
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
wiz
0fc98b9d0f Merge branch 'master' into mononaut/ln-penalty-scan-optimization 2022-11-23 19:14:20 +09:00
Mononaut
38fea03f94 move long-running forensics scans to separate service, throttle backend calls 2022-11-23 10:38:24 +09:00
wiz
f60eefcf43 Merge branch 'master' into nymkappa/bugfix/404-ftx-not-found 2022-11-22 18:18:14 +09:00
softsimon
3b9e3c33f6 Support Maxmind Lite
fixes #2553
2022-11-22 16:13:27 +09:00
Mononaut
b152582d44 Store & expose node extension TLV data in backend 2022-11-21 20:27:03 +09:00
nymkappa
5afe520de5 Remove FTX from the price feeds 2022-11-20 19:23:51 +09:00
Mononaut
369b6f55d3 Rescan unresolved LN channel force closes 2022-11-19 17:30:56 +09:00
Mononaut
0550332d93 Fix ln close classification logic 2022-10-20 17:59:36 +00:00
nymkappa
f0ded96c22 Log correct maxmind mysql updates - fix stats import processed files counter 2022-09-09 14:59:49 +02:00
softsimon
d94131b1db Merge pull request #2518 from mempool/nymkappa/feature/only-scan-closed-chan-new-block
Only scan for closed channels when there is a new block
2022-09-08 17:44:10 +02:00
nymkappa
bd677e9ba8 Only scan for closed channels when there is a new block 2022-09-06 11:42:19 +02:00
Erik Arvstedt
a4d54dec47 backend: Read mtgox-weekly.json from dist 2022-09-02 11:10:47 +02:00
nymkappa
207a2eb9b6 Save latest node channel update in node.updated_at field in db 2022-08-31 09:37:19 +02:00
nymkappa
24251843dc Harcode lunanode, FDCservers and cogent asn 2022-08-30 17:06:48 +02:00
wiz
dfbab0a6a6 Merge pull request #2441 from mempool/nymkappa/feature/ip-check
Fix wrong ASN for Lunanode ip ranges
2022-08-30 15:53:19 +02:00
nymkappa
6fba330263 Fix wrong ASN for Lunanode ip ranges 2022-08-29 23:36:18 +02:00
wiz
cacc9d72f1 Merge branch 'master' into nymkappa/bugfix/historical-node-decoding 2022-08-29 23:05:30 +02:00
nymkappa
094ee66bc0 Update node sockets during historical import so we don't have to truncate 2022-08-29 09:01:07 +02:00
nymkappa
ed6e79d86e Format historical node sockets with update topology outputs 2022-08-29 08:43:26 +02:00
wiz
ac125464c7 Merge branch 'master' into nymkappa/bugfix/disable-ln-import-testsignet 2022-08-28 14:24:05 +02:00
nymkappa
5d35f7519f Disable LN historical import if not mainnet 2022-08-28 08:24:29 +02:00
nymkappa
c5159105d5 Manually delete some lightning_stats rows once the topology import is completed 2022-08-28 07:59:23 +02:00
nymkappa
b66a87e50c Hardcode some condition to invalidate imported topology files 2022-08-28 07:59:23 +02:00
softsimon
cf662ca070 Store capacity and channels in nodes table 2022-08-26 02:31:14 +04:00
nymkappa
0f258f25d7 Import historical nodes 2022-08-24 12:12:16 +02:00
wiz
8b2f0b5a6e Merge branch 'master' into nymkappa/bugfix/db-deadlock 2022-08-24 00:08:17 +09:00
wiz
6e7b037b28 Merge branch 'master' into nymkappa/bugfix/handle-esplora-error 2022-08-23 23:08:13 +09:00
nymkappa
45e71d4fb0 Wrap esplora call into try/catch when scanning channel forensics 2022-08-23 15:53:15 +02:00
wiz
91a0752db7 Merge branch 'master' into nymkappa/bugfix/db-deadlock 2022-08-23 22:36:07 +09:00
nymkappa
3b6b93e5f2 Await mysql queries in order to avoid deadlock 2022-08-22 22:31:21 +02:00
nymkappa
68fac0ebe9 Fix "cannot update channel list" error 2022-08-22 22:15:15 +02:00