-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We don't need one node per force-close scenario, we can use different channels to the same node which makes the spec simpler. Force-close tests now have better isolation: they create the channel at the beginning of the test, and the test ends with that channel closed. Common parts have been refactored as well, which will make it easier to add more tests for anchor outputs without duplicating too much code. These tests have been heavily enriched and refactored; they previously relied on many unwritten assumptions about event ordering that appeared as soon as I tried updating them (e.g. to use push_msat to ensure both sides had an output in the commit tx).
- Loading branch information
Showing
4 changed files
with
368 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.