-
Notifications
You must be signed in to change notification settings - Fork 894
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
[ZCash] Upgrade ZCashOrchardStorage for shard tree purposes #26534
Conversation
eebde04
to
6ce4728
Compare
[puLL-Merge] - brave/brave-core@26534 DescriptionThis pull request introduces significant changes to the Brave Wallet's ZCash implementation, particularly focusing on the Orchard protocol. The changes include updates to data structures, storage mechanisms, and synchronization processes for ZCash Orchard notes and transactions. ChangesChanges
Possible Issues
Security Hotspots
These changes appear to be a significant update to the ZCash Orchard implementation in Brave Wallet, introducing more comprehensive support for the protocol's features and improving the overall structure of the related codebase. |
// static | ||
|
||
// static |
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.
nit: static
dict.Set("addr", base::HexEncode(addr.data(), addr.size())); | ||
dict.Set("block_id", base::NumberToString(block_id)); | ||
dict.Set("nullifier", base::HexEncode(nullifier.data(), nullifier.size())); | ||
dict.Set("amount", base::NumberToString(amount)); | ||
dict.Set("orchard_commitment_tree_position", | ||
base::NumberToString(orchard_commitment_tree_position)); | ||
dict.Set("rho", base::HexEncode(rho.data(), rho.size())); | ||
dict.Set("seed", base::HexEncode(seed.data(), seed.size())); |
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.
Does short version like base::HexEncode(smth)
work?
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.
wallet core lgtm
Released in v1.75.28 |
Resolves brave/brave-browser#42281
Part of #26477
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: