Commit Graph

160 Commits

Author SHA1 Message Date
Francisco Gindre 1afb1bb53f Add fetch UTXO operation to compact block processor 2021-06-03 11:51:12 -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 60c8f69667 Issue #282 quick rescan option on rewind API. Issue #283 release 0.11.0 2021-05-24 11:56:05 -03:00
Francisco Gindre 497f1e94ca Pod update + changelog + new checkpoints 2021-05-19 18:48:49 -03:00
Francisco Gindre dda218db69 Fix DarksideWalletd tests 2021-05-18 18:22:29 -03:00
Francisco Gindre e9372178be fix lint warnings 2021-05-18 11:49:57 -03:00
Francisco Gindre f554f7a579 Add validation to CompactBlockProcessor 2021-05-17 18:14:59 -03:00
Francisco Gindre 0214131bde Add BlockTime to SDKSynchronizer updates 2021-05-11 19:27:22 -03:00
Francisco Gindre 90c7a4d755 Fix Tests. deleted two obsolete ones 2021-05-07 15:50:50 -03:00
Francisco Gindre 39837009a4 create + prepare API 2021-05-05 16:08:57 -03:00
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