-
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.
Explcitely link commit tx changes to the actual commit tx outputs
We currently don't have a link between commitment specs and the resulting commit tx output, and instead we try and match pubkey scripts to find which commit tx output to attach to a spending tx. Instead here we create explicit links between commitment spec items and commit tx outputs (basically a list of (spec item, tx output) than we can then sort, and use to build the commit tx. We then know that the nth output in our commit tx was built from the nth element in our (spec item, tx output) sorted list.
- Loading branch information
Showing
5 changed files
with
180 additions
and
93 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
Oops, something went wrong.