Commit Graph

14 Commits

Author SHA1 Message Date
Kevin Gorham 670ec68cd5
New: Improve behavior and messaging when an account is missing.
Scanning without an account setup is a programming error and prior to this change it wasted a lot of resources and would always crash eventually. Now, this error is caught sooner and surfaced with a clear message.
2021-05-05 14:26:13 -04:00
Kevin Gorham 697721023c
Fix: Versioning error around annotations.
The project was including a bad version of NotNull and this resulted in errors that were very hard to troubleshoot because the failure happened during annotation processing so Dagger could not even generate the code that the rest of the app relied upon. It was a mess. Fixed by removing the useless NotNulls and being a little more conservative on dependencies.
2021-04-23 16:17:32 -04:00
Kevin Gorham c60119cd5a
Fix: Off-by-one error during rewind. 2021-04-22 18:47:58 -04:00
Kevin Gorham 5133306c08
New: Add support for rewinding and wiping data.
A simple rewind feature in a wallet can recover from a wide variety of issues.
2021-04-09 22:30:24 -04:00
Kevin Gorham 4a90e6bf24
New: Derive sapling activation height from network.
This type of change will allow dynamically switching networks within the app or unit tests, later.

fixup network change
2021-04-09 21:46:20 -04:00
Kevin Gorham 278adfe0b9
New: Add getAccount. 2021-04-05 18:39:26 -04:00
Kevin Gorham 553d28da7e
New: Add database migration to support autoshielding. 2021-04-01 02:26:38 -04:00
Kevin Gorham a0837474d0
Update ktlint formatting and imports. 2021-03-10 22:04:39 -05:00
Kevin Gorham 7a2b97670d
Update database to support UTXOs. 2021-02-22 17:32:36 -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 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 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