Commit Graph

603 Commits

Author SHA1 Message Date
Kevin Gorham 2c56d84efb
Updated version and changelog. 2021-06-20 20:51:49 -04:00
Kevin Gorham 2356fb0baf
New: Checkpoints for mainnet and testnet. 2021-06-20 20:49:23 -04:00
Kevin Gorham d5456f078d
Fix: Increase reconnection attempts when waking the app.
Based on recent logs, reconnecting seems to be the right thing to do so try it for longer and see if that helps.
2021-06-20 20:48:58 -04:00
Kevin Gorham 81266f01e5
Merge pull request #231 from zcash/release/1.3.0-beta14
Release/1.3.0 beta14
2021-06-19 00:30:50 -04:00
Kevin Gorham 5f3f74e5f6
Updated changelog. 2021-06-19 00:30:08 -04:00
Kevin Gorham 7faf525292
Update version and dependencies. 2021-06-19 00:27:05 -04:00
Kevin Gorham d8fec13896
Begin troubleshooting server disconnect errors. 2021-06-19 00:25:05 -04:00
Kevin Gorham 98204eda73
Fix broken tests. 2021-06-19 00:24:21 -04:00
Kevin Gorham d095e9359a
New: Add separate balances for sapling, transparent and orchard pools.
Note that the orchard one is just a placeholder for now.
2021-06-15 00:09:24 -04:00
Kevin Gorham d2e23a6612
Updated Changelog. 2021-06-07 00:58:41 -04:00
Kevin Gorham e57f555db4
Merge pull request #230 from zcash/release/1.3.0-beta12
Release/1.3.0 beta12
2021-06-07 00:27:32 -04:00
Kevin Gorham a1a28cac82
Add documentation to recent code changes. 2021-06-07 00:18:25 -04:00
Kevin Gorham c95b8307c4
Bump version. 2021-05-27 07:39:27 -04:00
Kevin Gorham 467282d385
Clean up error logging. 2021-05-25 16:02:27 -04:00
Kevin Gorham 84ca57f432
Fix: Reconnect to lightwalletd when a service exception occurs.
This is a fairly frequent crash that occurs when devices return from the background and attempt to reuse a stale channel. In that situation, shutdown the stale channel and rebuild a new one.
2021-05-25 12:43:42 -04:00
Kevin Gorham 0c73f2b585
New: Expose network height as a StateFlow.
We already had latest height but that would require polling. Having a state flow makes it easier for views to be pushed the latest height.
2021-05-25 11:15:09 -04:00
Kevin Gorham 095f118fac
Bump version to beta11. 2021-05-12 21:34:52 -04:00
Kevin Gorham a2fb6c6bdd
Merge pull request #228 from zcash/hotfix/new-accounts
Hotfix/new accounts
2021-05-12 21:29:49 -04:00
Kevin Gorham 3246a3989d
Update changelog. 2021-05-12 21:28:57 -04:00
Kevin Gorham e883a40a79
Refresh and update versions. 2021-05-12 20:57:33 -04:00
Kevin Gorham 3fb12fc652
Fix: Removed variable that is no longer used.
Relying on this flag to change was causing new wallets to appear to fail. Although they work on the next launch, it is confusing for users and requires immediate attention.
2021-05-12 20:57:09 -04:00
Kevin Gorham b891163821
Update dependency portion of the readme. 2021-05-11 19:14:56 -04:00
Kevin Gorham 32c3986f80
Update changelog and version. 2021-05-07 17:32:00 -04:00
Kevin Gorham 10561d6329
Fix: Make prepare function idempotent. 2021-05-07 17:31:32 -04:00
Kevin Gorham 07c9335ea4
Update changelog and checkpoints. 2021-05-07 04:30:59 -04:00
Kevin Gorham ef52cc479e
Merge pull request #227 from zcash/fix/upgrade-crash
Fix/upgrade crash
2021-05-07 04:28:40 -04:00
Kevin Gorham 368099e154
Improvement: Remove dropAccountsTable.
This was effectively a band-aid fix from previous testing that is now working more cleanly so this code isn't needed, thankfully.
2021-05-07 04:11:35 -04:00
Kevin Gorham f9feb688cb
Improvement: parameterize test to run on both mainnet and testnet. 2021-05-07 04:00:32 -04:00
Kevin Gorham 44d1d55201
Improvement: Refactor the initializer and move all DB creation code.
Move the code to create, migrate and populate data from the initializer over to the repository. Both classes are now much simpler.
2021-05-07 03:59:47 -04:00
Kevin Gorham fc7cead1f6
New: Add the concept of 'prepare'.
begin adding a step between the creation of a Synchronizer and starting it, called 'prepare' which is responsible for migrations and other steps to get the data ready for syncing.
2021-05-07 03:56:26 -04:00
Kevin Gorham 8fb56ff80c
Improvement: Simplify Initializer to get rid of unnecessary inheritance. 2021-05-07 03:54:18 -04:00
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 b82a296278
Remove Bintray badge from README, add Maven Central. 2021-05-04 17:03:53 -04:00
Kevin Gorham 0cae3fea2b
Update changelog and bump version. 2021-05-03 22:55:17 -04:00
Kevin Gorham 0acb439793
New: Add quickRewind feature to make it easy to rescan 2wks of blocks.
This helps address https://github.com/nighthawk-apps/nighthawk-wallet-android/issues/38
2021-05-03 22:53:23 -04:00
Kevin Gorham ddf785e7d8
Fix: Disable logs by default. Also update verion and changelog. 2021-05-01 23:05:14 -04:00
Kevin Gorham b1bb4173e6
Update changelog. 2021-05-01 00:05:37 -04:00
Kevin Gorham c8180028af
Fix: Allow for key migration by resetting the accounts table.
Closes https://github.com/zcash/zcash-android-wallet/issues/258
2021-05-01 00:02:32 -04:00
Kevin Gorham fb2e9cff51
Merge pull request #225 from zcash/hotfix/1.3.0-beta06
Hotfix/1.3.0 beta06
2021-04-29 15:59:26 -04:00
Kevin Gorham d5420f0bdb
Updated changelog. 2021-04-29 15:57:33 -04:00
Kevin Gorham 91a64561b7
New: Added test suite support
This required an update in mockito which was indirectly impacted by not having mavenCentral() as a repository as mentioned here https://github.com/mockito/mockito/issues/2007#issuecomment-829388655
2021-04-29 15:57:13 -04:00
Kevin Gorham 009d69f8f5
New: Update checkpoints. 2021-04-29 03:36:41 -04:00
Kevin Gorham 749a6ab937
Explain publishing fix. 2021-04-29 03:35:55 -04:00
Kevin Gorham ad0d017db0
Drop the jetifier since it's probably not needed any longer. 2021-04-29 03:35:03 -04:00
Kevin Gorham 418106538e
Fix: Full rescan should not go beyond the checkpoint.
Otherwise, it gets interpreted as a reorg and can throw the wallet into an infinite rewind loop.
2021-04-29 03:34:35 -04:00
Kevin Gorham 303e1da180
Minor improvement on error messaging.
When the branches don't match, it's nice to know what network is being used.
2021-04-29 03:33:33 -04:00
Kevin Gorham 028bb95d5d
Fix: Return proper numeric type for consensus branch Id.
Closes https://github.com/zcash/zcash-android-wallet-sdk/issues/224
Related to https://github.com/nighthawk-apps/nighthawk-wallet-android/pull/35
2021-04-28 10:12:41 -04:00
Kevin Gorham c6d69b8266
New: Unit test to verify the logic for getting the client's consensus branch id. 2021-04-28 09:45:42 -04:00
Kevin Gorham 7c3b9db7a3
Update version. 2021-04-26 17:38:23 -04:00
Kevin Gorham 87afd7e55b
Fix: Better error message when address is not found. 2021-04-26 17:37:58 -04:00