Commit graph

9 commits

Author SHA1 Message Date
Boris Nagaev
f191775773
routing_plugin: release with a live context
`ReleaseRoutingPlugin` called `Done` with the caller context. In the
loop-out payment flow this cleanup is deferred, so the context may already be
canceled by the time teardown runs.

That can prevent mission-control restoration in `Done`, leaving
plugin-induced routing state behind after a swap exits.

Fix this by detaching cancellation in `ReleaseRoutingPlugin` and passing
`context.WithoutCancel(ctx)` to `Done`, so teardown still executes during
caller cancellation.

Also add a regression test that cancels the caller context before release and
asserts the plugin `Done` call still receives a live context.
2026-03-09 14:39:45 +01:00
Slyghtning
e98f733ef8
linter: fix lint issues after linter v2 update 2025-08-19 21:57:00 +02:00
Oliver Gugger
722ad8839d
multi: update lnd compile-time dependency to v0.19.0 2025-03-10 22:59:49 +01:00
jinjingroad
12bc3b2e9e chore: fix some comments
Signed-off-by: jinjingroad <jinjingroad@sina.com>
2024-06-05 15:12:47 +08:00
Harsha Goli
7a16e3b25d
multi: bump btcec/v2 and btcutil to new versions 2022-03-25 11:00:16 +01:00
Andras Banki-Horvath
dc9bc9e976
routing: integrate forced MC import to the low/high plugin 2022-03-16 13:23:41 +01:00
Andras Banki-Horvath
9ace542056
mod: bump lndclient to 0.14.2 including forced MC import 2022-03-16 13:23:40 +01:00
Andras Banki-Horvath
ffd52aba2f
loopout: add low/high routing plugin 2022-02-14 10:14:47 +01:00
Andras Banki-Horvath
04ebc8d568
routing: add routing plugin inteface and skeleton 2022-02-14 10:14:46 +01:00