Kris Nuttycombe
f047a19822
Merge pull request #150 from Electric-Coin-Company/release/0.9.1
...
release zcash-light-client-ffi version 0.9.1
2024-08-21 17:33:44 -06:00
Kris Nuttycombe
8ed5b08d59
release zcash-light-client-ffi version 0.9.1
...
This corrects an error in the `zcash_client_sqlite` database migration
system that could lead to problems in wallet initialization for some
wallets.
2024-08-21 17:06:32 -06:00
Kris Nuttycombe
a57f3b2c18
Merge pull request #143 from Electric-Coin-Company/ffi-0.9.0
...
FFI 0.9.0
2024-08-20 13:24:00 -06:00
Kris Nuttycombe
6521af353b
release zcash-light-client-ffi version 0.9.0
2024-08-20 13:17:13 -06:00
Kris Nuttycombe
4bed836139
Update documentation of zcashlc_get_exchange_rate_usd
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2024-08-20 13:06:13 -06:00
Kris Nuttycombe
bed7167b65
Fix incorrect `CHANGELOG` entry.
...
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-20 13:06:06 -06:00
Kris Nuttycombe
431ac1a65d
Merge pull request #148 from Electric-Coin-Company/ffi_transaction_requests
...
Add FFI bindings for `WalletRead::transaction_data_requests` and `WalletWrite::set_transaction_status`
2024-08-20 11:48:57 -06:00
Kris Nuttycombe
404861afe2
Apply suggestions from code review
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2024-08-20 11:48:41 -06:00
Kris Nuttycombe
64ec3b65c9
Add FFI bindings for `WalletRead::transaction_data_requests`.
2024-08-20 09:55:22 -06:00
Kris Nuttycombe
cac61305c7
Add `zcashlc_set_transaction_status`
2024-08-20 09:55:22 -06:00
Kris Nuttycombe
18daf36890
Update to latest zcash dependencies.
...
- orchard 0.9
- sapling-crypto 0.2
- zcash_address 0.4
- zcash_client_backend 0.13
- zcash_client_sqlite 0.11
- zcash_primitives 0.16
- zcash_proofs 0.16
2024-08-20 09:55:22 -06:00
Kris Nuttycombe
f0aaa668bf
Merge pull request #140 from Electric-Coin-Company/update_readme
...
Update README.md
2024-08-09 19:19:39 -06:00
Kris Nuttycombe
577c8b63b8
Merge pull request #142 from Electric-Coin-Company/arti-fetch-https
...
Add FFI methods for fetching exchange rates over Tor
2024-08-09 19:18:07 -06:00
Jack Grigg
2516a94f8b
Add FFI methods for fetching exchange rates over Tor
2024-07-30 10:22:50 +01:00
Jack Grigg
7c7cd86364
cargo update
2024-07-30 10:16:44 +01:00
Jack Grigg
cbf28b7cdb
Raise MSRV to 1.80
2024-07-30 10:15:54 +01:00
Jack Grigg
a4c9d25113
Migrate to latest revision of librustzcash crates
2024-07-30 10:10:54 +01:00
Jack Grigg
89ff168c71
Merge pull request #147 from Electric-Coin-Company/zip-320
...
ZIP 320
2024-07-30 10:01:21 +01:00
Jack Grigg
25b31dd115
Migrate to `librustzcash` revision with ZIP 320 payment support
2024-07-18 21:41:57 +01:00
Jack Grigg
e21cffb55b
Add TEX support to `zcashlc_get_address_metadata`
2024-07-18 21:39:13 +01:00
Jack Grigg
c11cd4d684
Remove unnecessary address-type-specific validators
2024-07-18 21:35:22 +01:00
Jack Grigg
106d77fd77
Merge pull request #146 from Electric-Coin-Company/update-rust-crates
...
Update Rust crates
2024-07-18 21:26:09 +01:00
Jack Grigg
221ad23f61
Raise MSRV to 1.79
2024-07-02 16:28:39 +01:00
Jack Grigg
d4f1cd2668
Remove unused direct dependencies
2024-07-02 16:18:12 +01:00
Jack Grigg
96aacaf4f6
Migrate to latest revision of librustzcash crates
2024-07-02 16:16:29 +01:00
Jack Grigg
ab3756c2b1
cargo update
2024-07-02 16:16:22 +01:00
Jack Grigg
f3d36a6ecc
Merge branch 'main' into ffi-0.9.0
2024-06-14 11:06:01 +01:00
str4d
679da4c85b
Merge pull request #145 from Electric-Coin-Company/ffi-0.8.1
...
FFI 0.8.1
2024-06-14 11:05:01 +01:00
Jack Grigg
f16fbed56f
FFI 0.8.1
2024-06-14 10:48:33 +01:00
Jack Grigg
40cc3f679c
Add another missing platform Info.plist key
2024-06-14 10:48:33 +01:00
str4d
6d1fc8c50d
Merge pull request #141 from Electric-Coin-Company/updates-and-cleanups
...
Updates and cleanups
2024-06-05 17:44:05 +01:00
str4d
29369c194e
Update `ptr_from_vec` comment to reference memory fitting
...
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-06-05 17:43:05 +01:00
Jack Grigg
5d08c09c7b
Rerun the build script when `src/lib.rs` changes
...
All of our FFI functions are stored in that file, so when it changes
we want to regenerate the C headers.
2024-06-05 17:21:10 +01:00
Jack Grigg
610a4902b6
Configure log levels with a string
...
Previously the Swift side of the FFI could only enable or disable
TRACE-level logs. To disable logs entirely, the Swift SDK didn't call
`zcashlc_init_on_load`, which causes other initialization logic to be
missed. After this change, the Swift SDK can disable Rust logging
entirely, or pick other log levels.
2024-06-05 17:21:10 +01:00
Jack Grigg
562e250771
Clarify documentation for `FfiBoxedSlice`
...
- We have used a null pointer to represent `None` ever since we made
it possible for a proposal to be "do nothing".
- The documentation previously required the data to be an encoded
proposal, but this can instead be constrained by the FFI functions
that construct the `FfiBoxedSlice`.
2024-06-05 17:13:29 +01:00
Jack Grigg
9f6e845e8f
Unify boxed slice handling into helper methods
2024-06-05 17:13:29 +01:00
Jack Grigg
22679e10d2
Migrate to latest revision of librustzcash crates
2024-06-05 17:13:02 +01:00
Yass
6354e6e325
Update README.md
2024-06-04 18:27:10 -06:00
Jack Grigg
b669f5eaef
cargo update
2024-06-03 20:25:56 +01:00
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