Commit Graph

133 Commits

Author SHA1 Message Date
Francisco Gindre bf4e04ae63 Initialize with UnifiedViewingKeys 2021-04-05 20:12:24 -03:00
Francisco Gindre 65aa7d8474 [wip] autoshield poc with uvks 2021-04-02 19:18:16 -03:00
Francisco Gindre 8046bed300 FIX: wrong wallet birthday on new wallets 2021-04-01 18:08:00 -03:00
Francisco Gindre 593f04b448 Migrate to new database model 2021-04-01 11:27:26 -03:00
Francisco Gindre 477f7cc69f Merge branch 'master' into shield-funds-poc 2021-03-29 14:53:01 -03:00
Francisco Gindre 782529a3e8
Fix - rewind does not work if the sdk hadn't been started before (#268) 2021-03-27 16:09:22 -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
Charlie O'Keefe 946a8a764e commit removal of zcashlc_is_valid_viewing_key 2021-03-24 11:53:46 -06:00
Francisco Gindre bad5c8e179 lint fixes 2021-03-15 10:53:26 -03:00
Francisco Gindre d302d98474 fix logger compile errors 2021-03-15 10:31:06 -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 2d76c96b42 Fix compile errors 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 e3c4663095 rename index column 2021-03-03 18:19:10 -03:00
Francisco Gindre 228183af23 split send_funds function into bindgen and pure rust impl 2021-03-03 18:19:10 -03:00
Francisco Gindre 45fa30838f WIP - shield funds 2021-03-03 18:19:10 -03:00
Francisco Gindre 6ec126d471 Add derive t-addr from secret key function 2021-03-03 18:19:10 -03:00
Francisco Gindre 085072ae55 add shieldFunds to rustwelding 2021-03-03 18:19:10 -03:00
Francisco Gindre 77ab2ad26b change UTXO location to cache db 2021-03-03 18:19:10 -03:00
Francisco Gindre 47905d39ae Everything compiling! wooo! 2021-03-03 18:19:10 -03:00
Francisco Gindre d75d5cb3ee [WIP] shield funds PoC 2021-03-03 18:19:04 -03:00
Francisco Gindre 90cd2d0ff8 Create derive secret key for t funds 2021-03-03 18:13:09 -03:00
Francisco Gindre 4abf914f9f Issue #166 Download UTXO set 2021-03-03 18:09:13 -03:00
Francisco Gindre 6b48695744 [WIP]Get UTXOs 2021-03-03 18:09:13 -03:00
Francisco Gindre 499da66900 update proto files and compiled files 2021-03-03 18:09:13 -03:00
Francisco Gindre 78894821cf Add fee for height helper for UI purposes 2021-03-03 18:09:13 -03:00
Francisco Gindre b30e35b4a5 Fix: demo app fails to initialize 2021-03-03 18:09:13 -03:00
Francisco Gindre 204b1866b1 Fix: send fails with missing params. cargo update 2021-03-03 18:09:13 -03:00
Francisco Gindre 53a54da585 lib.rs compiles 2021-03-03 18:09:13 -03:00
Francisco Gindre 01a55a5e1e Issue #252 - blockheight progress is latest height instead of upperbound of last scanned range 2021-02-25 00:47:08 -03:00
Francisco Gindre 72c682d8a5 Key Validation protocol for DerivationTool 2021-02-24 23:59:59 -03:00
Francisco Gindre ebe45fd1c8 Add checkpoints for mainnet 2021-02-19 13:54:04 -03:00
Francisco Gindre 9a8d4c23b5 Code Cleanup, test enhancements, linting changes 2021-02-15 21:56:23 -03:00
Francisco Gindre c7efb8e80d Fix: issue #240 reorg not catched because of ARC dealloc 2021-01-05 14:50:53 -03:00
Francisco Gindre f8b406e808 adjust Mainnet default fee estimated height 2020-12-15 14:41:14 -03:00
Francisco Gindre 9f0ba6ec8f add default fee for height 2020-12-14 18:57:34 -03:00
Francisco Gindre aad4710608 fix tests 2020-12-14 18:55:51 -03:00
anton 24f6a1e489 Forcibly change the state to stopped when the handle cancels any task in OperationQueue 2020-12-07 12:37:02 +06:00
Francisco Gindre 68027af3f0 closes Issue #237 Untie SDKSynchronizer from UIApplication Events 2020-12-05 18:28:10 -03:00
Francisco Gindre d9931ff0ea Fix memory leaks on adapter operations 2020-12-05 18:26:18 -03:00
Francisco Gindre 4568b5ba05 Improve operation dependencies 2020-12-05 15:11:29 -03:00
Francisco Gindre 145c70415f revert change in ZcashOperation 2020-12-04 19:55:55 -03:00
Francisco Gindre 645ffa6734 FIX: download operation gets cancelled when apps are backgrounded 2020-12-04 11:28:14 -03:00
Francisco Gindre c17132f694 Add early cancellation to ZcashOperation 2020-12-04 11:28:14 -03:00
Francisco Gindre 126ee6f742 Name the operation queue for easier debugging 2020-12-04 11:28:14 -03:00
Francisco Gindre 697724cb49 remove isFirstAppLaunch flag 2020-12-04 11:28:14 -03:00
Francisco Gindre 879edb6236 Add ability to modify call timeout on LightWalletEndpoint 2020-11-18 16:12:15 -03:00