1186 Commits

Author SHA1 Message Date
wiz
485ca7a921 Merge branch 'master' into nymkappa/bugfix/missing-data-node-page 2022-08-05 07:55:11 +00:00
nymkappa
6317d0867a Run node stats every 10 minutes, only keep the latest entry per day 2022-08-04 18:27:36 +02:00
nymkappa
1bed687e76 Re-applied missing fix from https://github.com/mempool/mempool/pull/2233 2022-08-04 17:50:49 +02:00
nymkappa
fab4f92027 Gracefully attempt to reconnect to cln upon error 2022-08-04 13:05:15 +02:00
nymkappa
7b73d1c4dc Fix node page and display real time data 2022-08-04 11:30:32 +02:00
nymkappa
3c9403ba6d When LN backend crashed, catch the error and restart after 1 minute 2022-08-03 12:43:41 +02:00
nymkappa
f61a04ec60 Fix daily LN stats crash 2022-08-03 12:13:55 +02:00
wiz
f1bcf113ef Merge branch 'master' into nymkappa/bugfix/top-nodes-queries 2022-08-02 23:53:03 +00: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
ae006579a6 Wrote some utility functions to convert clightning output to our db schema 2022-08-02 18:34:19 +02:00
nymkappa
fefed3c888 Create CLightningClient class 2022-08-02 18:34:18 +02:00
nymkappa
2a43452f9e Rewrite queries to get top nodes by channels and capacity 2022-08-02 18:26:07 +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
nymkappa
5603fea590 Set default values when pubkey, capacity and channels are missing from top nodes 2022-08-01 18:41:31 +02:00
wiz
b4760bcbd3 Merge branch 'master' into nymkappa/bugfix/node-null-link 2022-08-01 15:33:47 +00:00
nymkappa
ee68c2e4c4 Fix missing pub key, capacity and channel count for node lists 2022-08-01 09:59:20 +02:00
Antoni Spaanderman
5264738e5f use lnd rest api 2022-07-30 21:52:58 +02:00
nymkappa
1008b00abc Convert nodes per network chart to stack style 2022-07-28 10:01:04 +02:00
wiz
942ded6607 Merge branch 'master' into feature/add-get-block-raw-route 2022-07-27 22:35:22 +00:00
wiz
06f2bbab9a Merge pull request #2204 from mempool/nymkappa/bugfix/silence-ln-db-migration
Silence LN db migration is CONFIG.LIGHTNING.ENABLED = false
2022-07-27 22:35:02 +00:00
softsimon
14a7ee32ff Update backend/src/api/bitcoin/bitcoin.routes.ts 2022-07-27 23:33:18 +02:00
nymkappa
a90b9434f0 Remove useless notice message content 2022-07-27 23:01:57 +02:00
nymkappa
26bc7c5d9a Silence LN db truncation messages is CONFIG.LIGHTNING.ENABLED = false 2022-07-27 22:53:09 +02:00
Leonardo Lima
6d4ee30a0e feat: parse rpc full block from hex to binary representation 2022-07-27 17:12:33 -03:00
wiz
0c646b6684 Merge branch 'master' into nymkappa/bugfix/channels-update-status 2022-07-27 18:53:29 +00:00
wiz
111d57317f Merge pull request #2202 from mempool/nymkappa/bugfix/only-user-active-channel-for-stats
Ony consider channel stats = 1 for stats calculation
2022-07-27 18:53:18 +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
nymkappa
91c39b57fe [LN ISP chart] Adds toogle to order by nodes/capacity and show/hide Tor 2022-07-27 13:20:54 +02:00
wiz
35986c8396 Merge branch 'master' into nymkappa/feature/order-by-date-not-by-id 2022-07-26 22:54:31 +00:00
nymkappa
5a4fc94793 Order lightning_stats by added timestamp instead of id 2022-07-26 17:32:43 +02:00
nymkappa
afd49bfa89 [Node page] Add link to node list per country/isp in node page 2022-07-26 12:26:44 +02:00
Leonardo Lima
7f4a25baa0 feat: add /block/:hash/raw api route 2022-07-25 17:08:42 -03:00
nymkappa
c667129efa [Node page] Update channels count when switching between open/closed 2022-07-24 11:51:05 +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
nymkappa
ed2251cb86 Add channels map to the node page 2022-07-23 18:43:08 +02:00