Skip to content

Peer state tracking #486

Closed
Closed

Description

@ariard

We should implement some basic state tracking even if we don't use it now like uptime, flapiness, profitability, htlc volume, ...

They should be store in NodeInfo and be accessible to be used by Router for path-finding, liquidity management, peer management...

Activity

  1. TheBlueMatt commented on Feb 10, 2020

    @TheBlueMatt
    Collaborator

    I don't really know how we wnat to do this - I think we need to do a) #432 (which should be relatively simple), then b) add fields for channel/peer reliability, then c) create some Router-ish thing that actively probes the network and updates these fields. CC #106.

  2. ariard commented on Feb 11, 2020

    @ariard
    Author

    Yeah that's maybe early to track all of them but you definitely want at least to avoid routing through nodes who are offline and I'm not sure than currently get_route is aware of this.

    But thanks for exposing issues on Router, it's a component which need more work for sure and it can go as its own pace because it's not going to interfere with other refactors. Any way to make them more publicly if people want to tackle them ?

  3. TheBlueMatt commented on Feb 12, 2020

    @TheBlueMatt
    Collaborator
  4. TheBlueMatt commented on Feb 12, 2020

    @TheBlueMatt
    Collaborator
  5. TheBlueMatt commented on Feb 2, 2022

    @TheBlueMatt
    Collaborator

    We have this now with the Score trait and implementors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions