Commit Graph

203 Commits

Author SHA1 Message Date
Kris Nuttycombe 0bc99a34a7
Merge pull request #137 from Electric-Coin-Company/ffi-0.8.0
FFI 0.8.0
2024-04-17 16:15:45 -06:00
Kris Nuttycombe 9314c83d7a
Update Info.plist CFBundleVersion values.
Co-authored-by: str4d <jack@electriccoin.co>
2024-04-17 15:58:44 -06:00
Kris Nuttycombe 908d03a1bf Update build artifacts for release version 0.8.0 2024-04-17 14:15:38 -06:00
str4d f7f53732da
Merge pull request #134 from Electric-Coin-Company/update-deps
cargo update
2024-04-17 19:52:37 +01:00
Kris Nuttycombe 0a6fa33117
Merge pull request #136 from nuttycom/fix_orchard_memo_retrieval
Fix orchard memo retrieval
2024-04-17 12:08:35 -06:00
str4d 5d9a58930c
Merge pull request #132 from nuttycom/avoid_missing_account_panic
Return an error instead of a panic in the case of data corruption.
2024-04-17 18:42:19 +01:00
Jack Grigg 1d07c3dfe7 cargo update 2024-04-17 17:40:15 +00:00
str4d 3b9f58ea33
Merge pull request #135 from Electric-Coin-Company/apple-xcode-15.3-bug-workaround
Add dummy `Info.plist` to platform frameworks
2024-04-16 23:34:32 +01:00
Kris Nuttycombe 764da27e30 Rename `is_valid_shielded_address` => `is_valid_sapling_address`
Fixing this incorrect name was previously deferred, but since we have a
breaking API change with the addition of the `output_pool` argument to
`zcashlc_get_memo`, we can now fix this.
2024-04-16 13:49:36 -06:00
Kris Nuttycombe 22d80883c9 Require a shielded pool identifier for memo retrieval. 2024-04-16 13:48:36 -06:00
Jack Grigg 5a094f6912 Add dummy `Info.plist` to platform frameworks
A bug in the XCode 15.3 build system causes a dummy framework folder to
be included in the app bundle when it depends on a statically linked
framework (like this one). This causes app validation to fail both in
the simulator and when pushing an app build to the App Store Connect.

We work around the bug by adding a dummy `Info.plist` to the platform
frameworks, with a `MinimumOSVersion` that is wildly high to ensure it
can't actually be used.

Part of Electric-Coin-Company/zashi-ios#1166.
2024-04-16 19:14:09 +01:00
Kris Nuttycombe df52aa844d Return an error instead of a panic in the case of data corruption.
This removes an `expect` call that risked crashing the app in the case of
database corruption, potentially hiding other bugs.
2024-04-01 11:33:48 -06:00
str4d cad4bf757b
Merge pull request #130 from Electric-Coin-Company/default_orchard_change
Send change to Orchard by default
2024-03-29 21:49:50 +00:00
Kris Nuttycombe db890e8bc5 Send change to Orchard by default
This also modifies shielding behavior so that shielded funds are sent to
the Orchard pool instead of to Sapling.
2024-03-29 15:45:57 -06:00
str4d e6b0c9b539
Merge pull request #129 from Electric-Coin-Company/ffi-0.7.4
FFI 0.7.4
2024-03-28 14:39:50 +00:00
Jack Grigg e2d8763f3a FFI 0.7.4 2024-03-28 10:38:29 -04:00
Jack Grigg d2f413b544 make xcframework 2024-03-28 10:21:18 -04:00
Jack Grigg a715845470 Add `zcashlc_put_orchard_subtree_roots` 2024-03-28 10:10:08 -04:00
Kris Nuttycombe 76daeb5e15
Merge pull request #128 from Electric-Coin-Company/ffi-0.7.3
FFI 0.7.3
2024-03-27 16:16:35 -06:00
Jack Grigg 8838b4f0ee make xcframework 2024-03-27 18:10:24 -04:00
Jack Grigg 4159664fb1 Bump dependencies to include bugfix for 0.7.3 2024-03-27 18:01:05 -04:00
Lukas Korba 5a8719944f
Merge pull request #127 from Electric-Coin-Company/changelog-fix-0.7.2
Add missing 0.7.2 release date to changelog
2024-03-27 16:45:25 +01:00
Jack Grigg ea06dd363c Add missing 0.7.2 release date to changelog 2024-03-27 11:28:03 -04:00
str4d 2ba6212f60
Merge pull request #126 from Electric-Coin-Company/ffi-0.7.2
FFI 0.7.2
2024-03-27 15:26:24 +00:00
Jack Grigg b393e397fd make xcframework 2024-03-27 11:22:34 -04:00
Jack Grigg 03f7e5ebf0 Bump FFI version to 0.7.2 2024-03-27 11:22:27 -04:00
Jack Grigg 40f5cda980 cargo update
This includes `zcash_client_sqlite 0.10.2` which fixes a shielding bug.
2024-03-27 11:10:31 -04:00
Kris Nuttycombe 59d5f586e0
Merge pull request #125 from Electric-Coin-Company/ffi-0.7.1
zcash_light_client_ffi release version 0.7.1
2024-03-25 21:06:31 -06:00
Kris Nuttycombe c7e5158edf Update build artifacts for release version 0.7.1 2024-03-25 20:56:11 -06:00
Kris Nuttycombe 3653f94825 Update to zcash_client_sqlite version 0.10.1 2024-03-25 20:51:08 -06:00
str4d d73ee9a10e
Merge pull request #123 from Electric-Coin-Company/ffi-0.7.0
Feature branch for 0.7.0
2024-03-25 22:01:11 +00:00
Kris Nuttycombe c918662aeb Update build artifacts for zcash-light-client-ffi release 0.7.0 2024-03-25 15:30:48 -06:00
Kris Nuttycombe aa4281b76a cargo update 2024-03-25 15:25:02 -06:00
Kris Nuttycombe 6c9e39c4b6 Update to latest releases of the `librustzcash` crates.
Updates to:
- zcash_primitives 0.15.0
- zcash_proofs 0.15.0
- zcash_client_backend 0.12.0
- zcash_client_sqlite 0.10.0
2024-03-25 15:23:23 -06:00
Kris Nuttycombe c857dd8714 Migrate to latest in-progress revision of Rust crates.
This enables generation of Orchard receivers for unified addresses by default.
2024-03-21 09:50:55 -06:00
Jack Grigg a2416226c3 Enable Orchard support 2024-03-19 23:55:45 +00:00
Jack Grigg abe8620dac Migrate to latest in-progress revision of Rust crates
Includes some renames, and a built-in seed relevancy API that we now
use.
2024-03-19 23:55:45 +00:00
Kris Nuttycombe 0154794a0d Migrate to latest in-progress revision of Rust crates
This fixes a bug in the `v_transactions` view related to changes in how
primary key columns are named in the database.
2024-03-18 08:29:55 -06:00
Jack Grigg 70cce1272c Add `zcashlc_is_seed_relevant_to_wallet` 2024-03-15 15:35:18 +00:00
Jack Grigg e742f5befd Migrate to latest in-progress revision of Rust crates
Includes changes to how accounts are stored and referenced. We now
need to remember and provide the seed fingerprint; for now, given
that we know we only create derived accounts from a single seed, we
search for an account with a matching ZIP 32 account index.
2024-03-15 15:35:00 +00:00
Jack Grigg c2ac47300d Add `zcashlc_list_accounts` 2024-03-15 15:02:09 +00:00
str4d a338918ed0
Merge pull request #121 from Electric-Coin-Company/ffi-0.6.0
Feature branch for 0.6.0
2024-03-07 21:55:21 +00:00
Jack Grigg 7c801be1f4 zcash-light-client-ffi 0.6.0 2024-03-07 21:15:30 +00:00
Jack Grigg 06b49d6ff6 cargo update 2024-03-07 20:48:59 +00:00
str4d 12e38e9082
Merge pull request #122 from nuttycom/ffi-0.6.0
Suggested change for shielding address selection.
2024-03-06 20:23:08 +00:00
Kris Nuttycombe 6c7cbfb1f2 Suggested change for shielding address selection. 2024-03-06 20:21:28 +00:00
Jack Grigg 97e09ed370 Adjust `zcashlc_propose_shielding` API
- Returns `null` when there are no funds to shield or the shielding
  threshold is not met.
- Returns an error if there are funds to shield in more than one
  transparent receiver within the account.
- Has an optional parameter for specifying which transparent receiver
  to shield funds from.
2024-03-06 02:32:29 +00:00
Jack Grigg f66f785c29 cargo update 2024-03-06 02:32:29 +00:00
Jack Grigg fda06088f8 Migrate to `zcash_client_sqlite 0.9.0`
The backend now supports proposals that create multiple transactions.
It still does not generate such proposals itself.
2024-03-06 02:32:29 +00:00
Kris Nuttycombe f48bc78cb2
Merge pull request #119 from nuttycom/release-0.5.1
Release 0.5.1
2024-01-30 18:57:24 -07:00