Commit Graph

327 Commits

Author SHA1 Message Date
Kevin Gorham b0b87ce709
Merge pull request #92 from zcash/preview
Beta Release
2020-01-15 09:26:03 -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 a0de0b907f
Moved version to Beta. 2020-01-15 08:32:21 -05:00
Kevin Gorham 65c2a9a2c2
Merge pull request #91 from zcash/task/cleanup-docs
Task/cleanup docs
2020-01-15 08:30:26 -05:00
Kevin Gorham b32f5973e9
Corrections to the top-level README file. 2020-01-15 08:28:20 -05:00
Kevin Gorham 9b97721501
Updated indexes. 2020-01-15 08:15:57 -05:00
Kevin Gorham 7235f8cfaf
Updated readmes. 2020-01-15 08:13:46 -05:00
Kevin Gorham 6976427fba
Removed mock synchronizer docs 2020-01-15 08:10:09 -05:00
Kevin Gorham 028b541823
Regenerate key docs. 2020-01-15 08:07:00 -05:00
Kevin Gorham 3f60bd3c75
Merge pull request #90 from zcash/feature/add-mainnet-support
Feature/add mainnet support
2020-01-15 08:00:13 -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
Kevin Gorham 7babe0c63c
Fixed bug with hasData not being cleared and improved sapling tree selection.
- Choose the latest tree above the requested height
2020-01-15 07:35:02 -05:00
Kevin Gorham 596bea0158
Refactor to support new app. 2020-01-15 07:35:02 -05:00
Kevin Gorham 88aeb4f5ac
Correct hardcoded CoinType. 2020-01-15 07:35:01 -05:00
Kevin Gorham b47b10427e
Blossom activation. 2020-01-15 07:35:01 -05:00
Kevin Gorham 8a365115f1
Add mainnet support.
This involves splitting code to run in the zcashMainnet and zcashTestnet flavors and using the corresponding feature of librustzcash. Mainnet functionality is proven in the integration test in androidTestZcashmainnet.
2020-01-15 07:35:01 -05:00
Kevin Gorham 60eed3a36d
Merge pull request #88 from braddmiller/preview
Update README for first versioned release
2020-01-15 07:13:33 -05:00
Bradley Miller 7bde72f11f Update README for first versioned release 2020-01-08 14:10:06 -07:00
Kevin Gorham 0c60dbab5e
Merge pull request #51 from zcash/feature/demo-app
Demo app
2019-11-23 20:54:17 -05:00
Kevin Gorham 5380c0d365
General cleanup before merging first pass at demo app. 2019-11-23 20:47:50 -05:00
Kevin Gorham 652e862d5c
Iterate on the Send demo.
Allow input. Allow multiple sends. Handle errors. Demonstrate an improved user experience where sending is disabled at the appropriate times.
2019-11-23 18:07:28 -05:00
Kevin Gorham 93d4114848
Refactor logic for awaiting confirmations.
Leverage the new flow-centric approach to sending transactions, rather than polling the database, which leads to concurrent modification errors and corrupted data.
2019-11-23 02:18:20 -05:00
Kevin Gorham bebe0cf4e7
Rust welding utility functions for key derivation. 2019-11-20 18:23:20 -05:00
Kevin Gorham 7e9127538f
Update memo to accept bytes instead of a string. 2019-11-17 23:49:14 -05:00
Kevin Gorham 9cb178d6fb
Refactoring 2019-11-17 23:39:37 -05:00
Kevin Gorham ba736b7772
Merge pull request #52 from defuse/add-threat-model
Add SDK threat model
2019-11-07 10:19:00 -05:00
Taylor Hornby ba1a8d0c4c Add threat model 2019-11-05 13:47:20 -07:00
Kevin Gorham bf48b82aa8
Refactor package names 2019-10-24 01:21:52 -04:00
Kevin Gorham f89d2be250
SDK changes to support new demo app.
- Convert status flags into stream of statuses, instead.
- Improve logging during transaction submission
- Database corrections. Aparently Room has gotten more strict with schema parsing and this required lots of corrections mainly around get nullability correct for DB fields.
- Simplify Synchronizer creation via constructor functions. Created one function for maximum simplicity and another for maximum flexibility.
- Changed logic for Wallet initialization to simplify dependencies and allow for optional access to private keys for wallet apps
- Created TransactionRepository that leverages the paging library for Room
- Provided sample implementation of bridging to a key manager in a way where wallet apps do not have to modify their existing code.
- Made it easier to clear the wallet data that can be repopulated from the blockchain
- Allowed for better cleanup of heavy-weight lightwalletd services by adding a shutdown API call
2019-10-24 01:16:58 -04:00
Kevin Gorham 190f7f5548
Consolidate old sample apps into new demo app. 2019-10-24 01:16:58 -04:00
Kevin Gorham bb824450b0
Merge pull request #49 from zcash/feature/security-finding-1
Reduce configurability per Security Finding 1.
2019-09-26 13:00:23 -04:00
Kevin Gorham 42f29f534c
Reduce configurability per Security Finding 1.
These changes largely reduce the amount of configuration that can be tweaked in order to prevent fragmentation of the anonymity set of users. If wallet makers change certain properties than it can become easy to detect which network requests are coming from which client. The goal is for clients to be as anonymous as possible.
2019-09-26 12:58:37 -04:00
Kevin Gorham 1391fe897a
Merge pull request #46 from zcash/task/cleanup
Cleanup pass through SDK and sample projects
2019-09-12 01:31:58 -04:00
Kevin Gorham 1f18042d52
Implement versioning and other cleanup.
- Correct typo and compiler warning in Rust.
'trait objects without an explicity dyn' are deprecated and this is a warning as of Rust 1.37
- update dependencies
- update documentation

docs
2019-09-12 01:31:23 -04:00
Kevin Gorham 636cbb59c0
Add TLS support.
Make TLS the default and require effort to setup plaintext connections, instead.
2019-09-12 01:31:22 -04:00
Kevin Gorham ae873d9928
Merge pull request #47 from zcash/proto-swift-support
add empty swift_prefix option value to .proto files
2019-08-30 14:17:02 -04:00
Francisco Gindre 28fa4d4ef2 add empty swift_prefix option value to .proto files 2019-08-30 14:52:14 -03:00
Kevin Gorham ff3a2b3bc5
Merge pull request #45 from zcash/task/improve-reorgs-v2
Task/improve reorgs v2
2019-08-30 10:27:09 -04:00