Commit Graph

528 Commits

Author SHA1 Message Date
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
Kevin Gorham 0f87961947
New: Change the default lightwalletd server.
The old server will be shutting down to coincide with our internal app deployment changes.
2020-08-13 20:31:54 -04:00
Linda Lee 21b9cecbb1
Merge pull request #154 from zcash/lindanlee-patch-1
Create CONTRIBUTING.md
2020-08-03 15:54:12 -05:00
Linda Lee 565cb7b973
Create CONTRIBUTING.md 2020-08-03 15:53:49 -05:00
Kevin Gorham e04a0c3faa
Restore publishing settings. 2020-08-01 02:16:51 -04:00
Kevin Gorham 02e5bc24b7
Merge pull request #153 from zcash/feature/tx-cancellation
Feature/tx cancellation
2020-08-01 02:15:07 -04:00
Kevin Gorham bb77fa2d5d
New: add robust support for tx cancellation
Also greatly improved handling of expired and failed transactions.
2020-08-01 02:13:39 -04:00
Kevin Gorham 528442fa0a
New: Indicate when rust is potentially slow from running in debug mode. 2020-08-01 02:12:15 -04:00
Kevin Gorham 69466fe7ef
Minor cleanup. 2020-08-01 02:11:48 -04:00
Kevin Gorham 1da39ac348
Merge pull request #151 from zcash/task/migrate-hackathon-updates
Task/migrate hackathon updates
2020-07-29 00:41:04 -04:00
Kevin Gorham 01bbd12e73
Update librustzcash. 2020-07-29 00:36:57 -04:00