chemicstry / recksplorer

Lightning Network Explorer
179 stars 72 forks source link

Add Clightning support #11

Closed lvaccaro closed 6 years ago

lvaccaro commented 6 years ago

Add clightning daemon support.

Dependencies required:

Add command options:

Test recksplorer on btc mainnet with clightning daemon: http://recksplorer.waldo.fun

chemicstry commented 6 years ago

Wow, really cool that you added clightning support!

A couple of issues:

Your website shows 4k channels compared to lnd's 2k. I guess it shows all closed channels too?

There are a bit of compatibility issues with the data. clightning has way less data about channels and that throws error when selecting. I'm not sure what's the best way to handle this, maybe modifying client components to display what's available is the way to go.

lvaccaro commented 6 years ago

My c-lightning node is uptime of several days. I add some check to show only the active & public channels clightning but however there are more channels than lnd.

Clightning provides channel information (capacity, routepolicy, ...) only for direct channels, but not for the others. So "modifying client components" is the best strategy 👍