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
bad5c8e179
lint fixes
2021-03-15 10:53:26 -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
45fa30838f
WIP - shield funds
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
90cd2d0ff8
Create derive secret key for t funds
2021-03-03 18:13:09 -03:00
Francisco Gindre
72c682d8a5
Key Validation protocol for DerivationTool
2021-02-24 23:59:59 -03:00
Francisco Gindre
9a8d4c23b5
Code Cleanup, test enhancements, linting changes
2021-02-15 21:56:23 -03:00
Francisco Gindre
972fb08926
Issue 208 - Improve API method to request transaction history
2020-10-19 21:01:46 -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
Francisco Gindre
b34fe121cd
Fix compilation errors and update README
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
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
cc77d9705e
Issue 136 Null bytes in strings effectively truncate the string from … ( #140 )
...
* Issue 136 Null bytes in strings effectively truncate the string from librustzcash's point of view
* Code clean up
* Fix from PR review
2020-06-08 17:07:48 -03:00
Francisco Gindre
36f2d0730a
Memo tests ( #111 )
...
* test scaffold
* Memo Tests
* emoji memo test
2020-04-24 16:50:23 -03:00
Francisco Gindre
312a169911
Feature/reorg testing ( #104 )
...
* Add DarksideWalletD class
* darkside walletd reorg tests
* Removed hardcoded stuff from tests
* add parameters to support other kinds of reorgs
* Basic reorg test in place
* Integration to DarksideWalletD and tests
* tests improvements
* Implement reorg testing. fix error throwing
2020-04-06 12:54:31 -03:00
Dimitris Apostolou
51419010ea
Fix typos and cleanup ( #103 )
2020-03-26 11:27:55 -03:00
str4d
65f9d78c54
ZcashRustBackend.decryptAndStoreTransaction() ( #102 )
...
* cargo fmt
* Migrate to latest note-spending-v7
* ZcashRustBackend.decryptAndStoreTransaction()
* cargo update
2020-03-26 11:24:47 -03:00
Francisco Gindre
b867649443
Support Note Spending v7
...
* upgraded to note-spending-v7
* use "zip32 compliant" seed on demo app
* Fixes to initializer, added v7 methods, documented API. Fixed compact block processor not initializing correctly upon new wallets.
* documentation
* Change u8 return value to bool + tests
* add address validation functionality to Initializer
* renamed functions to a C style. Exposed deriving functions in rust backend. Added more tests
* fixed bug where compact block processor wouldn't reschedule
* Fixed capture blocks retaining references
* fixed memory cycles and leaks
* fixed memory leak and blockrange error
* fixed error on confirmed transactions and added blockheight to progress notifications
2020-02-26 13:54:48 -03:00
Francisco Gindre
09496c234d
FIX: parameters path with spaces wouldn't be found
2020-02-11 21:12:36 -03:00
str4d
cff6ec5505
Migrate to note-spending-v6 branch ( #35 )
...
* Migrate to note-spending-v6 branch
* Rename sendToAddress -> createToAddress
* cargo update
* Disable multicore proving temporarily
createToAddress breaks when called from a background thread if multicore
is enabled.
* Modify expectations. Single thread librustzcash needs more time
2019-12-03 14:11:23 -03:00
Francisco Gindre
c772934d3d
Transaction data access improvements + Create Spend + Get Balance Screen ( #33 )
...
* Transaction encoder implementation tests WIP
* Create Spend and Create Transaction + Test [WIP]
* New! Get Balance Screen
* Send to address
2019-11-26 19:32:20 -03:00
Francisco Gindre
d757a1337f
Compact Block Processor Sync ( #11 )
...
* Compact Block Processor demo + tests
* fix latest block sync glitch
* fix Compact Block Processor tests
* fix lint
2019-11-04 20:18:07 -03:00
Francisco Gindre
bce2bd0d7e
Get Address Example, API improvements, test fixes ( #10 )
2019-11-01 16:59:16 -03:00
Francisco Gindre
40a1f57274
download - Validate - Scan ( #7 )
...
* Deleted SQLStorage class added Connection Manager, abstracted Wallet over SQL storage
* Use ConnectionProvider, open and close connections per operation
* Replace fileExists with isReadableFile
* WIP - compact block processor + start stop notification tests
* Mock service to test smaller ranges on BlockProcessor
* Improvements to ZcashOperation and tests
* ZcashOperation own file. CompactBlockProcessor fixes + tests
* Block Processor. Batch processing first 1000 blocks
* Download-Validate-Scan sequence of compact block processor
2019-10-30 17:18:57 -03:00
Francisco Gindre
3e2050d0f0
Swiftlint ( #5 )
...
* Swiftlint + tests
* Added Swiftlint to README.md
2019-10-18 17:09:13 -03:00
Francisco Gindre
60ea9d6737
Block downloading + storing ( #4 )
...
* Initial scaffold for Block Downloader
* (Failing) init Wallet test
* Ignore generated files
* Inject endpoint address on tests
* Simple Downloader + Tests
* CompactBlockDownloader latestBlockHeight, rewind + tests
* remover awful sync functions
* Compact Block processor scaffold
* Block Downloader + tests
[WIP] Block Processor
* Synchronous getBlockRange
* CompactBlock downloading sync + tests
* Sync CompactBlock Storage + Tests
* Rename Storage to FakeStorage
* WIP Blockdownloader test, block storage tests
* Fix carthage import for SQLite.framework
* SQLite Storage implementation for CompactBlocks + Tests
* Housekeeping, TestDbBuilder and other utils to their own place
* Integrated CompactBlockStorage to Downloader Tests
* Get latestBlockHeight from wallet
* move FakeStorage class to test utils
* Add ZcashLightClientKit import to moved file
* data db initialization + test
* ZcashOperation, CompactBlockDownloadOperation + tests. BlockDAO, latestScannedHeight
* Download and scan blocks. Download Operation. Scan Operation. Tests.
* cleanup test
* Updated readme
2019-10-18 15:45:19 -03:00