Commit Graph

9 Commits

Author SHA1 Message Date
Boris Nagaev
dee8ad3754 multi: context.Background() -> t.Context()
Use the new feature of Go 1.24, fix linter warnings.

This change was produced by:
 - running golangci-lint run --fix
 - sed 's/context.Background/t.Context/' -i `git grep -l context.Background | grep test.go`
 - manually fixing broken tests
 - itest, lntest: use ht.Context() where ht or hn is available
 - in HarnessNode.Stop() we keep using context.Background(), because it is
   called from a cleanup handler in which t.Context() is canceled already.
2025-08-30 14:13:44 -03:00
yyforyongyu
c536bc220f itest: add a prefix before appending a subtest case 2024-12-20 19:38:13 +08:00
yyforyongyu
a76ff79adc itest: break down utxo selection funding tests 2024-12-20 19:38:10 +08:00
yyforyongyu
72f3f41d41 itest: remove unnecessary channel close and node shutdown
Since we don't have standby nodes anymore, we don't need to close the
channels when the test finishes. Previously we would do so to make sure
the standby nodes have a clean state for the next test case, which is no
longer relevant.
2024-12-20 19:38:06 +08:00
Oliver Gugger
e99e6662cf multi: update linter, fix new issues 2024-08-20 19:14:44 +02:00
ziggie
351e9a68dd multi: Add tests to psbt and normal open channel flow.
Itests were added to the normal channel funding flow and the psbt
funding flow using unstable (unconfirmed sweeper inputs).
2024-04-24 13:58:20 +01:00
Oliver Gugger
9bdddbcc56 mod+chanfunding: use coin selection strategy for channel funding
The wallet assembler is now aware of the node config level coin
selection strategy, so we can use it when creating new channels.
2024-02-23 08:58:09 +01:00
Olaoluwa Osuntokun
0c815af7ff build: update lnd sub modules, and btcd + btcutil 2023-09-11 20:35:06 -07:00
Slyghtning
396cffcd70 itest: anchor reserve test for SendOutputs 2023-07-24 13:07:01 +02:00