brave-core#24547merged 2024-08-19 into master by cypt4 [ZCash] ZCash shielded balance resolution Linked by: GitHub closing reference, “Resolves/Fixes” line in the PR description, branch name brave_38382_2 (weaker evidence; titles share a keyword)
Release notes
No platform changelog lists this item.
Validation
No QA label.
No QA pass labels.
QA labels are Brave’s own validation records per OS. They are not independent verification by this tracker.
Target
No milestone set.
Platforms (OS labels): Android, Desktop
Owner: cypt4 · PR authors: cypt4
Build presence
Whether a merged pull request in this group is an ancestor of the brave-core tag of each platform’s current build (from versions.brave.com). Code presence is not the same as a feature being exposed on that platform.
Platform
Release
Beta
Nightly
Desktop
Included1.97.59in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
Included1.98.47in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
Included1.100.5in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
Android
Included1.97.57in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
Included1.98.52in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
Included1.100.5in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
iOS
Included1.96.62in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
Included1.99.44in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
Included1.100.7in v1.96.61 (GitHub compare v1.96.61...bf6c28e1: behind); later builds of the same history include it (brave-core#24547)
To obtain account shielded balance we need to scan blockchain from account birthday using incoming view keys. For each found note we should extract and remember nullifier to verify whether it is spent in the future .
Sync process includes reading blockchain blocks, resolving orchard compact actions from blocks and decoding them using account full view key. Found notes are placed to the database and note nullifier calculated to check further spends. We keep all discovered notes along with all discovered nullifiers to support possible chain reorg. In the case of reorg we just delete rows related to the blocks after the reorg chain tip. There is also a mechanic which allows to update…
Timeline (4 of 9 events)
2024-07-11 10:33 Ready for review by cypt4
2024-08-19 12:30 Merged masterby cypt4
2024-08-19 12:30 Closed by cypt4
2024-08-19 12:30 Milestone set 1.71.x - Nightlyby github-actions