-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add spentbook pubkey to mint's key_manager
* add MintNode::trust_spentbook_public_key() to make mint key_manager aware of spentbook pubkey * remove spentbook verifier param from Dbc::confirm_valid() * add to trait KeyManager fn add_known_key() * make MintNode::reissue() accept &self instead of &mut self * make MintNode::issue_genesis_dbc() return self (builder pattern) * update tests to use MintNode builder pattern and trust spentbook pubkey. * add input_key_image to GenesisDbcShare * remove genesis_dbc_input static fn * remove (ugly/temporary) SpentProof::validate_unsafe()
- Loading branch information
Showing
5 changed files
with
89 additions
and
111 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