25 Commits

Author SHA1 Message Date
nymkappa
7e356ef0a0
Fix recursive call in LN network updater 2022-08-11 16:51:09 +02:00
nymkappa
61e512b8f7
Refactor the LN backend and add more logs 2022-08-09 11:12:05 +02:00
nymkappa
6a52725b63
Make sure we work with integer in the stats importer 2022-08-09 10:28:40 +02:00
nymkappa
47363b477e
Refactor the LN backend and add more logs 2022-08-09 09:20:25 +02:00
wiz
771d21e410
Merge branch 'master' into nymkappa/bugfix/missing-last-data-charts 2022-08-08 15:59:34 +09:00
nymkappa
c01c610bb3
Don't insert stats in the future 2022-08-05 12:43:26 +02:00
nymkappa
5a50a0d973
Make sure lightning stats are not duplicated in db 2022-08-05 12:32:20 +02:00
nymkappa
54669281de
Run node stats every 10 minutes, only keep the latest entry per day 2022-08-04 18:27:36 +02:00
nymkappa
6be2985b40
Fix daily LN stats crash 2022-08-03 12:13:55 +02:00
nymkappa
5287490894
Make sure to not count channels twice 2022-08-02 16:00:40 +02:00
nymkappa
b246c6f4c3
We don't need a synced node to import historical data 2022-08-02 16:00:39 +02:00
nymkappa
2daf94f65a
Re-use LN stats importer code to log daily LN stats 2022-08-02 16:00:39 +02:00
nymkappa
91ada9ce75
Integrate LN stats importer into the main process 2022-08-02 16:00:39 +02:00
nymkappa
4ea1e98547
Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
Antoni Spaanderman
887fb13f34
use lnd rest api 2022-07-30 21:52:58 +02:00
nymkappa
d6e9500bee
[LN stats] Ony consider channel stats = 1 for stats calculation 2022-07-27 16:19:47 +02:00
nymkappa
1988971290
Make sure we have initial channel stats to display after fresh run 2022-07-12 19:59:37 +02:00
softsimon
519494668b
Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
softsimon
1c86273059
Run daily stats at midnight and backfill first launch 2022-07-11 14:45:25 +02:00
softsimon
665d85204b
Backfill node_stats 2022-07-10 19:28:21 +02:00
wiz
9c6a28d9b0
Fix number of arguments in SQL query 2022-07-10 17:24:43 +02:00
nymkappa
9000b6b18e
Index daily channel stats and show in dashboard widget 2022-07-10 17:09:01 +02:00
nymkappa
d2135a374a
Add nodes per network chart component 2022-07-10 16:22:53 +02:00
softsimon
73c4a934ce
Replacing ln-service library and wait for graph sync. 2022-07-08 18:55:35 +02:00
nymkappa
a238420d7f
Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00