Commit Graph

89 Commits

Author SHA1 Message Date
Adam Stener 78b1f937ba SwiftLint Enabled on Test Folder 2021-09-28 05:33:08 -05:00
Adam Stener ae5b3cfc21 SwiftLint Fixes 2021-09-21 06:27:49 -05:00
Francisco Gindre b1a0b01673 Clear SwiftLint on ZcashLightClientKit 2021-09-15 09:21:29 -03:00
Francisco Gindre 089e5659a2 [WIP] fix autoshielding confirmations 2021-08-27 20:04:23 -03:00
Francisco Gindre f5f2661276 Add test to verify z2t transactions are reported in transactions found 2021-08-04 14:14:15 -03:00
Francisco Gindre 25f97752bb fix tests 2021-07-28 19:25:47 -03:00
Francisco Gindre 09ac2c5877 remove WalletBirthday as generated file and add it as constants in the sdk 2021-07-28 15:46:45 -03:00
Francisco Gindre aaf56aeeeb Add ZcashNetwork to tests 2021-07-28 13:59:10 -03:00
Francisco Gindre fc528b760d Tests 2021-06-19 20:41:54 -03:00
Francisco Gindre b5cd1eb84f FigureNextBatchOperation.swift tests 2021-06-17 20:58:30 -03:00
Francisco Gindre 292d08af7a make range function static 2021-06-17 18:03:42 -03:00
Francisco Gindre a07fdc52dc fix tests 2021-06-14 20:37:23 -03:00
Francisco Gindre 3a963d79c4 CompactBlock batch download and stream download operation
tests pass.
2021-06-02 18:32:05 -03:00
Francisco Gindre b39e04eda3 [WIP] download and scanning batch operations 2021-05-28 19:45:18 -03:00
Francisco Gindre dda218db69 Fix DarksideWalletd tests 2021-05-18 18:22:29 -03:00
Francisco Gindre b1d5aaee0f fix compilation errors 2021-05-18 11:48:32 -03:00
Francisco Gindre c6bacef417 update proto files 2021-05-18 11:46:17 -03:00
Francisco Gindre 90c7a4d755 Fix Tests. deleted two obsolete ones 2021-05-07 15:50:50 -03:00
Francisco Gindre 37f2232d2d Update to gRPC-Swift 1.0.0 2021-04-20 11:49:10 -03:00
Francisco Gindre 7f5a115edc Rewind to neearst height tests 2021-04-19 14:16:24 -03:00
Francisco Gindre e2f8f066be Update ProfoBuf files 2021-04-12 17:28:33 -03:00
Francisco Gindre b6e21183a9 Fix: Darksidewalletd tests fail because of getUTXOs calls 2021-04-12 13:09:08 -03:00
Francisco Gindre 1ed5aeb0b2 Z -> T restore 2021-04-08 14:18:16 -03:00
Francisco Gindre 96d6ab1fe9 Fix Tests 2021-04-06 11:48:53 -03:00
Francisco Gindre 65aa7d8474 [wip] autoshield poc with uvks 2021-04-02 19:18:16 -03:00
Francisco Gindre 477f7cc69f Merge branch 'master' into shield-funds-poc 2021-03-29 14:53:01 -03:00
Francisco Gindre 53bc114948
Allow Wallet developers to rewind synchronizer and (eventually) rescan (#267)
* [WIP] tests

* Use Rust creates instead of pinned revision

* expose rewind API to public interface

* fix ci error

* Documentation
2021-03-26 19:56:51 -03:00
Francisco Gindre 30d141ab94
Fix #255 #261 outgoing no-change transactions not reported as mined (#265)
* Fix #255 #261 outgoing no-change transactions not reported as mined
* Bump rust welding version to 0.0.6

Co-authored-by: Kris Nuttycombe <kris@electriccoin.co>
2021-03-25 14:43:20 -03:00
Francisco Gindre c69b54db9e
Data Access Api integration (#227)
* add cargo dependencies for data access api

* Imports + init_accounts_table

* ported init_accounts_table and init_accounts_table_with_keys

* ported zcashlc_derive_extended_spending_keys

* ported zcashlc_derive_extended_full_viewing_keys

* ported zcashlc_derive_shielded_address_from_seed

* ported zcashlc_derive_shielded_address_from_viewing_key

* ported zcashlc_derive_extended_full_viewing_key

* ported zcashlc_init_blocks_table

* port zcashlc_get_address

* port zcashlc_is_valid_transparent_address

* port zcashlc_get_balance

* fix u32 try_into error

* ported zcashlc_get_received_memo_as_utf8

* fixed zcashlc_init_blocks_table, ported zcashlc_get_sent_memo_as_utf8

* ported zcashlc_validate_combined_chain

* ported zcashlc_rewind_to_height

* ported zcashlc_rewind_to_height

* ported zcashlc_decrypt_and_store_transaction

* ported zcashlc_branch_id_for_height

* ported zcashlc_derive_transparent_address_from_seed

* Compiled lib.rs

* lib.rs compiles

* fix AccountId import

* Fix: send fails with missing params. cargo update

* Fix: demo app fails to initialize

* fix AdvancedReOrgTests

* deprecate default FEE

* Add fee for height helper for UI purposes

* default fee for heightwq

* update proto files and compiled files

* Update to librustzcash master.

* add latests changes from rust on master

* merge with master

* fix merge error

Co-authored-by: Kris Nuttycombe <kris@electriccoin.co>
2021-03-11 18:41:57 -03:00
Francisco Gindre 0c9f3cb5ef add stubs, fix typo 2021-03-03 18:14:20 -03:00
Francisco Gindre 90cd2d0ff8 Create derive secret key for t funds 2021-03-03 18:13:09 -03:00
Francisco Gindre 499da66900 update proto files and compiled files 2021-03-03 18:09:13 -03:00
Francisco Gindre 499441c170 fix AdvancedReOrgTests 2021-03-03 18:09:13 -03:00
Francisco Gindre 72c682d8a5 Key Validation protocol for DerivationTool 2021-02-24 23:59:59 -03:00
Francisco Gindre 9a8d4c23b5 Code Cleanup, test enhancements, linting changes 2021-02-15 21:56:23 -03:00
Francisco Gindre aad4710608 fix tests 2020-12-14 18:55:51 -03:00
Francisco Gindre 69b9ee9dfe force retry on TestCoordinator 2020-12-05 15:10:22 -03:00
Francisco Gindre 1926ea6824 Canopy Tests Successfully pass 2020-11-05 19:02:01 -03:00
Francisco Gindre 552c011951 WIP - testCombinePreActivationNotesAndPostActivationNotesOnSpend 2020-11-02 14:15:52 -03:00
Francisco Gindre 29db874bec WIP - testExpiredSpendAfterActivation 2020-11-02 11:58:45 -03:00
Francisco Gindre 71940c8d40 WIP - testSpendMinedSpendThatExpiresOnActivation 2020-11-02 11:53:49 -03:00
Francisco Gindre 4d77455033 WIP - testSpendPostActivationFundsAfterConfirmation 2020-11-02 11:04:30 -03:00
Francisco Gindre 45b0f7523b WIP - testSpendPriorFundsAfterActivation 2020-10-30 20:45:54 -03:00
Francisco Gindre fa76c722b2 FIX - UNIQUE constraint violation when an operation failed 2020-10-26 18:57:19 -03:00
Francisco Gindre 4e1e899de8 Add darksidewalletd tests for foundTransactions notifications 2020-10-20 19:22:05 -03:00
Francisco Gindre e01d2e1745 add stub method 2020-10-20 11:07:42 -03:00
Francisco Gindre 972fb08926 Issue 208 - Improve API method to request transaction history 2020-10-19 21:01:46 -03:00
Francisco Gindre 18b8d622c2 remove SeedProvider protoco 2020-10-14 20:18:10 -03:00
Francisco Gindre 4a01865a7d Add IVK capabilities to Initializer 2020-10-14 19:50:26 -03:00
Francisco Gindre 328a18d898 DerivationTool + tests
Fixes #204
2020-10-09 17:58:36 -03:00