34 Commits

Author SHA1 Message Date
nymkappa
73a3b35296 [LND] Nullify zeroed timestamps 2023-02-25 18:30:29 +09:00
softsimon
dbdf1815bb Merge branch 'master' into nymkappa/bugfix/tx-fetcher-crash 2023-01-26 17:02:35 +04:00
nymkappa
cf08e7cf38 Fix crash when channel short id is not valid 2022-12-06 10:51:01 +01:00
nymkappa
4631ba67b7 Cleanup logs 2022-12-01 15:52:06 +01: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
38fea03f94 move long-running forensics scans to separate service, throttle backend calls 2022-11-23 10:38:24 +09:00
Mononaut
b152582d44 Store & expose node extension TLV data in backend 2022-11-21 20:27:03 +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
bd677e9ba8 Only scan for closed channels when there is a new block 2022-09-06 11:42:19 +02:00
nymkappa
207a2eb9b6 Save latest node channel update in node.updated_at field in db 2022-08-31 09:37:19 +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
wiz
96c4ef200e Merge branch 'master' into nymkappa/feature/stop-updating-closed-channels 2022-08-21 22:05:52 +09:00
nymkappa
addddca3b4 If a channel is closed, stop updating it 2022-08-19 16:43:37 +02:00
nymkappa
b9664e1c3e Insert channels from historical data 2022-08-19 12:34:38 +02:00
nymkappa
34bd21aa8f Create and populate nodes_socket table 2022-08-13 11:01:46 +02:00
nymkappa
6b8a7ef693 Fix recursive call in LN network updater 2022-08-11 16:51:09 +02:00
nymkappa
0576f35ede Add nodes.status db field to mark nodes as inactive if needed 2022-08-09 11:17:37 +02:00
nymkappa
e720f70235 Refactor the LN backend and add more logs 2022-08-09 11:12:05 +02:00
nymkappa
4036573a09 Handle core timeout during closed channel scan, using correct config variable 2022-08-09 11:07:13 +02:00
nymkappa
295f0dd8ff Refactor the LN backend and add more logs 2022-08-09 09:20:25 +02:00
wiz
9075651897 Merge pull request #2251 from mempool/nymkappa/bugfix/clightning-crash
Don't throw an exception when cln connection is down
2022-08-08 17:28:50 +09:00
nymkappa
e8c982f815 Fix CLN channel short_id conversion 2022-08-08 07:50:50 +02:00
nymkappa
fab4f92027 Gracefully attempt to reconnect to cln upon error 2022-08-04 13:05:15 +02:00
nymkappa
06a404d9ba Don't run the ln network update if the graph is emtpy 2022-08-02 18:34:19 +02:00