110 Commits

Author SHA1 Message Date
nymkappa
f61a04ec60 Fix daily LN stats crash 2022-08-03 12:13:55 +02:00
nymkappa
d9077412e2 Fetch funding tx for clightning channels 2022-08-02 18:34:20 +02:00
nymkappa
06a404d9ba Don't run the ln network update if the graph is emtpy 2022-08-02 18:34:19 +02:00
nymkappa
918a428237 Rebased using the update lightning interfaces 2022-08-02 18:34:19 +02:00
nymkappa
1871111b4e Delete historical generation code 2022-08-02 18:34:19 +02:00
nymkappa
822a677624 Ignore channels fee rate > 5000ppm or base fee > 5000 in stats 2022-08-02 18:15:34 +02:00
nymkappa
b630816b2e Don't insert gapped gossip data upon restart 2022-08-02 17:56:46 +02:00
nymkappa
71abbae05d Small cleanup 2022-08-02 16:00:40 +02:00
nymkappa
2bddd97e85 Reduce massive gaps in the imported historical LN data 2022-08-02 16:00:40 +02:00
nymkappa
5205d92486 Remove buggy tx vout value fetching and improve performances 2022-08-02 16:00:40 +02:00
nymkappa
2c07b7f4fb Make sure to not count channels twice 2022-08-02 16:00:40 +02:00
nymkappa
8a93a0fcf3 We don't need a synced node to import historical data 2022-08-02 16:00:39 +02:00
nymkappa
5eed515bdb Re-use LN stats importer code to log daily LN stats 2022-08-02 16:00:39 +02:00
nymkappa
6ea171e45a Integrate LN stats importer into the main process 2022-08-02 16:00:39 +02:00
nymkappa
068f7392dd Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
Antoni Spaanderman
5264738e5f use lnd rest api 2022-07-30 21:52:58 +02:00
wiz
0c646b6684 Merge branch 'master' into nymkappa/bugfix/channels-update-status 2022-07-27 18:53:29 +00:00
nymkappa
f69a3beff1 Don't mark closed channels as inactive 2022-07-27 17:24:31 +02:00
nymkappa
54d2d178fc Don't set all channels to inactive when the updater runs 2022-07-27 17:21:24 +02:00
nymkappa
d532ab93ea [LN stats] Ony consider channel stats = 1 for stats calculation 2022-07-27 16:19:47 +02:00
wiz
2878561e52 Correct maxmind geoip-db GEOLITE2_ISP to GEOIP2_ISP 2022-07-23 23:53:28 +02:00
nymkappa
6795f69343 Integrate GeoIP2 ISP database 2022-07-23 23:33:13 +02:00
Felipe Knorr Kuhn
590e56e3ce Merge branch 'master' into nymkappa/bugfix/index-blocks-prices-often 2022-07-20 20:59:27 -07:00
wiz
b420ed0ada 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
cfad17d049 Use country iso code in ln nodes per country page url 2022-07-17 09:53:02 +02:00
nymkappa
cbfd6824df Ignore Kraken historical price without USD 2022-07-16 09:27:07 +02:00
nymkappa
2b4917b685 Wait for the price updater to complete before saving blocks prices 2022-07-16 09:22:45 +02:00
softsimon
7b06ee966f 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
a496d8d09c Make sure we have initial channel stats to display after fresh run 2022-07-12 19:59:37 +02:00
wiz
b09cb3d228 Merge remote-tracking branch 'origin/master' into nymkappa/feature/block-fee-usd-chart 2022-07-12 14:55:47 +02:00
nymkappa
d5cf4a5c9a Store AS organization in geo_names 2022-07-12 12:12:10 +02:00
nymkappa
53bb16465e Add daily historical price - show USD in block fee reward charts 2022-07-11 23:16:48 +02:00
wiz
b62985bad9 Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 18:18:20 +02:00
wiz
d70a5873c4 Merge branch 'master' into nymkappa/bugfix/update-log-indexer 2022-07-11 18:01:15 +02:00
softsimon
f305f4f96f Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
softsimon
739e677c5b Run daily stats at midnight and backfill first launch 2022-07-11 14:45:25 +02:00
nymkappa
e9b7bf2838 [Indexer] Set log level accordingly - Remove indexing ETAs 2022-07-11 11:07:41 +02:00
softsimon
764a12cf4d Backfill node_stats 2022-07-10 19:28:21 +02:00
wiz
36991f0a82 Fix number of arguments in SQL query 2022-07-10 17:24:43 +02:00
nymkappa
f5b3ae5238 Index daily channel stats and show in dashboard widget 2022-07-10 17:09:01 +02:00
nymkappa
7dc7ccd1c9 Add nodes per network chart component 2022-07-10 16:22:53 +02:00
softsimon
6091272690 Replacing ln-service library and wait for graph sync. 2022-07-08 18:55:35 +02:00
nymkappa
d1cfdd5931 Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00
nymkappa
c4810bf7a1 Replace json prices.avg_prices with table columns - update prices logs 2022-07-06 10:46:00 +02:00
nymkappa
1599d202fd Implement our own price indexer with historical data 2022-06-23 15:42:42 +02:00
nymkappa
a507dfe2cb Cleanup some ops logs 2022-06-13 10:12:27 +02:00
wiz
5953939dda Merge branch 'master' into nymkappa/bugfix/db-disabled 2022-06-08 01:56:52 +09:00
nymkappa
570ea6796e Add 'db-less' mining pool tagging support 2022-06-07 11:28:39 +02:00
Ayanami
02a0ac14fd Add an ability to change circuits 2022-06-07 04:16:37 +09:00
Ayanami
31192d1893 Include SocksProxyAgent inside while loop
To address error Socks5 proxy rejected connection - Failure
2022-06-07 04:16:37 +09:00