Skip to content

Restore fake channeld - #9777

Draft
Lagrang3 wants to merge 3 commits into
ElementsProject:masterfrom
Lagrang3:restore-fake-channeld
Draft

Lagrang3 wants to merge 3 commits into
ElementsProject:masterfrom
Lagrang3:restore-fake-channeld

Conversation

@Lagrang3

Copy link
Copy Markdown
Collaborator

A follow-up to #9380,
fixes #9376

- fakenet test retries new routes as soon as a payment part fails, we no
  longer have to wait the 60s timeout to produce new attempts.

- record success payments into askrene, after impressions and
  observations, this information is actually used in future payment
  attempts.

Changelog-None

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
- plus identified an issue with askrene-getroutes: a small htlc_max
  followed by a small htlc_min can create an un-routable flow, disabling
  one of the two restores satisfiability again, which is weird.

Changelog-None

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
Restore xpay's fake channeld test.  Now with decreasing liquidity
(instead of static) there is only so many sats we can send, therefore we
send only 100k for the first 100 nodes just like
test_askrene_fake_channeld.  All payments should succeed.

Changelog-None

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
@Lagrang3 Lagrang3 added this to the v27.03 milestone Nov 27, 2026

This branch has not been deployed

No deployments
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.

tests: test_xpay_fake_channeld is skipped rather than xfail

1 participant