-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature branch for 0.5.0 #112
Conversation
This enables development on non-Apple machines, and potentially in future usage of the Swift SDK with non-Apple targets.
Conditionally compile Apple-specific APIs
Replace Sapling balance and scan progress FFIs with wallet summary FFI
This removes the type system separation between pre-ZIP 313 and ZIP 317 fees, which becomes necessary when using the transaction proposal protobuf encoder.
Migrate to latest in-progress revision of Rust crates
…al-based methods Closes #86.
Replace `zcashlc_create_to_address, zcashlc_shield_funds` with proposal-based methods
/// - The total size `len` must be no larger than `isize::MAX`. See the safety | ||
/// documentation of `pointer::offset`. | ||
#[repr(C)] | ||
pub struct FfiBoxedSlice { |
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.
If "Its contents must be an encoded Proposal protobuf" shouldn't this have a meaningful name indicating this so that it's not used for other purposes?
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 think I added that line to the documentation before I decided to implement this as an FfiBoxedSlice
. I think it's better to just remove that requirement and allow this to contain an arbitrary byte slice, the contents of which is determined by the method it is returned from.
These changes include performance improvements for scanning.
[#114] Create a transaction proposal from ZIP-321 payment URI
…pdates Performance and summary updates
chain_tip_height: i32, | ||
fully_scanned_height: i32, | ||
scan_progress: *mut FfiScanProgress, | ||
next_sapling_subtree_index: u64, |
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.
The protobuf constrains this to a u32
, so we should do that here as well. I'll fix this in the next PR.
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.
Opened #118.
…0.5.0 Final Rust dependency update for 0.5.0
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.
ACK 9a987c2.
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 9a987c2
No description provided.