-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Actor, TxHandler] add signing of txhandler through tagged signatures (…
…#511) * prototype * prototype2 * add winternitz and preimagereveal * refactor with script kind for easy matching * feat(actor): remove txhandler clone by refactoring sighash calc Added a new scriptkind parser for code quality with tests Implemented sighash calculation closure to avoid cloning and ensure immutability of the TxHandler inputs. * test: actor correctly signs * chore(actor): rename winternitz partial sign * fix: tests * Remove TypeId runtime for SpendableScript to get ScriptKind (#512) * change option * fix: errors from merge, add calculate_sighash * fix: add spend info to assert end txhandler * fix: winternitz commit script, add tests * chore: cargo fmt * chore: clippy * chore: rename functions and clippy * chore: clippy --------- Co-authored-by: atacann <[email protected]> Co-authored-by: Roman <[email protected]>
- Loading branch information
1 parent
aa0864a
commit 4541246
Showing
15 changed files
with
1,201 additions
and
333 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.