Commit Graph

330 Commits

Author SHA1 Message Date
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
Lukas Korba e5e1fdf3e8 [#1475] Adopt transaction data requests
- Refactor of the logic based on the review, the determination of the calls can't be based on block height but actual response from grpc

[#1475] Adopt transaction data requests

- fixes

[#1475] Adopt transaction data requests

- Changes made on pairing call

[#1475] Adopt transaction data requests

- fixes

[#1475] Adopt transaction data requests

- code cleanup

[#1475] Adopt transaction data requests

- FFI bumped to the latest version with fixes

[#1475] Adopt transaction data requests

- comments removed

[#1475] Adopt transaction data requests

- endHeight for spendsFromAddress reduced by 1
2024-08-19 20:57:13 +02:00
Lukas Korba 35c31a4317 [#1475] Adopt transaction data requests
- RustBackend extended for the new 2 rust methods 'transactionDataRequests' and 'setTransactionStatus'
- lightwalletservice extended to add a new method 'getTaddressTxids'
- Enhance action has been refactored to handle transactionDataRequests

[#1475] Adopt transaction data requests

- fixes

[#1475] Adopt transaction data requests

- Error codes for specific rust and service errors defined
- Fix for the txId

[#1475] Adopt transaction data requests

- Checkpoints added
- Code cleanup

[#1475] Adopt transaction data requests

- bugfixes in the ffi

[#1475] Adopt transaction data requests

- FFI with fixes

[#1475] Adopt transaction data requests

- Another FFI update with fixes, this time the final

[#1475] Adopt transaction data requests

- Fix for the not recognized state of the transaction for FetchTransaction(txId:)

[#1475] Adopt transaction data requests

- Code cleaned up and polished

[#1475] Adopt transaction data requests

- Changelog updated

[#1475] Adopt transaction data requests

- DemoApp settings reverted
2024-08-18 19:20:30 +02:00
Lukas Korba 99c46d0979 refresh-rates
- API refactored to Combine's CurrentValueSubject

refresh-rate

- FiatCurrencyResult is now Equatable

refresh-rates

- cleanup

refresh-rates

- The API has been refactored to follow the same principles as for state and events.
- Review comments addressed

refresh-rates

- The API has been extended to send a result of the operation, success or failure

refresh-rates

- bugfix of the try vs try?

refresh-rates

- reverted the error state

Update CHANGELOG.md

- changelog updated
2024-08-01 13:28:37 +02:00
Jack Grigg bce8085690 Add APIs for fetching the ZEC-USD exchange rate over Tor. 2024-07-30 11:02:10 +01:00
Jack Grigg a7f73c39f3 Migrate to first pre-release of FFI 0.9.0
Includes:
- Initialization changes to enable log filter customization. We now
  connect the Rust log level to the Swift log level, and always run
  other Rust initialization steps.
- ZIP 320 support (TEX addresses).
2024-07-30 11:01:41 +01:00
Lukas Korba 09028c38b3 [#1452] TX Resubmission-the wallet has to periodically resubmit unmined transactions (#1454)
- addressed comments from the PR, logs enhanced to feature height and demo app logs issues first before any other code is executed

[#1452] TX Resubmission-the wallet has to periodically resubmit unmined transactions (#1454)

- txId log

[#1452] TX Resubmission-the wallet has to periodically resubmit unmined transactions (#1454)

- logs tweaked
2024-07-03 14:31:43 +02:00
Lukas Korba 528f380484 [#1452] TX Resubmission-the wallet has to periodically resubmit unmined transactions
- functional version is done

[#1452] TX Resubmission-the wallet has to periodically resubmit unmined transactions

- code cleanup

[#1452] TX Resubmission-the wallet has to periodically resubmit unmined transactions

- changelog updated

[#1452] TX Resubmission-the wallet has to periodically resubmit unmined transactions

- unit tests fixed
- mocks generated
2024-07-03 14:31:43 +02:00
Lukas Korba c8f134ca6f [#1449] Checkpoints and ffi update
- FFI updated to 0.8.1
- Checkpoints updated
- Changelog updated
2024-06-14 12:14:05 +02:00
Lukas Korba d258fc094b [#1431] Fix swiftlint reported issues
- all reported swiftlint issues have been addressed

[#1431] Fix swiftlint reported issues

- changelog updated

[#1431] Fix swiftlint reported issues (#1432)

- fixme fix
2024-05-30 13:16:46 +02:00