-
Notifications
You must be signed in to change notification settings - Fork 253
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_client_sqlite: Add database tables for Orchard #1254
Conversation
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.
utACK; we will need to add CHANGELOG entries for the views
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1254 +/- ##
==========================================
+ Coverage 63.49% 63.82% +0.32%
==========================================
Files 117 119 +2
Lines 12654 12999 +345
==========================================
+ Hits 8035 8296 +261
- Misses 4619 4703 +84 ☔ View full report in Codecov by Sentry. |
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.
Reviewed fe0b6c7.
zcash_client_sqlite/src/wallet/init/migrations/orchard_received_notes.rs
Outdated
Show resolved
Hide resolved
zcash_client_sqlite/src/wallet/init/migrations/orchard_shardtree.rs
Outdated
Show resolved
Hide resolved
zcash_client_sqlite/src/wallet/init/migrations/orchard_shardtree.rs
Outdated
Show resolved
Hide resolved
zcash_client_sqlite/src/wallet/init/migrations/orchard_shardtree.rs
Outdated
Show resolved
Hide resolved
Force-pushed to address review comments. |
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.
re-utACK ae9dd25
@@ -415,9 +445,21 @@ pub(crate) fn update_chain_tip<P: consensus::Parameters>( | |||
// `ScanRange` uses an exclusive upper bound. | |||
let chain_end = new_tip + 1; | |||
|
|||
// Read the maximum height from the shards table. | |||
// Read the maximum height from each of the the shards tables. The minimum of the two |
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.
// Read the maximum height from each of the the shards tables. The minimum of the two | |
// Read the maximum height from each of the shards tables. The minimum of the two |
Non-blocking.
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.
Fixed in #1182.
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 have reviewed the last force-push with @str4d.
Closes #1227.