Commit graph

7 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
Oliver Gugger
65251e8821
multi: update linter, fix issues 2025-03-10 22:59:50 +01:00
GoodDaisy
e45101cccd chore: fix typos 2023-12-03 13:20:44 +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
01bf94ad11
tests: add unit tests for the 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