Coder Social home page Coder Social logo

Idea: Node well-connectedness index about lndash HOT 7 OPEN

prusnak avatar prusnak commented on August 21, 2024 1
Idea: Node well-connectedness index

from lndash.

Comments (7)

prusnak avatar prusnak commented on August 21, 2024

@djmelik I would love to have your input on this. Especially on how we should include the channel capacity into the wci computation.

from lndash.

21isenough avatar 21isenough commented on August 21, 2024

Love this idea. Especially since the new "Capacity vs Activity" plot is also really awesome.

"Node well-connectedness index" sounds cool. I think it comes pretty close to what they call "bos score" in lnd. Roasbeef mentioned that the autopilot will be completely revamped in v0.6. It'll have two flavors: Selection for routing nodes and for clients.

Here some background:
lightningnetwork/lnd#2212
lightningnetwork/lnd#2006

from lndash.

prusnak avatar prusnak commented on August 21, 2024

Thanks for the links @21isenough. So it seems it's best to use the upcoming NodeScores API to get this feature working. Still, this API is slightly different to what I suggest.

from lndash.

21isenough avatar 21isenough commented on August 21, 2024

Yes, it is different indeed. There will always be a trade-off between your nodes "well-connectedness" and the networks decentralization.

I think, the WCI is a competitive metric while NodeScores is trying to strike the right balance between the two (e.g. includes randomness).

There certainly is a place for both.

from lndash.

Roasbeef avatar Roasbeef commented on August 21, 2024

So the goal is to track graph centrality metrics to suggest nodes to connect to that will increase your betweenness? With the new scoring based autopilot system, it should be relatively easy to add these metrics, then let the user enable it on the command line, specifying a weight relative to the other metrics.

from lndash.

Roasbeef avatar Roasbeef commented on August 21, 2024

There's also an exposed query API that can be hit to allow the UI to poll for the impact w.r.t connecting to candidate nodes.

from lndash.

prusnak avatar prusnak commented on August 21, 2024

So the goal is to track graph centrality metrics to suggest nodes to connect to that will increase your betweenness?

@Roasbeef Exactly! Wonder whether we should use channel capacities in adjacency matrix directly or we need to do a simple preprocessing first.

from lndash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.