-
Notifications
You must be signed in to change notification settings - Fork 251
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_backend: Generalize & extend wallet metadata query API #1580
zcash_client_backend: Generalize & extend wallet metadata query API #1580
Conversation
98093e1
to
9ca4f50
Compare
cb12eb7
to
3fe1cdb
Compare
37f993e
to
600b5e6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1580 +/- ##
==========================================
+ Coverage 56.30% 56.38% +0.07%
==========================================
Files 148 148
Lines 19062 19232 +170
==========================================
+ Hits 10733 10844 +111
- Misses 8329 8388 +59 ☔ View full report in Codecov by Sentry. |
e9ad4a6
to
530d06b
Compare
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 530d06b
530d06b
to
8c95260
Compare
This generalizes the previous account metadata query API to be able to represent more complex queries, and also to return note totals in addition to note counts.
7dab03a
to
3352671
Compare
force-pushed to address comments from code review. |
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 3352671 after minor comments, Clippy lints, and rustfmt errors are fixed.
b87558f
to
01b0d1c
Compare
Co-authored by: Jack Grig <[email protected]> Co-authored-by: Daira-Emma Hopwood <[email protected]>
01b0d1c
to
00cafa3
Compare
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 00cafa3
@@ -861,6 +863,49 @@ where | |||
+ WalletCommitmentTrees, | |||
<DbT as WalletRead>::AccountId: ConditionallySelectable + Default + Send + 'static, | |||
{ | |||
// Creates a transaction that sends the specified value from the given account to | |||
// the provided recipient address, using a greedy input selector and the default | |||
// mutli-output change strategy. |
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.
typo
|
||
// Spend half of each one of our notes, so that we can get a distribution of sent note values. | ||
// FIXME: This test is currently excessively specialized to the `zcash_client_sqlite::WalletDb` | ||
// implmentation of the `InputSource` trait. A better approach would be to create a test input |
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.
typo
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.
Post-hoc ACK. There are a couple of typos in comments.
No description provided.