Commit Graph

11 Commits

Author SHA1 Message Date
Kevin Gorham ac9f803d5b
Refactor: Added type package.
In anticipation of UnifiedViewingKeys and, later, URI support as well as NU5 support for Unified Addresses.
2021-04-01 02:14:57 -04:00
Kevin Gorham 997f6988a4
New: Add the ability to rewind and rescan blocks.
This one feature can fix lots of problems that wallets encounter and it is particularly useful for the 'Max Transaction' bug. See this iOS issue for more details: https://github.com/zcash/ZcashLightClientKit/issues/255
2021-03-31 09:16:06 -04:00
Kevin Gorham ad1f2438fb
Docs: Update README to draw attention to the demo app. 2021-03-31 09:07:37 -04:00
Kevin Gorham 24b428e3d5
New: Improve birthday logic.
Previously, the wallet had to manage determining the best birthday but that logic has now been pulled down into the SDK. A wallet can safely skip all blocks prior to the first transaction so the birthday starts as an estimate, based on the checkpoint and then moves forward to the height of the first transaction. If a user starts a wallet but does not receive funds for a long while, their wallet will have a better birthday as a result of this change and that is a very common use case.
2021-03-31 08:47:04 -04:00
Kevin Gorham 1ac3685819
New: Expose isStarted property of the Synchronizer. 2021-03-31 08:37:12 -04:00
Kevin Gorham a0837474d0
Update ktlint formatting and imports. 2021-03-10 22:04:39 -05:00
Kevin Gorham 1d2c7b1a4f
New: Non-Rust changes to support auto-shielding. 2021-02-17 16:07:57 -05:00
Adí 794a9f99b8
Add ktlint (#207)
* Add ktlint

Fix formatting per ktlint rules.
Upgrade dependencies & gradle.

* Move ktlint to apply section

* Keep unused-import check

Remove afterEvaluate check.

* Remove respository setup for ktlint.gradle

Fix format for SaplingParamTool & CompatBlockProcessor
2021-03-10 13:10:03 -05: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 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 aa569c99dd
Major refactor: corrected package name.
Now the SDK matches everything else that we have published to bintray and jcenter.
2020-06-10 03:08:19 -04:00