From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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 , 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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