-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/compliance #46
Conversation
# Conflicts: # libzkbob-rs-wasm/Cargo.toml # libzkbob-rs-wasm/src/client/tx_parser.rs # libzkbob-rs-wasm/src/ts_types.rs # libzkbob-rs/Cargo.toml
The PR is ready to review. The branch was merged with dd branch to resolve conflicts |
# Conflicts: # libzkbob-rs-wasm/src/client/mod.rs # libzkbob-rs/src/client/mod.rs # libzkbob-rs/src/delegated_deposit.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it's better to remove commented code in order to keep the code clean. Overall, it looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it's better to remove commented code in order to keep the code clean. Overall, it looks good to me.
removing commented code Co-authored-by: Alexander Filippov <aleksander.fill@gmail.com>
Sure, I forgot to remove it. Now it's fixed |
… to the actual libzeropool-zkbob
This merge contains the following set of changes: - API for revealing data required for compliance report (#46)
These changes are required to generate detailed compliance report within the client library. Added following routines in the wasm library:
extract_decrypt_keys
to get symmetric cipher keys needed to decrypt output tx items (account and notes)symcipher_decrypt_acc
\symcipher_decrypt_acc
to decrypt account and notes from the memoblock (needed to verify report correctness during development)get_tx_inputs
to find transaction inputs for the transaction: account and notes and intermediate nullifier from the input accountcalculate_nullifier
to getting nullifier from the account