Commit Graph

14 Commits

Author SHA1 Message Date
Francisco Gindre fc528b760d Tests 2021-06-19 20:41:54 -03:00
Francisco Gindre b5cd1eb84f FigureNextBatchOperation.swift tests 2021-06-17 20:58:30 -03:00
Francisco Gindre 3a963d79c4 CompactBlock batch download and stream download operation
tests pass.
2021-06-02 18:32:05 -03:00
Francisco Gindre dda218db69 Fix DarksideWalletd tests 2021-05-18 18:22:29 -03:00
Francisco Gindre 1ed5aeb0b2 Z -> T restore 2021-04-08 14:18:16 -03:00
Francisco Gindre 96d6ab1fe9 Fix Tests 2021-04-06 11:48:53 -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 aad4710608 fix tests 2020-12-14 18:55:51 -03:00
Francisco Gindre fa76c722b2 FIX - UNIQUE constraint violation when an operation failed 2020-10-26 18:57:19 -03:00
Francisco Gindre 4a01865a7d Add IVK capabilities to Initializer 2020-10-14 19:50:26 -03:00
Francisco Gindre 647072ce26
Pending tx wont clear (#168)
* Created test to reproduce issue

* fix test

* Add Fixme message

* Fix reorg Tests
2020-07-22 16:32:07 -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 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