Skip to content

Conversation

@Lagrang3
Copy link
Collaborator

@Lagrang3 Lagrang3 commented Oct 15, 2025

Several changes to askrene, mainly to introduce penalties (biases) on nodes and channels that
can be used across payments.
It addresses issue #8600.

  • add timestamps to channel biases,
    - [ ] add expiration on biases,
    - [ ] add expiration on knowledge data,
  • add node biases,
  • penalize nodes on xpay that have failing channels,
  • tests,
  • fix docs,

@Lagrang3 Lagrang3 force-pushed the xpay-bad-nodes branch 8 times, most recently from 7f51753 to 9585fe2 Compare October 23, 2025 16:10
@Lagrang3 Lagrang3 marked this pull request as ready for review October 23, 2025 16:11
@Lagrang3 Lagrang3 requested a review from cdecker as a code owner October 23, 2025 16:11
@Lagrang3 Lagrang3 added this to the v25.12 milestone Oct 23, 2025
@Lagrang3 Lagrang3 changed the title [WIP] Xpay bad nodes Xpay bad nodes Oct 23, 2025
We add one more field to biases: "timestamp".
With the timestamp variable old biases can be removed with the
askrene-age command.

Changelog-None

Signed-off-by: Lagrang3 <[email protected]>
Changelog-Added: askrene-bias-node: an RPC command to set a bias on node's outgoing or incoming channels.

Signed-off-by: Lagrang3 <[email protected]>
Changelog-None

Signed-off-by: Lagrang3 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant