Commit graph

66 commits

Author SHA1 Message Date
wiz
c0e6b7af58
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
wiz
771d21e410
Merge branch 'master' into nymkappa/bugfix/missing-last-data-charts 2022-08-08 15:59:34 +09:00
wiz
78d1ef9b1c
Merge branch 'master' into nymkappa/bugfix/unique-lightning-stats 2022-08-08 15:40:46 +09:00
nymkappa
1d106a9851
Fix CLN channel short_id conversion 2022-08-08 07:50:50 +02: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
f6d6ea5d31
Gracefully attempt to reconnect to cln upon error 2022-08-04 13:05:15 +02:00
nymkappa
6be2985b40
Fix daily LN stats crash 2022-08-03 12:13:55 +02:00
nymkappa
a25af16f7c
Fetch funding tx for clightning channels 2022-08-02 18:34:20 +02:00
nymkappa
00cd3ee9bf
Don't run the ln network update if the graph is emtpy 2022-08-02 18:34:19 +02:00
nymkappa
80f1ee45b5
Rebased using the update lightning interfaces 2022-08-02 18:34:19 +02:00
nymkappa
eb90434c28
Delete historical generation code 2022-08-02 18:34:19 +02:00
nymkappa
b6ba3c5781
Ignore channels fee rate > 5000ppm or base fee > 5000 in stats 2022-08-02 18:15:34 +02:00
nymkappa
5b521cfc7c
Don't insert gapped gossip data upon restart 2022-08-02 17:56:46 +02:00
nymkappa
d7f2f4136c
Small cleanup 2022-08-02 16:00:40 +02:00
nymkappa
5d7e42195f
Reduce massive gaps in the imported historical LN data 2022-08-02 16:00:40 +02:00
nymkappa
7fdf95ad34
Remove buggy tx vout value fetching and improve performances 2022-08-02 16:00:40 +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
wiz
48496abbf4
Merge branch 'master' into nymkappa/bugfix/channels-update-status 2022-07-27 18:53:29 +00:00
nymkappa
f57fa1286c
Don't mark closed channels as inactive 2022-07-27 17:24:31 +02:00
nymkappa
edfa0d6074
Don't set all channels to inactive when the updater runs 2022-07-27 17:21:24 +02:00
nymkappa
d6e9500bee
[LN stats] Ony consider channel stats = 1 for stats calculation 2022-07-27 16:19:47 +02:00
wiz
ad9e989598
Correct maxmind geoip-db GEOLITE2_ISP to GEOIP2_ISP 2022-07-23 23:53:28 +02:00
nymkappa
ffe22399d5
Integrate GeoIP2 ISP database 2022-07-23 23:33:13 +02:00
wiz
8c667a76a7
Merge pull request #2112 from mempool/nymkappa/bugfix/price-updater-incorrect-log
Ignore Kraken historical price without USD
2022-07-17 18:29:16 -05:00
nymkappa
93e93d44f4
Use country iso code in ln nodes per country page url 2022-07-17 09:53:02 +02:00
nymkappa
d6158060e7
Ignore Kraken historical price without USD 2022-07-16 09:27:07 +02:00
softsimon
c6f33310e5
Merge pull request #2094 from mempool/nymkappa/debug/insert-once-channels-stats-init
Make sure we have initial channel stats to display after fresh run
2022-07-14 18:51:26 +02:00
nymkappa
1988971290
Make sure we have initial channel stats to display after fresh run 2022-07-12 19:59:37 +02:00
wiz
a4946de028
Merge remote-tracking branch 'origin/master' into nymkappa/feature/block-fee-usd-chart 2022-07-12 14:55:47 +02:00
nymkappa
3d2ff7ef62
Store AS organization in geo_names 2022-07-12 12:12:10 +02:00
nymkappa
a97675c538
Add daily historical price - show USD in block fee reward charts 2022-07-11 23:16:48 +02:00
wiz
475bb11991
Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 18:18:20 +02:00
wiz
c888d59368
Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 18:01:15 +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
nymkappa
38ac38849e
[Indexer] Set log level accordingly - Remove indexing ETAs 2022-07-11 11:07:41 +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
nymkappa
e8175a90f4
Replace json prices.avg_prices with table columns - update prices logs 2022-07-06 10:46:00 +02:00