-
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.
* add mock spentbook to test module * merge DbcPacket functionality into Dbc (as both are client-side) * introduce DerivedOwner for deriving key from base (well known) key * change type of DbcContent::owner from G1Affine to DerivedOwner * add owner_derivation_cipher to DbcContent * modify TransactionBuilder to pair DerivedOwner with each output * modify DbcBuilder to pair DerivedOwner with each output * fix: include spent proofs in Dbc::hash() * improve validation in Dbc::confirm_valid() * add method to verify secret amount in Dbc matches output commitment * add SpentProof::to_bytes() * add (temporary) SpentProof::validate_unsafe()
- Loading branch information
Showing
9 changed files
with
1,386 additions
and
1,170 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
Oops, something went wrong.