Research/Bitcoin Dev Archive / lightning-dev list
Measuring Lightning Nodes
6 messages, Jul 29 to Aug 17, 2018. Started by Alex Evanovic.
Alex Evanovic (2), Christian Decker, Артём Литвинович, Davison, Robert Olsson
Hi all,
Hope you are well.
Can you please suggest how can I measure lightning nodes, in its current state?
Best, Alex ᐧ
Hi Alex,
could you elaborate what you mean by measuring lightning nodes? For example are you interested in the network topology, or monitoring a single node? Or maybe you are interested in the successrate of payments performed on the network? There are a lot of things one can monitor/measure :-)
Cheers, Christian
Alex Evanovic <alex.evanovic.151 at gmail.com> writes:
Quoted text (14 lines)
> Hi all, > > Hope you are well. > > Can you please suggest how can I measure lightning nodes, in its current > state? > > Best, > Alex > ᐧ > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev
Define "measure".
If you want to know how many nodes and channels are there, you need to connect to any LN node and set initial_routing_sync flag in init message. This will prompt the peer to send you the whole gossip dump, containing node and channel info of every public node/channel (sans channel capacities).
If you don't want to make stuff but just to query your c-lightning node, then use listnodes and listchannels commands with lightning-cli.
If you want to just get the information without doing anything or running a node, then you can look it up on explorer sites, like 1ml dot org.
-Artem
2018-07-29 17:21 GMT+03:00 Alex Evanovic <alex.evanovic.151 at gmail.com>:
Quoted text (17 lines)
> Hi all, > > Hope you are well. > > Can you please suggest how can I measure lightning nodes, in its current > state? > > Best, > Alex > ᐧ > > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev > >
Quoted text (1 line)
>>If you want to just get the information without doing anything or running a node, then you can look it up on explorer sites, like **1ml dot org.**
I believe Artem meant 1ml dot com.
On Sun, Jul 29, 2018 at 11:37 AM Артём Литвинович <theartlav at gmail.com> wrote:
Quoted text (34 lines)
> > Define "measure". > > If you want to know how many nodes and channels are there, you need to connect to any LN node and set initial_routing_sync flag in init message. This will prompt the peer to send you the whole gossip dump, containing node and channel info of every public node/channel (sans channel capacities). > > If you don't want to make stuff but just to query your c-lightning node, then use listnodes and listchannels commands with lightning-cli. > > If you want to just get the information without doing anything or running a node, then you can look it up on explorer sites, like 1ml dot org. > > > -Artem > > 2018-07-29 17:21 GMT+03:00 Alex Evanovic <alex.evanovic.151 at gmail.com>: >> >> Hi all, >> >> Hope you are well. >> >> Can you please suggest how can I measure lightning nodes, in its current state? >> >> Best, >> Alex >> ᐧ >> >> _______________________________________________ >> Lightning-dev mailing list >> Lightning-dev at lists.linuxfoundation.org >> https://www.learnbitcoin.com/archive/lists/lightning-dev >> > > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev
Hi, I will actually be interested in measuring the network topology. Can I get a graph (or) all measurements of the lightning network topology from explorer sites such as www.1ml.com?
Thanks, Swayam
On Sun, Jul 29, 2018 at 11:04 PM, Davison <otoburb at gmail.com> wrote:
Quoted text (50 lines)
> >>If you want to just get the information without doing anything or > running a node, then you can look it up on explorer sites, like **1ml dot > org.** > > I believe Artem meant 1ml dot com. > > On Sun, Jul 29, 2018 at 11:37 AM Артём Литвинович <theartlav at gmail.com> > wrote: > > > > Define "measure". > > > > If you want to know how many nodes and channels are there, you need to > connect to any LN node and set initial_routing_sync flag in init message. > This will prompt the peer to send you the whole gossip dump, containing > node and channel info of every public node/channel (sans channel > capacities). > > > > If you don't want to make stuff but just to query your c-lightning node, > then use listnodes and listchannels commands with lightning-cli. > > > > If you want to just get the information without doing anything or > running a node, then you can look it up on explorer sites, like 1ml dot org. > > > > > > -Artem > > > > 2018-07-29 17:21 GMT+03:00 Alex Evanovic <alex.evanovic.151 at gmail.com>: > >> > >> Hi all, > >> > >> Hope you are well. > >> > >> Can you please suggest how can I measure lightning nodes, in its > current state? > >> > >> Best, > >> Alex > >> ᐧ > >> > >> _______________________________________________ > >> Lightning-dev mailing list > >> Lightning-dev at lists.linuxfoundation.org > >> https://www.learnbitcoin.com/archive/lists/lightning-dev > >> > > > > _______________________________________________ > > Lightning-dev mailing list > > Lightning-dev at lists.linuxfoundation.org > > https://www.learnbitcoin.com/archive/lists/lightning-dev >
If you don't have a node yourself and just want the raw graph data you can get it from one of my lnd nodes at https://rompert.com/networkgraph (Same data that feeds the https://rompert.com/recksplorer/ )
Best regards Robert Olsson
On Fri, Aug 17, 2018 at 12:34 PM, Alex Evanovic <alex.evanovic.151 at gmail.com
Quoted text (68 lines)
> wrote: > Hi, I will actually be interested in measuring the network topology. Can I > get a graph (or) all measurements of the lightning network topology from > explorer sites such as www.1ml.com? > > Thanks, > Swayam > > On Sun, Jul 29, 2018 at 11:04 PM, Davison <otoburb at gmail.com> wrote: > >> >>If you want to just get the information without doing anything or >> running a node, then you can look it up on explorer sites, like **1ml dot >> org.** >> >> I believe Artem meant 1ml dot com. >> >> On Sun, Jul 29, 2018 at 11:37 AM Артём Литвинович <theartlav at gmail.com> >> wrote: >> > >> > Define "measure". >> > >> > If you want to know how many nodes and channels are there, you need to >> connect to any LN node and set initial_routing_sync flag in init message. >> This will prompt the peer to send you the whole gossip dump, containing >> node and channel info of every public node/channel (sans channel >> capacities). >> > >> > If you don't want to make stuff but just to query your c-lightning >> node, then use listnodes and listchannels commands with lightning-cli. >> > >> > If you want to just get the information without doing anything or >> running a node, then you can look it up on explorer sites, like 1ml dot org. >> > >> > >> > -Artem >> > >> > 2018-07-29 17:21 GMT+03:00 Alex Evanovic <alex.evanovic.151 at gmail.com>: >> >> >> >> Hi all, >> >> >> >> Hope you are well. >> >> >> >> Can you please suggest how can I measure lightning nodes, in its >> current state? >> >> >> >> Best, >> >> Alex >> >> ᐧ >> >> >> >> _______________________________________________ >> >> Lightning-dev mailing list >> >> Lightning-dev at lists.linuxfoundation.org >> >> https://www.learnbitcoin.com/archive/lists/lightning-dev >> >> >> > >> > _______________________________________________ >> > Lightning-dev mailing list >> > Lightning-dev at lists.linuxfoundation.org >> > https://www.learnbitcoin.com/archive/lists/lightning-dev >> > > > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://www.learnbitcoin.com/archive/lists/lightning-dev > >