Skip to content

ProbabilisticScorer learning-from-probes interface #1385

Closed

Description

@TheBlueMatt

While you can do it already, passing information about a successful probe into ProbabilisticScorer is somewhat confusing today - you have to do it by calling the payment-failed method with a bogus scid to "blame". We should just wrap that call in a util function and expose it officially.

cc @jkczyz

Activity

  1. added this to the 0.1.1 milestone on Mar 25, 2022
  2. jkczyz commented on Mar 25, 2022

    @jkczyz
    Contributor

    We may want to expand this issue to implement a background prober, which would actively probe paths in NetworkGraph with various amounts to learn the liquidity balances. It would need an EventHandler that could distinguish its probes from actual payments. In the former case, it would need to call the scorer with a fake failed scid as noted. Otherwise, delegate to the actual event handler.

  3. TheBlueMatt commented on Mar 28, 2022

    @TheBlueMatt
    CollaboratorAuthor

    Another behavior I'm observing with the new scorer (at least with the settings on latest git) - it sometimes gets really excited when it finds a path that works, and tends to strongly prefer things it is confident will work over things its unsure about. that's probably a great outcome during normal payments, cause it seems to often be correct, but when we build a first-class prober, we should definitely make sure the prober is forced to probe each available channel we have outbound capacity on, instead of getting stuck using one, should be easy to do, though, just filter the ChannelDetailss we pass through and walk through them as we probe.

  4. linked a pull request that will close this issueAdd simple probing API #1567on Jun 28, 2022
  5. moved this to Done in LDK Roadmapon Jul 7, 2022
  6. TheBlueMatt commented on Jul 7, 2022

    @TheBlueMatt
    CollaboratorAuthor

    Oops, 1567 didn't actually end up adding any prober logic in the scorer, which was the point of this issue.

  7. TheBlueMatt commented on Apr 24, 2023

    @TheBlueMatt
    CollaboratorAuthor

    This has been done for a while.

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions