Commit Graph

408 Commits

Author SHA1 Message Date
Kevin Gorham 90feb5348e
New: Improve birthday configuration.
Make it easier to restore wallets without knowing their birthday. Those wallets will sync from SaplingActivation without the developer having to hardcode that height into their wallet. We achieve this by allowing the Initializer Config object to specify what to do when the birthdayHeight is null. In general, it is probably easier to use the importWallet and newWallet functions to achieve the same goal with more clarity.
2020-11-24 00:36:23 -05:00
Kevin Gorham 393cf35e48
Minor dependency update. 2020-11-20 15:56:06 -05:00
Kevin Gorham 3842eff051
Merge pull request #179 from zcash/release/1.2.1
Release/1.2.1
2020-11-20 14:16:14 -05:00
Kevin Gorham 7641e9706c
Update versions and changelog. 2020-11-20 14:14:43 -05:00
Kevin Gorham efc8500959
New: Improved initializer construction.
Builder was misnamed. It is moreso a configuration object. Making this change simplified some of the more confusing aspects of creating an initializer and also made it so the initializer.config.new functions can now work as expected. Prior to these changes it was difficult to make an initializer that used a new birthday.
2020-11-20 12:01:45 -05:00
Kevin Gorham 4087bc65bc
Update to latest lightwalletd service definition.
Updated to the latest service.proto file to utilize the new t-addr endpoints. This closes https://github.com/zcash/zcash-android-wallet-sdk/issues/176.
2020-11-20 11:58:04 -05:00
Kevin Gorham a285c69449
Updated version. 2020-11-19 09:30:46 -05:00
Kevin Gorham fbd43b20ec
Add latest checkpoints. 2020-11-19 09:26:51 -05:00
Kevin Gorham 797ef8733a
Update display name info for Canopy. 2020-11-16 20:33:53 -05:00
Kevin Gorham f8432e408d
Updatd changelog. 2020-10-30 10:03:44 -04:00
Kevin Gorham ce96c047bd
Updated minor version. 2020-10-30 09:58:23 -04:00
Kevin Gorham 452540fb2f
Merge pull request #173 from zcash/feature/erasable
Add ability to erase by alias.
2020-10-30 09:23:12 -04:00
Kevin Gorham 4e2065e0df Add ability to erase by alias. 2020-10-30 09:22:03 -04:00
Kevin Gorham 9779a1aa8f
Update cargo lock file. 2020-10-30 09:21:21 -04:00
Kevin Gorham 4a903f2fe4
Fix: Update to the latest sqlite version
Address bug https://github.com/zcash/ZcashLightClientKit/issues/212
2020-10-23 18:17:20 -04:00
Kevin Gorham 4bc31b9d92
Updated versions in the demo app. 2020-10-16 14:03:54 -04:00
Kevin Gorham 6aea2d1ad9
Merge pull request #170 from zcash/integration/react-native
Updated visibility on open classes to improve extensibility.
2020-10-16 13:39:56 -04:00
Kevin Gorham 8cbc063caa
Updated visibility on open classes to improve extensibility. 2020-10-16 13:39:16 -04:00
Kevin Gorham 8edc0c6204
Update changelog. 2020-10-01 16:29:45 -04:00
Kevin Gorham 5879bb3442
Publishing is functional again on Bintray.
Minor uncommitted tweaks. Published version Alpha08.
2020-10-01 16:22:29 -04:00
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