Commit Graph

63 Commits

Author SHA1 Message Date
Francisco Gindre ad9842f3c6 rewind to nearest height fix 2021-04-19 14:07:50 -03:00
Francisco Gindre 1ed5aeb0b2 Z -> T restore 2021-04-08 14:18:16 -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 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 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 46e24a2fc2 Fix: script does not have a fixed size 2021-03-08 13:41:29 -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 4999622478 FIX: shield funds query takes target height instead of anchor 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
Kris Nuttycombe 6db159c880 Update for data access api changes. 2021-03-03 18:19:10 -03:00
Francisco Gindre e4bb18346f Fix more errors 2021-03-03 18:19:10 -03:00
Francisco Gindre 548d2ec4a8 [wip] update to lastest librustzcash code 2021-03-03 18:19:10 -03:00
Francisco Gindre de585b485e shield funds working 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 6ec126d471 Add derive t-addr from secret key function 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 204b1866b1 Fix: send fails with missing params. cargo update 2021-03-03 18:09:13 -03:00
Francisco Gindre 453f97a351 fix AccountId import 2021-03-03 18:09:13 -03:00
Francisco Gindre 3cad02bf26 Compiled lib.rs 2021-03-03 18:09:13 -03:00
Francisco Gindre 169a79e36b ported zcashlc_derive_transparent_address_from_seed 2021-03-03 18:09:13 -03:00
Francisco Gindre d4d92e2a39 ported zcashlc_branch_id_for_height 2021-03-03 18:09:13 -03:00
Francisco Gindre ef354ded6f ported zcashlc_decrypt_and_store_transaction 2021-03-03 18:09:13 -03:00
Francisco Gindre 8bb26200be ported zcashlc_rewind_to_height 2021-03-03 18:09:13 -03:00
Francisco Gindre 8a7fda77d6 ported zcashlc_rewind_to_height 2021-03-03 18:09:13 -03:00
Francisco Gindre bf444f7179 ported zcashlc_validate_combined_chain 2021-03-03 18:09:13 -03:00
Francisco Gindre ae8581b455 fixed zcashlc_init_blocks_table, ported zcashlc_get_sent_memo_as_utf8 2021-03-03 18:09:13 -03:00
Francisco Gindre 688637116b ported zcashlc_get_received_memo_as_utf8 2021-03-03 18:09:13 -03:00
Francisco Gindre 2b8a6b63d9 fix u32 try_into error 2021-03-03 18:09:13 -03:00
Francisco Gindre c402f06c70 port zcashlc_get_balance 2021-03-03 18:09:13 -03:00
Francisco Gindre 0af6c3c968 port zcashlc_is_valid_transparent_address 2021-03-03 18:09:13 -03:00
Francisco Gindre 4ddbe52f5d port zcashlc_get_address 2021-03-03 18:09:13 -03:00
Francisco Gindre a3603d84fd ported zcashlc_init_blocks_table 2021-03-03 18:09:13 -03:00
Francisco Gindre 2d716f884f ported zcashlc_derive_extended_full_viewing_key 2021-03-03 18:09:13 -03:00
Francisco Gindre 31a813b985 ported zcashlc_derive_shielded_address_from_viewing_key 2021-03-03 18:09:13 -03:00
Francisco Gindre 32ed909c37 ported zcashlc_derive_shielded_address_from_seed 2021-03-03 18:09:13 -03:00
Francisco Gindre 7a374da70c ported zcashlc_derive_extended_full_viewing_keys 2021-03-03 18:09:13 -03:00
Francisco Gindre 78c312a918 ported zcashlc_derive_extended_spending_keys 2021-03-03 18:09:13 -03:00
Francisco Gindre a1b7eb5641 ported init_accounts_table and init_accounts_table_with_keys 2021-03-03 18:09:13 -03:00
Francisco Gindre c364e606ba Imports + init_accounts_table 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 ce67fa7636 pin to revision and compile lib.rs 2020-12-14 18:02:21 -03:00
Francisco Gindre 691c129dc6 add support to viewing key initialization 2020-10-13 13:15:50 -03:00
Francisco Gindre 328a18d898 DerivationTool + tests
Fixes #204
2020-10-09 17:58:36 -03:00
Jack Grigg a0425cee61 cargo fmt 2020-10-08 15:38:54 -03:00
Jack Grigg 344699a6b2 rust: Handle passing Rust Vecs to Swift where len != capacity
Fixes zcash/ZcashLightClientKit#177.
2020-10-08 15:38:54 -03:00