Commit Graph

388 Commits

Author SHA1 Message Date
Kevin Gorham e8ec06f561
Restore publishing default settings. 2020-09-25 10:09:03 -04:00
Kevin Gorham 6042eefc3a
Merge pull request #165 from zcash/feature/merge-initializers
Sprint 37 changes
2020-09-25 10:02:19 -04:00
Kevin Gorham 5285761415
Updated version number. 2020-09-25 10:00:47 -04:00
Kevin Gorham 90bcd41ac4
New mainnet checkpoints. 2020-09-25 10:00:15 -04:00
Kevin Gorham 0601ec488b
Various bug fixes and improvements.
- Exposed primary constructor in initializer and added more convenience functions
- Fix: error handler not being passed through when changing server
- New: warn developer when a critical error occurs but is not covered with a callback
- New: Typed exceptions for missing birthday or viewingKey values during initialization
- New: updated default server for checkpoint tool
2020-09-25 09:59:55 -04:00
Kevin Gorham fca75169c4
Update and improve build files. 2020-09-25 09:56:45 -04:00
Kevin Gorham 8d8a1ae8a8
Fix: incorrect query allowing change to show up in TX list.
Originally identified by @pacu on the iOS side. We paired up and fixed
and tested the query over there.
2020-09-23 12:03:15 -04:00
Kevin Gorham 928eac9af0
Test the logic for changing servers.
Also includes minor test tweaks.
2020-09-23 12:02:12 -04:00
Kevin Gorham ab5b34cbd8
Implement the logic for changing servers. 2020-09-23 12:02:12 -04:00
Kevin Gorham 24f7433f1c
Update Synchronizer and Processor APIs to enable changing the server.
Actual implementation is in a subsequent commit.
2020-09-23 12:02:11 -04:00
Kevin Gorham 58925b04b3
Merge initializers.
The new API for initializing with a viewing key will support all existing uses of the other initializer. So they can be safely merged and the changes to support the new one are fairly straight forward.

Also, iterated on the design of the Initializer to simplify construction and make the API easier to use.
2020-09-23 12:02:11 -04:00
Kevin Gorham 306eac73b0
Rename the new VkInitializer to replace the old Initializer. 2020-09-23 12:02:11 -04:00
Kevin Gorham eb463ec233
Remove the existing Initializer. 2020-09-23 12:02:10 -04:00
Kevin Gorham 14deb99362
Iterate on initializers.
Simplify the builder and also allow it to be a stand-alone configuration item, which would be more useful to React apps that cannot use Kotlins receiver function syntax.
2020-09-23 12:02:10 -04:00
Kevin Gorham 81087506ff
Merge pull request #164 from zcash/rust-crate-updates
Rust crate updates
2020-09-23 11:56:37 -04:00
Jack Grigg 005714d7a5 Update more Rust dependencies 2020-09-22 17:35:50 +01:00
Jack Grigg dc0479af91 Fix update-sapling-tree binary
The generated gRPC files were updated using protoc-rust-grpc 0.8.2 and
protoc 3.13.0.
2020-09-22 17:32:32 +01:00
Jack Grigg 588c65afa1 Collect update-sapling-tree dependencies together in Cargo.toml 2020-09-22 16:16:18 +01:00
Jack Grigg 3b9745ab54 android_logger 0.9 2020-09-22 16:14:56 +01:00
Jack Grigg b1b13cfb7f jni 0.17 2020-09-22 16:11:55 +01:00
Jack Grigg 6a05c168ad Migrate to new Cargo.lock format
Requires Rust 1.38.0.
2020-09-22 16:11:55 +01:00
Jack Grigg f88b84460e cargo update 2020-09-22 16:11:55 +01:00
Jack Grigg e4317aadbf Fix various Rust warnings 2020-09-22 16:11:55 +01:00
Jack Grigg 8ce8a8435f cargo fmt 2020-09-22 15:44:31 +01:00
Jack Grigg 11895dd282 Switch to v0.4 Zcash Rust crates 2020-09-22 15:43:42 +01:00
Kevin Gorham 6c39534bf4
Minor bugfix. 2020-09-11 11:06:14 -04:00
Kevin Gorham 34ae0feb8f
Updated primary README. 2020-09-11 06:03:21 -04:00
Kevin Gorham 67630ca2de
Updated demo app README. 2020-09-11 05:47:31 -04:00
Kevin Gorham 188381ef00
Merge pull request #163 from zcash/release/beta5
Release/beta5
2020-09-11 05:17:55 -04:00
Kevin Gorham a7446e1f1f
Updated CHANGELOG. 2020-09-11 05:17:05 -04:00
Kevin Gorham 16a9ee0fc0
Fix: Broken publishing configuration.
Artifact IDs and names are now consistent and contain the word 'Zcash'
2020-09-11 05:16:45 -04:00
Kevin Gorham 59cdff2715
Testnet improvements.
Also, change the app name so it is easier to tell testnet and mainnet builds apart on the device.
2020-09-11 04:47:05 -04:00
Kevin Gorham 6af42bff49
Missed file. 2020-09-11 04:06:00 -04:00
Kevin Gorham 14888d2280
Demo app bug fixes and testnet correction. 2020-09-11 04:04:52 -04:00
Kevin Gorham 986286fced
Adding uncommitted tests. 2020-09-11 03:36:52 -04:00
Kevin Gorham 1894876f21
New checkpoint for 950000 2020-09-11 03:35:58 -04:00
Kevin Gorham 77a4a99ac7
Updated dependencies and bumped version to 1.1.0-beta05 2020-09-11 03:35:32 -04:00
Kevin Gorham a08beef93b
Created birthday tool and derivation tool.
By extracting behavior from the Initializer into a more genralized class that can be used statically.
2020-09-11 03:33:25 -04:00
Kevin Gorham 11431f5e5a
Initializer improvements and iteration.
- Extracted parent interface
- Created ViewingKey Initializer to start synchronizing without the seed (only the viewing key is needed)
- Extracted tools from the existing initializer and simlified it a bit
2020-09-11 03:29:17 -04:00
Kevin Gorham 94c8a18be7
Added ability to start a Synchronizer with just a viewing key.
This was a long awaited request from wallet partners who already have keys available when the wallet launches.
2020-09-11 03:23:08 -04:00
Kevin Gorham 3e6355b0c7
Revamped demo app.
- Add logging
- Add service to mainactivity
- Use new SDK derivation tool
- Add prev/next buttons to block demo
- Add helpful stats to block range demo
- Add instructions to home screen and stop clearing after each demo
- Improve transaction list display
- Revamped every demo
- Added HTML to displays
- Added helpful extension functions
- Updated dependencies
2020-09-11 03:16:46 -04:00
Kevin Gorham 09f08bdd04
Added changelog. 2020-08-13 22:46:22 -04:00
Kevin Gorham 34648223fb
Merge pull request #156 from zcash/feature/demo-app-iteration
Feature/demo app iteration
2020-08-13 22:23:55 -04:00
Kevin Gorham 10863d7c7b
Publish beta04 version. 2020-08-13 22:20:14 -04:00
Kevin Gorham e143b208a7
New: Iterate on the demo app.
Added seed phrase support. Added UTXO sample, which is still a WIP due to blockers. Changed behavior so the demo uses one seed for all samples.
2020-08-13 22:20:13 -04:00
Kevin Gorham 01efabe195
POC: prove the concept of local RPC via protobufs.
This is an example of a jni call that accepts and returns proto objects. Ultimately, this trades a minor amount of performance for a significant improvement of ease of use. By exchanging protocol buffers, the Kotlin and Rust layers are able to communicate using far more complex objects. Eventually, this type of approach might completely replace the use of a database or sqlite.
2020-08-13 22:01:52 -04:00
Kevin Gorham 4707e97bfd
New: Add support for canopy on testnet.
This is as simple as switching to the commit in librustzcash that contains the required changes to the consensus branch id that will be used when sending funds on testnet.
2020-08-13 21:02:53 -04:00
Kevin Gorham 816d1afbb3
New: Add lightwalletd service for fetching t-addr txs. 2020-08-13 20:44:05 -04:00
Kevin Gorham fafc749394
New: Added new checkpoints. 2020-08-13 20:38:12 -04:00
Kevin Gorham bb747a3ce5
Fix: Minor improvements 2020-08-13 20:37:09 -04:00