175 Commits

Author SHA1 Message Date
softsimon
c779a0f55b Base expiry on update frequency 2023-08-04 13:26:19 +09:00
softsimon
6bcea3abf9 Fixing cycle reset at top of the hour 2023-08-04 13:23:09 +09:00
softsimon
a59144ec84 Changing setting to per hour 2023-08-03 18:22:52 +09:00
softsimon
16b75c6ab3 Update price at least every hour 2023-08-03 17:43:02 +09:00
softsimon
4ffc3d0ce5 Allow priceUpdater to run without storing to database 2023-08-03 17:43:02 +09:00
softsimon
8c442fe207 Refactoring price update config. Fixing last price time. 2023-08-03 17:43:02 +09:00
Mononaut
59937c2ce9 configurable price update frequency 2023-08-03 17:43:02 +09:00
nymkappa
517acbb1dc [lightning] save node features as stringified json array in db 2023-07-16 18:17:48 +09:00
nymkappa
d0e64138bb [price updater] update latestPrices timestamp before pushing to websocket 2023-07-15 17:29:29 +09:00
wiz
d39261680e Merge branch 'master' into nymkappa/scan-closed-channel-no-mempool 2023-07-12 16:00:52 +09:00
nymkappa
f3b9413ad8 [indexer] show github sha when successufly updated pools json 2023-05-30 10:42:41 -07:00
wiz
714251de64 Merge branch 'master' into nymkappa/scan-closed-channel-no-mempool 2023-05-11 11:04:19 -05:00
softsimon
df995585fc Change forensic logging to debug 2023-05-02 17:39:02 +04:00
nymkappa
8dbba64994 Wrap lightning stats importer into try/catch 2023-04-01 14:56:18 +09:00
nymkappa
9d9955c2be Cleanup some log 2023-04-01 12:00:54 +09:00
nymkappa
a80222dc19 Make sure to scan closed channels even if config.MEMPOOL.ENABLE = false 2023-03-28 23:07:50 +09:00
softsimon
72c62cb80a Catch exeptions in Lightning stats
fixes #3486
2023-03-20 20:46:11 +09:00
nymkappa
598b7e086a Don't fetch prices on signet/testnet, always show 0 2023-03-14 15:39:15 +09:00
nymkappa
b7a15b0ed1 Disable pool update when running lightning only 2023-03-13 17:24:23 +09:00
softsimon
ccc4482bac Merge pull request #3212 from mempool/nymkappa/bugfix/initial-pool-download
Fix initial pool update when db is empty
2023-03-05 15:44:14 +09:00
wiz
f5bd9c38a4 Merge pull request #3215 from mempool/nymkappa/bugfix/price
Handle missing price (show 0)
2023-03-05 15:34:31 +09:00
nymkappa
81fecf9a80 Fix initial pool update when db is empty 2023-03-05 08:27:30 +09:00
nymkappa
184698aeee Move some notice into info 2023-03-05 08:23:05 +09:00
nymkappa
adf9c12eb5 Handle missing price (show 0) 2023-03-04 10:51:13 +09:00
nymkappa
c2dff72387 Merge branch 'master' into nymkappa/bugfix/ignore-too-low-lightning-timestamps 2023-03-01 11:08:43 +09:00
nymkappa
cb0febabbb Document --update-pools - Added some logs 2023-02-26 14:19:10 +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
e9bc04a20e Use regexes instead of tags 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
53b9310169 Redo/Fix completely failed PR #3092 + add PR #3105 2023-02-23 09:50:34 +09:00
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