Commit Graph

149 Commits

Author SHA1 Message Date
Francisco Gindre 5aa8afd2aa migration for UVKs 2021-05-05 15:59:07 -03:00
Francisco Gindre 7b4bc656b6 Fix bug on status that made things weird 2021-05-05 15:56:13 -03:00
Francisco Gindre 1c185b022c Fix: Issue #276 sqlite Error .0 weh coming back from background state 2021-05-03 18:50:00 -03:00
Francisco Gindre 324a967d67 add Db Migration step to initialize with viewing keys 2021-05-03 15:00:20 -03:00
Francisco Gindre ad0eeceae3 Merge branch 'master' into shield-funds-poc 2021-04-28 13:55:52 -03:00
Francisco Gindre 7c8f6be6c7 add derive from UVK 2021-04-28 11:53:24 -03:00
Francisco Gindre 1627e784ce Fix Issue #273 CompactBlockDownloader unique constraint failure 2021-04-21 17:02:23 -03:00
Francisco Gindre a9b072055e basic connectivityStatus implementation 2021-04-20 19:30:59 -03:00
Francisco Gindre 37f2232d2d Update to gRPC-Swift 1.0.0 2021-04-20 11:49:10 -03:00
Francisco Gindre ad9842f3c6 rewind to nearest height fix 2021-04-19 14:07:50 -03:00
Francisco Gindre a1d000303f Add Checkpoints 2021-04-16 12:39:35 -03:00
Francisco Gindre e2f8f066be Update ProfoBuf files 2021-04-12 17:28:33 -03:00
Francisco Gindre 934fda3bca FIX: progress % is wrong on rewind 2021-04-12 13:10:14 -03:00
Francisco Gindre c4da548fea Merge branch 'master' into shield-funds-poc 2021-04-08 14:18:55 -03:00
Francisco Gindre 1ed5aeb0b2 Z -> T restore 2021-04-08 14:18:16 -03:00
Francisco Gindre d147ac855b fresh checkpoints up to height 1206000 for mainnet 2021-04-07 11:54:21 -03:00
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