Commit Graph
3 Commits
Author SHA1 Message Date
Johan T. HalsethandJoost Jager 1f28bd8086 contractcourt/commit_sweep_resolver: set sweep witness type based on witness script
We use the fact that we can tell whether the commit is local or remote
by inspecting the witness script. We cannot use the maturity delay
anymore, as we can have delayed to_remote outputs also now.

Co-authored-by: Joost Jager <joost.jager@gmail.com>
2020-03-09 12:10:59 +01:00
Joost Jager 38adfd7ecc sweep: create sweep parameters struct
Prepares for adding more input-specific sweep parameters.
2019-12-13 12:02:42 +01:00
Joost Jager 462d86d0bb cnct/test: add unit test for commit sweep resolver 2019-11-14 13:38:06 +01:00