Commit Graph

164 Commits

Author SHA1 Message Date
Francisco Gindre ecc278e05c 0.12.0-beta.1 2021-07-30 13:51:27 -03:00
Francisco Gindre 12eab8c6db bump version to alpha12 2021-07-29 19:00:45 -03:00
Francisco Gindre a5c67c6593 remove ZCASH_NETWORK_ENVIRONMENT 2021-07-28 17:03:09 -03:00
Francisco Gindre 6e64b32810 remove code generation for zcashsdk constants 2021-07-28 16:37:05 -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 dd7cd24aeb 0.12.0 alpha 10 2021-07-15 20:48:13 -03:00
Francisco Gindre 924ccb1c58 CompactBlockProcessor states don't propagate correctly
Add MnemonicSwift to test target. Bump Alpha version

solve dependency problem on podspec

Remove MnemonicSwift from test target
2021-07-15 10:07:46 -03:00
Francisco Gindre fefb9f6523 bump version 2021-07-06 15:32:08 -03:00
Francisco Gindre f733a6f117 bump to 0.12.0-alpha.6 2021-06-23 13:40:38 -03:00
Francisco Gindre 2b17bacf05 0.12.0-alpha.5 2021-06-21 09:03:37 -03:00
Francisco Gindre 0b23454271 add output files to build phase to avoid CI failures 2021-06-20 18:57:42 -03:00
Francisco Gindre f26ad811c6 fix lint warnings 2021-06-20 11:59:00 -03:00
Francisco Gindre 688dbea28b bump to 0.12.0-alpha.4 2021-06-20 11:41:59 -03:00
Francisco Gindre abf49abadd 0.12.0 alpha 3 2021-06-16 19:47:22 -03:00
Francisco Gindre e56779b9ee bump version to 0.12.0-alpha.2 2021-06-16 12:15:39 -03:00
Francisco Gindre 1f21540fd6 fix unneded dependency 2021-06-15 11:32:06 -03:00
Francisco Gindre 6e4f8e18d0 0.12.0-alpha.1 2021-06-14 20:41:49 -03:00
Francisco Gindre 392b4ee0d4 Fix Demo App 2021-06-14 19:56:32 -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 f663df1711 fix demo app not compiling 2021-05-19 18:49:08 -03:00
Francisco Gindre 497f1e94ca Pod update + changelog + new checkpoints 2021-05-19 18:48:49 -03:00
Francisco Gindre 446671dffe bump version 2021-05-17 18:16:08 -03:00
Francisco Gindre 5bdac5dec6 0.11.0-alpha.2 2021-05-12 14:35:12 -03:00
Francisco Gindre 90c7a4d755 Fix Tests. deleted two obsolete ones 2021-05-07 15:50:50 -03:00
Francisco Gindre 3ee097e220 0.11.0-alpha.1 2021-04-30 17:43:54 -03:00
Francisco Gindre 37f2232d2d Update to gRPC-Swift 1.0.0 2021-04-20 11:49:10 -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 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 14a5a02966 Logger fixes 2021-03-15 10:52:53 -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 246d10edaa [WIP] catch up to latest librustzcash changes 2021-03-08 15:47:36 -03:00
Francisco Gindre 1affc50726 [WIP] data access api compliance 2021-03-03 18:19:10 -03:00
Francisco Gindre 81f4edfd55 Issue #244 Add Synchronizer support for shielding funds 2021-03-03 18:19:10 -03:00
Francisco Gindre d1a099b26f shield funds demo 2021-03-03 18:19:10 -03:00
Francisco Gindre 4abf914f9f Issue #166 Download UTXO set 2021-03-03 18:09:13 -03:00
Francisco Gindre 7cb4750f29 Get UTXOs screen 2021-03-03 18:09:13 -03:00
Francisco Gindre bedeb89316 fix alert without button 2021-03-03 18:09:13 -03:00
Francisco Gindre 60dc7ae6c5 Horrible looking derivation screen 2021-03-03 18:09:13 -03:00
Francisco Gindre adc3deaf86 0.9.4 2021-02-26 15:57:30 -03:00
Francisco Gindre 9a8d4c23b5 Code Cleanup, test enhancements, linting changes 2021-02-15 21:56:23 -03:00
Francisco Gindre 18865a52d0 bump version to 0.9.1 2021-01-05 15:54:34 -03:00
Francisco Gindre 940695354d bump to version 0.8.0 2020-12-07 09:36:58 -03:00
Francisco Gindre 5f3bbd7ca2 bump version 2020-11-16 14:54:07 -03:00
Francisco Gindre 1926ea6824 Canopy Tests Successfully pass 2020-11-05 19:02:01 -03:00
Francisco Gindre 2da996c55f bump version 2020-10-30 10:26:04 -03:00
Francisco Gindre 972fb08926 Issue 208 - Improve API method to request transaction history 2020-10-19 21:01:46 -03:00
Francisco Gindre 0df4b9e4f2 fix compilation error on DemoApp. Add troubleshooting step on README 2020-10-16 19:11:05 -03:00
Francisco Gindre 8cc0b63470 Version 0.7.0 2020-10-16 14:10:01 -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
Francisco Gindre 37a15bb93f add DownloadIFNeeded 2020-10-08 17:29:38 -03:00
Francisco Gindre af8ee1ef12 Add SaplingParameterDownloader 2020-10-08 17:29:38 -03:00
Francisco Gindre d4dfb23657 fix issue 201 Throw exception when seed can't be provided 2020-10-08 17:29:38 -03:00
Francisco Gindre bfc717dc07 Fix build problems 2020-10-08 17:29:27 -03:00
Francisco Gindre 1a4a3a7f6d fix podfile on demo app 2020-10-08 15:45:45 -03:00
Francisco Gindre 890a4eb5a9 fix script. update sample app. update pod version 2020-10-01 16:17:13 -03:00
Francisco Gindre 7846d20476 remove module map from podspec 2020-09-30 19:40:36 -03:00
Francisco Gindre 02ddb7be24 update MnemonicSwift dependency 2020-09-28 12:29:09 -03:00
Francisco Gindre bd56f32164 bump version 2020-09-24 19:08:49 -03:00
Francisco Gindre 86b20c4236
Xcode 12 cocoapods error fix (#193)
* add arm64 damn apple

* fix: exclude arm from simulator builds

* change built platform depending on target architecture

* exclude arm64 for simulator builds
2020-09-24 12:00:15 -03:00
Francisco Gindre 49e3300692 Removed some warnings, added xconfig to fix pod lint issues, updated protobufs 2020-09-23 15:39:00 -03:00
Francisco Gindre 2ef4abd498 remove wrong server 2020-09-04 14:38:23 -03:00
Francisco Gindre 8c41899edb update grpc-swift 2020-09-02 15:34:06 -03:00
Francisco Gindre 97abbf2a4e bump version 2020-09-02 13:38:12 -03:00
Francisco Gindre deed240a6a
update version and checkpoints (#174) 2020-08-13 14:33:28 -03:00
Francisco Gindre e394514f85
Update LibRustZcash revision to support canopy on TESTNET (#172) 2020-08-12 14:45:35 -03:00
Francisco Gindre 2e8551aaa6 enforce gRPC-Swift 1.0.0-alpha.17 because of module name error 2020-08-10 20:34:00 -03:00
Francisco Gindre 251b4c7aa3
Error handling refactor (#170)
* Improve error handling on processor and service

* Error Refactoring

* fix XCode12 issue

* Fix Compilation errors and test

* bump MIDDLE version
2020-08-10 19:19:59 -03:00
Francisco Gindre d2ffd852bb release 0.5.3 2020-07-22 16:33:58 -03:00
Francisco Gindre 17a7efb149 bump version to 0.5.2 2020-07-21 19:01:16 -03:00
Francisco Gindre 9a00284a28
Added memo demo! (#155) 2020-06-18 20:53:11 -03:00
Charlie O'Keefe 59834f7ef8
Add a .travis.yml file (#151)
* Add a .travis.yml file

* Add scripts for setup on travis ci

* Add 'use_frameworks' in test targets in Podfile

* Remove 'test' target from xcodebuild command
2020-06-17 14:35:47 -03:00
Francisco Gindre 32058fbc30 Remove MnemonicSwift from tests. iOS 12 Compatibility 2020-06-10 10:49:04 -03:00
Francisco Gindre 7b5871540e version 0.5.0 2020-06-10 10:42:50 -03:00
Kevin Gorham a45f056242
Enable heartwood. (#138)
* Enable heartwood.

We might want to make further adjustments to conditionally enable this only on testnet.

* add consensus branch Id code

* better address validation

Co-authored-by: Francisco Gindre <francisco.gindre@gmail.com>
2020-06-09 21:23:46 -03:00
Francisco Gindre ebee65798d
Switch to MnemonicSwift (#142) 2020-06-09 11:27:10 -03:00
Francisco Gindre f8f8be30a4
Advanced Re Org tests + Balance tests (#137)
* Stub methods and internal initializers

* [WIP] Balance tests

* testVerifyBalanceAfterExpiredTransaction and testVerifyChangeTransaction

* adopt new version of darkside lightwalletd

* Balance tests with new darkside wallet proto files

* podspec and podfile

* Advanced reorg testsw

* Issue 117 - Reorg Test Case: Index of incoming tx changes

* Hooking to Darksidewalletd

* update proto files to latest

* sanity tests

* FakeChainBuilder + advanced tests

* Use new datasets

* test: outbound tx index change on reorg

* testReOrgChangesInboundTxMinedHeight test + other improvements

* testReOrgChangesInboundMinedHeight

* testReOrgRemovesIncomingTxForever

* testReOrgRemovesOutboundTxAndIsNeverMined

* testReOrgRemovesOutboundTxAndIsNeverMined

* Fixes to balance tests
2020-06-03 20:18:57 -03:00
Francisco Gindre 15e9a95ccb remove commit lock from podfile 2020-05-06 16:45:10 -03:00
Francisco Gindre 462ce0f5d7
Decrypt transactions. Full wallet restore (#110)
* Add enhancement [WIP]

* Added enhance and decrypt transaction step

* modify logging

* Enhancement tests scaffolding
2020-04-23 14:11:03 -03:00
Francisco Gindre 174ceb1d8e
Swift grpc to NIO (#109)
* update protofiles

* update protobuf

* swift lint

* update GRPC service to NIO

* initial update [wip]

* Upgrade to SwiftGRPC NIO and Tests
2020-04-09 19:25:43 -03:00
Francisco Gindre 7510370892 Release 0.3.2 2020-04-06 14:06:53 -03:00
Francisco Gindre 312a169911
Feature/reorg testing (#104)
* Add DarksideWalletD class

* darkside walletd reorg tests

* Removed hardcoded stuff from tests

* add parameters to support other kinds of reorgs

* Basic reorg test in place

* Integration to DarksideWalletD and tests

* tests improvements

* Implement reorg testing. fix error throwing
2020-04-06 12:54:31 -03:00
Dimitris Apostolou 51419010ea
Fix typos and cleanup (#103) 2020-03-26 11:27:55 -03:00
Francisco Gindre 9f223596f8 fix sample code where interface changed 2020-03-16 15:25:55 -03:00
Linda Lee fc8689f894
Move read.me up a directory. (#90) 2020-03-09 19:39:10 -03:00
Francisco Gindre 72c3cb59ef
Integrate logging capabilities (#93)
* Integrate logging capabilities

* Relocate file
2020-03-09 17:25:27 -03:00
Francisco Gindre 4db57d1be0 Merge branch 'master' of github.com:zcash/ZcashLightClientKit 2020-03-06 19:28:40 -03:00
Francisco Gindre 4201a0d912 Release 0.2.0 2020-03-04 14:38:46 -06:00
Francisco Gindre 5bc3764f9e Support Note Spending v7
* upgraded to note-spending-v7

* use "zip32 compliant" seed on demo app

* Fixes to initializer, added v7 methods, documented API. Fixed compact block processor not initializing correctly upon new wallets.

* documentation

* Change u8 return value to bool + tests

* add address validation functionality to Initializer

* renamed functions to a C style. Exposed deriving functions in rust backend. Added more tests

* fixed bug where compact block processor wouldn't reschedule

* Fixed capture blocks retaining references

* fixed memory cycles and leaks

* fixed memory leak and blockrange error

* fixed error on confirmed transactions and added blockheight to progress notifications
2020-03-04 14:38:46 -06:00
Francisco Gindre 91462dc95f release 0.1.3 2020-03-04 14:38:46 -06:00
Francisco Gindre 5c177b3f4b release 0.1.1 2020-03-04 14:38:46 -06:00
Linda Naeun Lee acc4ddf166 Add read.me to iOS demo app, along with an image. 2020-03-04 13:49:19 -06:00
Francisco Gindre 5ec7c795f0 release 0.2.1 2020-03-03 12:18:01 -03:00
Francisco Gindre 6fb230588a Release 0.2.0 2020-02-26 13:57:13 -03:00
Francisco Gindre b867649443
Support Note Spending v7
* upgraded to note-spending-v7

* use "zip32 compliant" seed on demo app

* Fixes to initializer, added v7 methods, documented API. Fixed compact block processor not initializing correctly upon new wallets.

* documentation

* Change u8 return value to bool + tests

* add address validation functionality to Initializer

* renamed functions to a C style. Exposed deriving functions in rust backend. Added more tests

* fixed bug where compact block processor wouldn't reschedule

* Fixed capture blocks retaining references

* fixed memory cycles and leaks

* fixed memory leak and blockrange error

* fixed error on confirmed transactions and added blockheight to progress notifications
2020-02-26 13:54:48 -03:00
Francisco Gindre e56c04db63 release 0.1.3 2020-02-12 10:18:57 -03:00
Francisco Gindre 2e010e1764 release 0.1.1 2020-02-10 13:27:00 -03:00