Commit Graph

187 Commits

Author SHA1 Message Date
Kevin Gorham c5ad25a5ce
New: Added darksidewalletd testing support.
Also modified tests so that they can compile again.
2020-06-09 22:15:55 -04:00
Kevin Gorham 5cc8a38a5f
New: Additional APIs and functionality.
Added new functions that made things easier while testing, making the SDK a bit more usable.
2020-06-09 22:15:54 -04:00
Kevin Gorham c585ed93ff
Improve error handling. 2020-06-09 22:15:54 -04:00
Kevin Gorham 345725a744
Fix: Wallet details screen does not update.
Should address https://github.com/zcash/zcash-android-wallet/issues/153 but needs to be verified before closing that issue.
2020-06-09 21:53:18 -04:00
Kevin Gorham eecf57383e
Improve polling interval logic per #95.
Add logic to poll on the next time boundary, rather than sleeping a fixed amount of time after processing.
2020-06-09 21:43:23 -04:00
Kevin Gorham 2ee0e9ab3c
Simplified initialization.
Put more emphasis on creating a synchronizer only with an initializer.
Made it easier to specify an initializer and custom dependencies at once.
Removed confusing constructor from SdkSynchronizer that muddied the waters on how to properly create one.
Added extension function to make it easier to start a synchronizer with an imported wallet.
2020-06-09 21:35:40 -04:00
Kevin Gorham ae2af49913
Merge pull request #121 from rex4539/fix-typos
Fix typos and cleanup
2020-04-16 11:33:30 -04:00
Kevin Gorham bc012f47fd
New checkpoints. 2020-03-27 16:29:10 -04:00
Kevin Gorham cdabfc8f4c
Improve the handling of disconnected state. 2020-03-27 16:28:42 -04:00
Kevin Gorham d36e4f276b
Simplified the construction of a synchronizer.
There is no harm in letting the initializer hold a reference to the application context. So let it do that in order to simplify the construction of synchronizers.
2020-03-27 16:26:41 -04:00
Kevin Gorham 82381c5381
Fix: correct the transaction queries.
The new info that we receive during scanning broke some assumptions we were making in the queries.
2020-03-27 16:24:27 -04:00
Dimitris Apostolou 44cba56d30
Fix typos and cleanup 2020-03-26 13:00:04 +02:00
Kevin Gorham 7bb80c4678
Add support for inbound memos and full wallet restore. 2020-03-25 17:58:08 -04:00
Kevin Gorham 83ea9ddac7
Bug fixes and improvements.
Change doc format to html, fix migration issues, etc.
2020-03-25 17:56:27 -04:00
Jack Grigg 25a5eab4be RustBackend.decryptAndStoreTransaction() 2020-03-26 08:37:40 +13:00
Kevin Gorham fe269c7602
Updated the logic for creating checkpoints.
Modified it so that tweaking the source file is no longer required to create a variety of checkpoints for testnet and mainnet by leveraging the 'mainnet' feature flag as well as an optional commandline argument to specify the target height.
2020-03-18 11:38:23 -04:00
Kevin Gorham a43070cd6a
Documented everything public-facing.
This should bring documentation coverage to 100%
2020-02-27 13:51:00 -05:00
Kevin Gorham de0d85c20d
First pass at adding documentation. 2020-02-27 13:51:00 -05:00
Jack Grigg c3de2df034 update_sapling_tree: Handle multiple IPs for LIGHTWALLETD_HOST
Fixes zcash/zcash-android-wallet-sdk#111
2020-02-27 04:37:09 +00:00
Jack Grigg b6fa9ab69f Improve error handling in update_sapling_tree binary 2020-02-27 03:53:50 +00:00
Taylor Hornby 3bb6f4fb6a Make update_sapling_tree use TLS 2020-02-26 15:10:17 -07:00
Kevin Gorham da5247c74f
Testnet checkpoints. 2020-02-26 14:54:15 -05:00
Kevin Gorham 08fe8d6069
Demo app: get testnet builds working again. 2020-02-26 14:54:14 -05:00
Kevin Gorham 508e6d3da9
Demo app improvements.
including: mainnet support, BIP39 support and using seed words instead of string-based seeds, several convenience functions like copyToClipboard, simplified the developer experience for using the FAB, corrected errors in port numbers, streamlined several demos, trim user input, better messaging using new processorInfo flow.
2020-02-26 03:10:28 -05:00
Kevin Gorham 8c93840671
Revert sorting changes. 2020-02-21 19:13:17 -05:00
Kevin Gorham e431611d55
Update feature for creating checkpoints. 2020-02-21 18:24:28 -05:00
Kevin Gorham 4b1cb76f42
General cleanup.
Additional KDocs. Log cleanup. Cleaner close and shutdown behavior. Improved retry functions. New and updated constants. Database migrataions.
2020-02-21 18:22:04 -05:00
Kevin Gorham 52bb1d108d
Added DB schemas to the repository for tracking. 2020-02-21 18:16:25 -05:00
Kevin Gorham a572b55db0
Fixed tests. 2020-02-21 18:15:13 -05:00
Kevin Gorham ac7f3475e9
Improved error handling.
Added callback for reorg detection and also improved the logic for handling critical processor errors.
2020-02-21 18:14:34 -05:00
Kevin Gorham 6bcc00b098
Rust changes in response to feedback. 2020-02-12 08:39:30 -05:00
Kevin Gorham f90e07c0c1
New mainnet checkpoints. 2020-02-11 20:10:18 -05:00
Kevin Gorham 4d655b0f04
Add logic to validate processor setup. 2020-02-11 20:09:27 -05:00
Kevin Gorham dd18a13b47
Rust changes to expose the ability to derive an address. 2020-02-11 20:04:19 -05:00
Kevin Gorham 4390f3a304
Changes to initialization.
- renamed path variables
- cleaned up the way birthdays are stored
- improved logging
- added support for deriving the address from a seed or extfvk
2020-02-11 20:04:19 -05:00
Kevin Gorham ed594beee7
Fixed typo in PORT property name. 2020-02-05 10:07:25 -05:00
Kevin Gorham e3ce131647 Merge branch 'master' of github.com:zcash/zcash-android-wallet-sdk into preview
Conflicts:
	README.md
	src/main/proto/WalletData.proto
2020-01-15 09:23:35 -05:00
Kevin Gorham 77f6e77e14
Restore build to working order by removing local-only changes
which supported scanning in batches for better visibility into scan
progress. Also updated Cargo files to support error-free build for the
beta release.
2020-01-15 09:17:27 -05:00
Kevin Gorham 38f20c696e
Final changes before beta release. 2020-01-15 07:35:07 -05:00
Kevin Gorham 08f95d505d
General fixes and improvements. 2020-01-15 07:35:06 -05:00
Kevin Gorham 3ad1a056a6
Add batch scanning to allow for tracking scan progress. 2020-01-15 07:35:06 -05:00
Kevin Gorham 328e90d241
Add processorInfo for more visibility into status. 2020-01-15 07:35:05 -05:00
Kevin Gorham e56c1ff24a
Minor refactors and improvements and test fixes. 2020-01-15 07:35:05 -05:00
Kevin Gorham aaa823081b
Exposed support for address validation. 2020-01-15 07:35:05 -05:00
Kevin Gorham cf0d86a3da
Remove the bandaid hack that triggered the need for https://github.com/zcash/zcash-android-wallet/issues/39
This was a key win in the refactor.
2020-01-15 07:35:04 -05:00
Kevin Gorham 29717cd871
Refactored initialization.
Addresses some of the concerns in https://github.com/zcash/zcash-android-wallet/issues/39 by removing the side effects from the Intializer. Now instead of trying to help with loading and persisting wallet birthdates, it delegates that utility to another class.
2020-01-15 07:35:04 -05:00
Kevin Gorham 93c01a9f3f
Test cleanup, deleting outdated tests. 2020-01-15 07:35:04 -05:00
Kevin Gorham 527eb50439
Minor changes to support zECC app. 2020-01-15 07:35:03 -05:00
Kevin Gorham 4653f98053
Added more mainnet sapling trees. 2020-01-15 07:35:03 -05:00
Kevin Gorham 18a4cdfcaa
Added function for abbreviating addresses for user display. 2020-01-15 07:35:03 -05:00