altangent / lightning-viz Goto Github PK
View Code? Open in Web Editor NEWLightning Network Visualizer powered by LNTools
Home Page: https://lnviz.altangent.com
License: MIT License
Lightning Network Visualizer powered by LNTools
Home Page: https://lnviz.altangent.com
License: MIT License
I have an active channel to this node:
PubKey: 03aaa4b0410d6b7ca72f71fc3b9334e7389778a7b98a7e52600979f249c2d387f6
Alias: AnriBTC
However, the reachable status icon is red. I'm not sure why the visualizer is stating that this node is not reachable/not active.
error: message=missing: 0264404cece70e0639fe56c9083d86bf4deece51ee0a2bc2fe3115487b77a9fedc, stack=Error: missing: 0264404cece70e0639fe56c9083d86bf4deece51ee0a2bc2fe3115487b77a9fedc
at find (/home/lnd/lightning-viz/node_modules/d3-force/build/d3-force.js:156:20)
at initialize (/home/lnd/lightning-viz/node_modules/d3-force/build/d3-force.js:205:58)
at Function.force.links (/home/lnd/lightning-viz/node_modules/d3-force/build/d3-force.js:241:43)
at resolve (/home/lnd/lightning-viz/src/server/domain/graph-service.js:66:23)
at new Promise ()
at runSimulation (/home/lnd/lightning-viz/src/server/domain/graph-service.js:30:10)
at Object.loadGraph (/home/lnd/lightning-viz/src/server/domain/graph-service.js:24:9)
at
/home/lnd/lightning-viz/node_modules/d3-force/build/d3-force.js:186
target.vx -= x * (b = bias[i]);
^
TypeError: Cannot create property 'vx' on string '02a0bc43557fae6af7be8e3a29fdebda819e439bea9c0f8eb8ed6a0201f3471ca9'
at force (/home/lnd/lightning-viz/node_modules/d3-force/build/d3-force.js:186:19)
at /home/lnd/lightning-viz/node_modules/d3-force/build/d3-force.js:302:7
at Map.each (/home/lnd/lightning-viz/node_modules/d3-collection/build/d3-collection.js:56:60)
at tick (/home/lnd/lightning-viz/node_modules/d3-force/build/d3-force.js:301:12)
at step (/home/lnd/lightning-viz/node_modules/d3-force/build/d3-force.js:288:5)
at timerFlush (/home/lnd/lightning-viz/node_modules/d3-timer/build/d3-timer.js:68:48)
at Timeout.wake [as _onTimeout] (/home/lnd/lightning-viz/node_modules/d3-timer/build/d3-timer.js:78:5)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
Create tool on selected nodes where you can enter a payment request. Query the server to find the routes that can be taken (QueryRoutes LND API). From that, highlight the channels that will be used in the graph.
Resizing of the screen does not resize the graph.
I run lightning-viz connected to my lnd litecoin client and it seems like the graph (and the numbers on top) is only being created once and is not being updated unless the server is restarted. Have I misconfigured something or is this intended?
Channel animations are currently disabled due to high CPU usage. We can re-enable them once #2 is completed and the node/channel count is below a threshold. We also should always keep them disabled on mobile devices.
Ability to toggle node alias labels on the graph.
I run lightningd (the client in c). does it also work with that or is lnd mandatory?
It should be easy to make it work with nearly every node, or?
Are there plans for that?
error: {
"0": "#################################################################################################################################",
"1": "# #",
"2": "# IMPORTANT - PLEASE UPDATE YOUR API ENDPOINT #",
"3": "# #",
"4": "# This API endpoint is deprecated and has now been shut down. To keep using the freegeoip API, please update your integration #",
"5": "# to use the new ipstack API endpoint, designed as a simple drop-in replacement. #",
"6": "# You will be required to create an account at https://ipstack.com and obtain an API access key. #",
"7": "# #",
"8": "# For more information on how to upgrade please visit our Github Tutorial at: https://github.com/apilayer/freegeoip#readme #",
"9": "# #",
"a": "#################################################################################################################################"
}
In the node info pane, the list of channels should include the fees (base fee, variable fee, and min htlc) per node.
I am having hard time to read the number of SATS without a thousand seperator.
Example: 2143243242 SATS
Would it be better to visualize it with thousand seperators like 2'143'243'242 or 2,143,243,242
Use similar BFS to lnd-explorer (https://github.com/altangent/lnd-explorer/blob/master/src/server/api/api-network.js) to reduce the number of rendered nodes based on last_updated value.
The app should have a slider that controls the target of the BFS algorithm (with the max being all nodes). By default we should take 1000 nodes.
Control sort of the nodes by (pub_key, alias, capacity, and last_updated). It currently only sorts by pub_key.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.