1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
Return-Path: <jb55@jb55.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 09D9DBD8;
Fri, 17 Aug 2018 15:51:34 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from jb55.com (jb55.com [45.79.91.128])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 612737C1;
Fri, 17 Aug 2018 15:51:32 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d= jb55.com;
h=from:to:subject:date:message-id; s=default;
bh=H1Y/Hhuck8mh7o1Tsdmk9UXpawa5edQgB0Dv3rc5Yso=;
b=NXvXhgHJgSl7UXWyrMsnBWnT4vY2A743rCUCt2jOEWQIU4w3q1RpPxGX3rkjak/gJ2oktMPnySZEAt/U52PSm7JzWjS0STvEZD7Xy3vDawtiMYoNg4TXLoiBDqyItmjmiIqFhc3PMA/dc60KKJxHUeQ23BZDz7I1TUrD2WLlA5/pcDiLUpO6iUdCoVvvN6fuPc3FzqQ32HWoMh4mkdu0SPPldH4w9PeKlEqQVju6exmVQkDhC1yCGPtO8cnivOWpaJZ795YXDabuJrj4GgZ5j8aiEJXbI/WpHJJ3sIWyl9SaxzGferbfi/6f/21HPc6HlFGvbc4edLCdT9E2O6OLVw==
Received: from jb55.com (S010660e327dca171.vc.shawcable.net [24.84.152.187])
by jb55.com (OpenSMTPD) with ESMTPSA id 0724dfbe
TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256
verify=NO; Fri, 17 Aug 2018 15:51:31 +0000 (UTC)
From: William Casarin <jb55@jb55.com>
To: lightning-dev@lists.linuxfoundation.org
Date: Fri, 17 Aug 2018 08:51:31 -0700
Message-ID: <87h8jtxa7w.fsf@jb55.com>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
X-Mailman-Approved-At: Fri, 17 Aug 2018 21:14:07 +0000
Cc: bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>,
c-lightning@lists.ozlabs.org
Subject: [bitcoin-dev] [announce] LNvis alpha - A Lightning Network
Visualizer
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Aug 2018 15:51:34 -0000
Hello lightning/bitcoin devs,
I've been working on an OpenGL Lighting Network visualizer written in C
+ nanovg with no dependencies except for glfw. I thought I would release
the alpha here first for testing.
Right now it only parses c-lightning channels and node json, but I'm
currently adding support for LND. I've only tested on linux, so it would
be great if we could get this working on macos/windows as well.
Picture: https://jb55.com/s/abe49a248360d41c.png
Code: https://github.com/jb55/lnvis
How it works
------------
LNvis renders the Lightning Network channel gossip, which include nodes
and the edges (channels) between those nodes.
- Channels are colored by the node that opened the channel
- Channel widths are rendered proportional to the capacity
- Right clicking a node filters the view to that node and its neighbors
- Dragging a node in any view will focus that node and its neihbors
That's about it for now. Next things that I think would be fun to have:
- Filter by alias/id in the UI
- "Google Maps" mode for highlighting potential routes between nodes
- Realtime channel updates from network gossip
Any other ideas and suggesstions would be great.
Contributors welcome!
Cheers,
Will
|