Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pay: Share channel_hints across payments and plugins #7487

Commits on Aug 6, 2024

  1. libplugin: pay now emits channel_hint as we learn about the net

    The `pay` plugin, as well as other plugins making use of the tree-pay
    executor, will now emit their observations as they see them. The
    notifications are sent on the `channel_hint_updated` topic, and any
    subscriber will get them.
    
    We also added a `timestamp` to the `struct channel_hint`, as these
    observations now outlive the `pay` call, and have to be attenuated /
    relaxed as they age, until we can eliminate them completely (when the
    restriction is equal to the structural information gathered from the
    gossip).
    
    Changelog-Added: pay: Payments now emit `channel_hint_updated` notification to share inferred balances and observations across multiple payments.
    cdecker committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    9f46029 View commit details
    Browse the repository at this point in the history
  2. common: Add some more JSON primitives

    We were missing the `short_channel_id_dir` helpers.
    cdecker committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1aea198 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab61843 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a8504b7 View commit details
    Browse the repository at this point in the history