Commit Graph

528 Commits

Author SHA1 Message Date
Francisco Gindre 5bb1750b1f
[#383] Fix Darksidewalletd tests failing to retrieve a checkpoint (#386) 2022-05-17 15:29:27 -03:00
Francisco Gindre b4fbb36cd7
Bump podspec version to 0.13.1-beta (#379) 2022-05-06 14:45:20 -03:00
dh-ecc 80e6ec200b
[#326] Load Checkpoint files from bundle.
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
2022-05-05 18:30:17 -03:00
dh-ecc a3a33382c1
Add caveat to SPM / Xcode integration in Readme (#356) 2022-05-05 14:27:42 -03:00
Francisco Gindre 0c6203fefb
[#367] Darksidewalletd for testing `shield_funds` (#368)
pull from branch non-consensus-changes-libzcashlc

Patch Shield funds test.

Closes #367
2022-04-29 09:19:18 -03:00
Francisco Gindre 1f8b086ea3
[#351] add "Commit Messages" link to "topics" (#376)
add a link to "Commit Messages" to the "Topics" section
2022-04-29 07:57:04 -03:00
Francisco Gindre e552b24764
[#351] Write a Commit message Section for CONTRIBUTING.md (#371)
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
2022-04-27 15:52:57 -03:00
Francisco Gindre 59eccab074
Merge pull request #365 from zcash/update-documentation
Issue Update documentation
2022-04-08 12:29:33 -03:00
Francisco Gindre d9ac0dec7c Issue #364 - Update documentation
Update jazzy docs

update instructions on how do build Jazzy docs
2022-04-07 20:30:39 -03:00
Francisco Gindre 27a1875ba2
Merge pull request #347 from zcash/release/0.13.0-beta.2
Expose property nullProgress for ECC Reference Wallet
2022-03-16 12:14:38 -03:00
Francisco Gindre dd4724055f
increase timeout of build step 2022-03-11 18:37:19 -03:00
Francisco Gindre 9f67464e78
Merge branch 'master' into release/0.13.0-beta.2 2022-03-11 17:11:42 -03:00
Francisco Gindre 42d1797c73 Update README.md: remove private Spec Repo installation step. 2022-03-11 16:28:16 -03:00
Francisco Gindre f3150072f5 Expose property nullProgress for ECC Reference Wallet
Update podspec

Changelog

bump swift version

use libzcashlc 0.0.2
2022-03-11 15:22:00 -03:00
Francisco Gindre e1507c1a7d
Fix CocoaPodsSpec links and version 2022-03-04 14:59:51 -03:00
Francisco Gindre 6b051c6e36
Merge pull request #345 from zcash/release/0.13.0-beta.1
0.13.0-beta.1 Update changelog.md and podspec version
2022-03-04 14:22:55 -03:00
Francisco Gindre 8e22918c48
fix syntax error 2022-03-04 13:43:55 -03:00
Francisco Gindre 385b0999a8 PR Suggestions 2022-03-04 12:38:13 -03:00
Francisco Gindre 605a3e9881 Update changelog.md and podspec version
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
2022-03-03 19:07:03 -03:00
Francisco Gindre 397e120e9a
Merge pull request #338 from dh-ecc/remove-rust
Remove rust build phase
2022-03-02 18:37:20 -03:00
Daniel Haight 16d64ed627 Add name to libzcashlc 2022-03-02 19:54:55 +00:00
Daniel Haight 3b6490c736 Change platform target to iOS 12 2022-03-02 17:21:05 +00:00
Daniel Haight 9afb87bdff Update podspec and package.swift references 2022-03-01 21:18:37 +00:00
Daniel Haight 86d1257ab5 Remove dependecy on rust sources 2022-02-28 17:03:20 +00:00
Francisco Gindre 01bf30b081
Merge pull request #341 from zcash/checkpoints
Issue #340: Add fresh checkpoints.
2022-02-04 11:52:39 -03:00
Francisco Gindre 6f1a06391d Issue #340: Add fresh checkpoints.
0.12.0-beta6

fix indentation
2022-01-27 19:28:11 -03:00
Francisco Gindre 4607e2cd37
Merge pull request #332 from zcash/change-cargo-deps
Fix Issue #331 Reference librustzcash from a branch on that repo
2022-01-20 18:38:04 -03:00
Francisco Gindre eba37f6c77 Fix Issues #334 and #331
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
2022-01-20 17:01:20 -03:00
Francisco Gindre f12775c12e
Merge pull request #327 from zcash/release/0.12.0-beta.5
Release/0.12.0 beta.5  (Beta 4 + new checkpoints)
2021-12-03 18:44:43 -03:00
Francisco Gindre f3f49fd911 Fix compile error 2021-12-03 17:28:25 -03:00
Francisco Gindre d3948a60a1 Merge branch 'master' into release/0.12.0-beta.5 2021-12-02 16:41:49 -03:00
Francisco Gindre 582030ff59 Point to same librustzcash fork as android sdk 2021-11-29 13:34:26 -03:00
Francisco Gindre 115762bf7b Update Podspec. Bump to beta.5. Pod install on Demo App
Revert "cargo update"

This reverts commit 5eac956ad7.
2021-11-22 18:29:19 -03:00
Francisco Gindre b14eca3ede Mainnet checkpoints
spacing fix

add default case

Testnet checkpoints

fix range on Mainnet checkpoints
2021-11-19 17:06:25 -03:00
Francisco Gindre 5eac956ad7 cargo update 2021-11-19 16:45:22 -03:00
Francisco Gindre 1c5779b8e9
Merge pull request #325 from zcash/fresh-checkpoints
Fresh checkpoints
2021-11-19 15:41:48 -03:00
Francisco Gindre 3b42c0b868 Mainnet checkpoints
spacing fix

add default case

Testnet checkpoints

fix range on Mainnet checkpoints
2021-11-19 12:01:14 -03:00
Francisco Gindre 2b8a63d012
Merge pull request #316 from dh-ecc/m1-fixes
M1 fixes (#309)
2021-10-11 13:24:18 -03:00
Daniel Haight 27cca7979f Update `build_librustzcash_xcode.sh`
Reintroduce `cargo-lipo` as a dependency since bitrise is building for multiple architectures.
2021-10-06 20:10:58 +01:00
Daniel Haight 1e6f899976 Remove unused patch in Cargo.toml 2021-10-06 01:01:41 +01:00
Daniel Haight 7cec43504f Use specific rust toolchain depending on target
We now explicitely pin a nightly toolchain version for building for arm64 iOS simulator and use stable toolchain for any other architecture
2021-10-05 21:08:43 +01:00
Daniel Haight 1e94f01c32 [styling] remove repeated parameter:value pairs 2021-10-05 19:19:29 +01:00
Daniel Haight 876e38687c Update `lib.rs` for new revision of `librustzcash`
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.
2021-10-05 16:40:21 +01:00
Francisco Gindre cf5595ac7e Rename `CONTIBUTING.md' to CONTRIBUTING.md 2021-10-05 09:15:20 -03:00
Daniel Haight 1056907b44 Update rust setup script
This adds the nightly toolchain as well as the required targets
2021-10-04 17:25:30 +01:00
Daniel Haight 43572afe48 Fix orchard release build hanging
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!
2021-10-01 10:28:58 +01:00
Daniel Haight 2af7ba5c07 Update podfile.lock on example project 2021-10-01 03:14:07 +01:00
Daniel Haight 12860ea2f6 Add support for M1 macs to cocoapods integration
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.
2021-10-01 03:14:07 +01:00
Daniel Haight 33a4654208 Remove EXCLUDED_ARCHS setting
We no longer want to exclude arm64 for simulator SDKs as this excludes simulators running on M1 machines
2021-09-28 18:14:47 +01:00
Francisco Gindre 14af5dc24f
Merge pull request #314 from adamstener/Swiftlint-Tests
SwiftLint Enabled on Test Folder
2021-09-28 10:54:31 -03:00