-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removes spender_key from ProposedTransaction (#4476)
* WIP removes spender_key and public_key_randomness from ProposedTransaction when signing transactions with FROST we will not have a full, valid SaplingKey to pass as the 'spender_key'. FROST will also require that public key randomness is shared between signers with randomized parameters used as an input to signing. spender_key is only used when posting ProposedTransactions, so these changes remove it from the struct and instead pass it as an input to each of the post functions public_key_randomness is only used in the context of _partial_post, so these changes remove public_key_randomness from the struct and initialize a randomized public address from randomness only when needed * fixes tests outdated usage of NativeTransaction constructor, post * passes reference to SaplingKey to post methods avoids excessive copying to the stack * restores public_key_randomness to ProposedTransaction * fixes tests * fixes benches * fixes lint
- Loading branch information
Showing
13 changed files
with
117 additions
and
108 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
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.