Commit Graph

339 Commits

Author SHA1 Message Date
Jack Grigg e6c8c97a96 Migrate to FFI 0.17.0 2025-06-05 22:11:16 +01:00
Jack Grigg 0361700992 Migrate to second preview of the 0.17.0 FFI
Includes:
- Published versions of the Zcash crates.
- FFIs for HTTP GET and POST over Tor.
2025-06-03 01:38:55 +01:00
Jack Grigg c36009593b Migrate to first preview of the 0.17.0 FFI
Includes:
- Changes to improve scan/recovery progress reporting.
- Tor client re-bootstrapping.
- A single retry per exchange source for exchange rate data.
- Tor client dormant mode settings.
2025-06-03 01:38:55 +01:00
Lukas Korba 9a92a0cda9 [#1469] comments addressed
- TOR directory renamed to Tor
- FFI reverted to 0.16.0
2025-06-02 07:49:58 +02:00
Lukas Korba dc4082305d [#1469] comments addressed
- buildability fixed
- code cleanup
2025-05-30 18:52:49 +02:00
Lukas Korba b3e37cee9c [#1469] Use Tor for single-shot lightwalletd requests
- PR comments addressed
2025-05-30 18:52:49 +02:00
Lukas Korba 8301c4fb5f [#1469] Use Tor for single-shot lightwalletd requests
- LightWalletGRPCOverTor added with overrides for the new methods
- Lazy connection to both GRPC and Tor
- Delays for cases when TOR fails and fallbacks to direct connection
2025-05-30 18:52:49 +02:00
Lukas Korba 7e0ef54656 [#1469] Use Tor for single-shot lightwalletd requests
- TorLwdConn refactored to resolve SwiftLint issues and best practives
- TorLwdConn getInfo, getTreeState and latestBlockHeight methids implemented
- LightWalletGRPCService enhanced to use available TOR methods
- Code cleaned up
- Changelog updated
- documented tor connection methods
- torConnection initialization when fails, fallback to classic compactTxStreamer
2025-05-30 18:52:49 +02:00
Jack Grigg 28ae390458 Migrate to FFI 0.16.0 2025-05-13 19:38:19 +01:00
Lukas Korba f40d02a769 [#1544] Release 2.2.13
- FFI version bumped to 0.15.0
- Changelog updated
- Param files directed to the CDN
2025-04-25 08:09:36 +02:00
Lukas Korba e2956a190e Sync progress merged
- the progress is merged now but boolean value whether funds are spendable or not has been added extra
2025-04-11 14:36:34 +02:00
Lukas Korba f56fde9cb9 Adoption of sync & recovery progresses
Sync and recovery progresses

- FFI bumped to preview 0.15.0
- SDK has been refactored to incorporate recoveryProgress alongside scanProgress

Non-optional syncProgress

0 Denominator fix

OfflineTests fixed
2025-04-10 14:31:38 +02:00
Lukas Korba cbb4bacc36 [#1537] fixes 2025-04-03 19:11:13 +02:00
Lukas Korba 16c7869917 Migration fix & checkpoints 2025-04-03 18:30:59 +02:00
Lukas Korba 184cb6782d [#1539] 1.5 fixes 2025-04-03 15:25:31 +02:00
Lukas Korba 1a68def9a9 FFI 0.14.1 2025-03-27 15:49:24 +01:00
Lukas Korba bbaa1acdc1 Production FFI 2025-03-25 08:37:30 +01:00
Lukas Korba e0431bdb5d Fix witness per version call
- The fix witness addressing note commitment tree bug API is called each version
2025-03-21 10:59:18 +01:00
Lukas Korba fa9994918c FFI bump 2025-03-10 18:04:33 +01:00
Lukas Korba 99a31960b4 transparent gap limit handling FFI bump 2025-03-10 07:31:34 +01:00
Lukas Korba ce4cfba2d9 FFI Updated to final 0.13.0 2025-03-04 20:47:33 +01:00
Jack Grigg 09aeeb7d2d Expose UFVK on the `Account` type 2025-03-01 11:52:45 +13:00
Jack Grigg 8a8b63bf53 Bump FFI preview for `zcashlc_tor_lwd_conn_fetch_transaction` arg fix 2025-03-01 00:21:28 +13:00
Jack Grigg 07b33f11a2 Migrate to second preview of FFI 0.13.0 2025-02-28 02:46:47 +13:00
Jack Grigg 57e12e2332 Migrate to first preview of FFI 0.13.0 2025-02-14 15:27:49 +13:00
Lukas Korba ce667eb18f FFI 0.12.0 bump
- FFI version bumped to 0.12.0
2024-12-17 09:49:45 +01:00
Lukas Korba ee32938e45 FFI bump 2024-12-11 21:26:25 +01:00
Lukas Korba 26ad508ab6 FFI bumped 2024-12-10 23:23:53 +01:00
Lukas Korba 5943d63b8d FFI bump 2024-12-10 20:34:09 +01:00
Lukas Korba 32bb9ba219 FFI bump 2024-12-10 08:44:56 +01:00
Lukas Korba e48cd60a0e Account conformace
- Account refactored to conform to Equatable, Hashable, Codable, Identifiable
2024-12-06 13:02:26 +01:00
Lukas Korba 5179f4e1b0 getAccount for UUID
- rust backend `getAccount` method implemented, it returns Account with associated data
- `listAccount()` has been modified to return an array of Accounts instead of AccountUUIDs
2024-12-06 11:43:20 +01:00
Lukas Korba 05002a8a8f Generated mocks
OfflineTests fixes
2024-12-05 12:15:46 +01:00
Lukas Korba 27af6f134c PR Comments addressed and code cleaned up
- Comments in the code updated and cleaned up
- OfflineTests passes again, those failing has been removed from the bundle and marked to be fixed with a TODO

Fixes of build

- The SDK builds again
2024-12-05 10:31:13 +01:00
Lukas Korba 7a6bd7283e AccountUUID refactor - phase 2
- SDK builds again, UUIDs refactored everywhere in the SDK and demo app
- tests will follow in the next phase
- refactor of documented code in the follow up
2024-12-04 19:11:11 +01:00
Lukas Korba 06181fb645 AccountUUID refactor - phase 1
- Some of the Zip32AccountIndex has been refactored to UUID
- Public import UFVK method in the SDK added

AccountUUID refactor - phase 1

- rebased
2024-12-04 14:09:32 +01:00
Lukas Korba a09f2b1e17 import-ufvk-ffi
- the FFI has been switched to a preview of import UFVK
2024-12-04 14:05:33 +01:00
Lukas Korba 35ddf87a1b [#1512] Ensure that the SDK does not assume a default account anywhere
- The SDK no longer assumes a default account. All business logic with instances of Zip32AccountIndex(<index>) has been refactored.
2024-12-03 13:01:44 +01:00
Lukas Korba 97137510b2 Zip32AccountIndex UInt32 refactor
- Zip32Account(Int32) has been refactored to Zip32AccountIndex(UIn32)
2024-11-25 11:32:55 +01:00
Lukas Korba b31e1c91d7 Zip32Account and AccountId
- Zip32 accounts represented with Int32 are now refactored to Zip32Account
- from_account_id/fto_account_id are now refactored to AccountId
2024-11-22 14:32:34 +01:00
Lukas Korba 4462a8f292 GRPC bump
- swift-grps dependency bumped to 1.24.2
2024-11-19 11:34:56 +01:00
Lukas Korba a0535a6a82 [#1511] Refactor account representation from Int to a dedicated Account structure
- First iteration of all Int account references to an instance of an Account
2024-11-19 11:11:36 +01:00
Jack Grigg 7f57ca0c17 Migrate to zcash-light-client-ffi 0.11.0 2024-11-16 10:38:17 +13:00
Kris Nuttycombe e6b52871ab zcash-swift-wallet-sdk release version 2.2.6 2024-10-22 10:39:04 -06:00
Kris Nuttycombe 239873ce56 Update to zcash-light-client-ffi 0.10.1 2024-10-10 21:50:19 -06:00
Kris Nuttycombe 91f6b7b53b Update to preview `zcash-light-client-ffi` release fix for with note commitment tree corruption. 2024-10-06 18:50:59 -06:00
Lukas Korba db06d58ceb [#1466] Choose the best server by testing responses from multiple hosts
- Swiftlint fixes
- Package.resolved file fixes
2024-08-22 12:27:17 +02:00
Lukas Korba c8cbb8a4aa [#1466] Choose the best server by testing responses from multiple hosts
- functional prototype done

[#1466] Choose the best server by testing responses from multiple hosts

- code cleanup
- changelog added
2024-08-22 10:18:13 +02:00
Kris Nuttycombe 7f5b646799 release zcash-swift-wallet-sdk version 2.2.1
This release fixes an error in database migrations that could cause
problems when upgrading from version in the 2.1.x range.
2024-08-21 17:29:41 -06:00
Lukas Korba ad30b247b0 [#1475] Adopt transaction data requests
- SpendsFromAddress endHeight is an optional UInt32

[#1475] Adopt transaction data requests

- ignoring the getSubtreeRoots error for now so I can test tex send

[#1475] Adopt transaction data requests

- ignoring error of getSubtreeRoots

[#1475] Adopt transaction data requests

- reverting the DemoAppConfig

[#1475] Adopt transaction data requests

- FFI dependency set to 0.9.0

[#1475] Adopt transaction data requests

- Handling of unknown (code 2) errors as a workaround
2024-08-20 22:12:12 +02:00