-
Notifications
You must be signed in to change notification settings - Fork 119
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
feat: add CachedFfiTransaction::transparent_output_address() #3668
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3668 +/- ##
==========================================
+ Coverage 80.05% 80.07% +0.01%
==========================================
Files 290 290
Lines 32795 32866 +71
==========================================
+ Hits 26255 26318 +63
- Misses 6540 6548 +8 |
This comment was marked as resolved.
This comment was marked as resolved.
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.
Looks great, I just have some minor suggested tweaks.
…get-address-from-output
Co-authored-by: teor <teor@riseup.net>
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.
Looks great, thanks!
…get-address-from-output
Still WIP because it may be no longer needed, see Discord. I'll confirm it |
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'm approving these changes in case we need them.
I'll close this for now, I haven't yet confirmed if |
Motivation
For lightwalletd support we need to be able to get an address from a transparent output. This requires changing
zcash_script
which was done in ZcashFoundation/zcash_script#29 and exposing the functionality inzebra_script
, which is this ticket.Specifications
Designs
Solution
Add a
CachedFfiTransaction::transparent_output_address()
method.Closes #3149
Review
Not urgent but blocks four other tasks from the lightwalletd epic.
This is a draft since it's blocked on ZcashFoundation/zcash_script#29 merging. But it should be complete and can be reviewed if desired.
Anyone can review, but whoever reviews ZcashFoundation/zcash_script#29 will probably be able to review this quickly.
Reviewer Checklist
Follow Up Work