Closes#326
Implements loading checkpoints from the bundle the same way the android SDK does.
* Add checkpoint files
* Add checkpoint files as resources to package
* Remove stencil files
* Update wallet birthday methods to use bundled checkpoints
* [clean up] Fix test build failure
* Add Cocoapods support
* Fix for behaviour across SPM and Cocoapods
* Add test for checkpoint retrieval
* Use latest GRPC v1.x
* update checkpoint files to match android sdk
Closes#351
In order to make the repo's history consistent going forwards,
I've added some commit message guidelines.
The core of the suggestions were taken from this article:
https://cbea.ms/git-commit/#why-not-how
The main idea is that the repo is the source of truth and helps
both readers and maintainers to understand it better.
The rationale behind the title structure is that a clean
changelog can be manufacture by running `git log --oneline`
and a little bit of editing.
Small suggested typo fixes
Small suggested content changes
Included PR suggestions to shorten commits' first line
Fix Travis CI builds
fix travis build
Fix Travis CI
fix travis
Fix Travis CI
Delete unneeded test
Change scheme
Fix Project file so that it compile and tests for Travis CI
restore Demo app scheme
fix dumb typo
Fix Tests. Add workflow
fix workflow for github action
blank line
Issue #334 Update to MnemonicSwift 2.1.0
Issue #331 Reference librustzcash from a branch on that repo
FIX: Don't use nightly on Intel macs. don't build ARM Simulator either
clean up podfile for sample app
pod install
Update MnemonicSwift to 2.1.0
remove "test" comment
Fix: CI builds fail because arm64 is always required regardless of current architecture
move to stable
fix travis build
add else statement for release buidls
The upstream revision for `librustzcash` no longer exists! (It's pointing to a branch that is still being worked on, though should be merged soon)
This change updates the reference in `Cargo.toml` to a compatible one and updates:
- `rust/src/lib.rs`
- `ZcashLightClientKit/zcashlc/zcashlc.h`
- `ZcashLightClientKit/Rust/ZcashRustBackend.swift`
... to account for the updates in the new upstream reference.
For some reason `orchard` builds on revision `d0baa18f` were hanging indefinitely _only_ when building in release mode.
Did a git bisect to find a more recent revision that still builds, (but does not fail due to other upstream requirements)
and found `624a834` to be the first working one!
Previously, the script would build for the `x86_64-apple-ios` whenever building for the `iphonesimulator` platform,
however, M1 macs introduce a new target architecture for the iOS Simulator, `aarch64-apple-ios-sim`.
Luckily the (now three) targets can be uniquely determined by the combination of the $PLATFORM_NAME + the architecture of the host computer.
Unfortunately This new architecture is currently only supported by the nightly toolchain,
so we must update the build command accordingly.
Since a build only requires one target architecture for `librustzcash` we can drop the `cargo-lipo` dependency,
which makes the resulting build command easier.
Using nightly broke some `num-bigint` dependencies, so we update these to a compatible patch version.