Jack Grigg
1cdaaa974c
Migrate to `ecc_sdk-20240129` tag of Zcash Rust crates
2024-01-30 17:23:37 +00:00
Jack Grigg
22407a593d
Get `WalletSummary` on CBP start and use it to bound subtree roots
...
This improves performance in two ways:
- The `SdkSynchronizer` now reports balances of existing wallets and
sync progress almost immediately, instead of after the first batch
of blocks is scanned.
- In the steady state case, only a few subtree roots are downloaded,
reducing the time until the first batch of blocks is scanned.
Closes Electric-Coin-Company/zcash-android-wallet-sdk#1310 .
2024-01-30 17:23:37 +00:00
Jack Grigg
a8965b01c6
Fix types of arguments to `GetSubtreeRoots` and `putSaplingSubtreeRoots`
2024-01-30 17:23:37 +00:00
Jack Grigg
e0fcbbea3a
Refresh wallet transparent balance flow from `WalletSummary`
...
Previously we only showed balance updates for the default address; this
could potentially undercount transparent balance in some cases.
We also now use the total zero-conf transparent balance for both "total"
and "available", because we only allow transparent balance to be
shielded, and we use a zero-conf transaction to do so.
2024-01-30 17:23:37 +00:00
Jack Grigg
55d0dd47d8
Deduplicate balance refreshing APIs
2024-01-30 17:23:37 +00:00
Jack Grigg
1f19360ca3
Expose the rest of `WalletSummary` across the FFI
2024-01-30 17:23:37 +00:00
Jack Grigg
9eeb5ba04c
backend-lib: Migrate to latest in-progress revision of Rust crates
...
Includes performance improvements to block scanning.
2024-01-30 17:23:37 +00:00
Jack Grigg
7149def6f1
Expose `ScanSummary` across the FFI
...
Closes Electric-Coin-Company/zcash-android-wallet-sdk#1368 .
2024-01-30 17:23:37 +00:00
Jack Grigg
bb3733ec94
CompactBlockProcessor: Deduplicate sleep code
...
Closes Electric-Coin-Company/zcash-android-wallet-sdk#1252 .
2024-01-30 17:23:37 +00:00
Honza
61b2eb5ed5
Explicit generated location
...
- This copies the pattern from lightwallet-client-lib module where we set the package for the generated classes
- It adds internal to the path, to be explicit about not exposing it out of the backend module
2024-01-30 17:23:37 +00:00
Jack Grigg
0f0cd81a12
Replace `Backend.{createToAddress, shieldToAddress}` with proposal-based methods
...
Closes Electric-Coin-Company/zcash-android-wallet-sdk#1338 .
2024-01-30 17:23:37 +00:00
Jack Grigg
251392d9cf
Migrate to `jni 0.21`
...
In addition to the necessary breaking changes, we also clean up the
style to match what is used in the `jni` crate examples.
2024-01-30 17:23:37 +00:00
Jack Grigg
c6c2a1c54e
backend-lib: Migrate to `standard::SingleOutputChangeStrategy`
...
This removes the type system separation between pre-ZIP 313 and ZIP 317
fees, which becomes necessary when using the transaction proposal
protobuf encoder.
2024-01-30 17:23:37 +00:00
Jack Grigg
85af183cee
backend-lib: Migrate to latest in-progress revision of Rust crates
2024-01-30 17:23:37 +00:00
dependabot[bot]
f2e895633d
Bump actions/upload-artifact from 4.2.0 to 4.3.0 ( #1367 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](694cdabd8b...26f96dfa69
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 09:09:22 +01:00
dependabot[bot]
c0321df596
Bump google-github-actions/auth from 2.0.1 to 2.1.0 ( #1366 )
...
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/google-github-actions/auth/releases )
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md )
- [Commits](f6de81663f...5a50e58116
)
---
updated-dependencies:
- dependency-name: google-github-actions/auth
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 09:05:30 +01:00
dependabot[bot]
88058c6346
Bump actions/upload-artifact from 4.1.0 to 4.2.0 ( #1356 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](1eb3cb2b3e...694cdabd8b
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 09:52:32 +01:00
Jack Grigg
1bf2f84837
Migrate to Rust 1.75.0 and NDK 26.1.10909125
...
Closes Electric-Coin-Company/zcash-android-wallet-sdk#317 .
2024-01-18 11:43:54 +00:00
dependabot[bot]
f6eb37731f
Bump actions/cache from 3.3.3 to 4.0.0 in /.github/actions/setup ( #1354 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](e12d46a63a...13aacd865c
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 08:24:23 +01:00
Honza Rychnovský
02fdb9631e
[ #1348 ] Regenerate fixture wallet addresses
...
Closes #1348
2024-01-15 17:29:54 +01:00
dependabot[bot]
3df4a4234e
Bump actions/upload-artifact from 4.0.0 to 4.1.0 ( #1352 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](c7d193f32e...1eb3cb2b3e
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 08:17:43 +01:00
dependabot[bot]
08fb075a4a
Bump actions/cache from 3.3.2 to 3.3.3 in /.github/actions/setup ( #1350 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](704facf57e...e12d46a63a
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 12:43:01 +01:00
dependabot[bot]
0c081da4e1
Bump actions/download-artifact from 4.1.0 to 4.1.1 ( #1347 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](f44cd7b40b...6b208ae046
)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 11:35:18 +01:00
dependabot[bot]
20d32ef6a4
Bump google-github-actions/auth from 2.0.0 to 2.0.1 ( #1345 )
...
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/google-github-actions/auth/releases )
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md )
- [Commits](67e9c72af6...f6de81663f
)
---
updated-dependencies:
- dependency-name: google-github-actions/auth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 12:40:27 +01:00
Honza Rychnovský
dd46baa5c1
[ #1322 ] Release zcash-android-wallet-sdk 2.0.4
...
Closes #1322
2024-01-08 17:51:40 +01:00
Honza Rychnovský
6d90319136
[ #1301 ] Checkpoints update
...
Closes #1301
2024-01-08 17:25:23 +01:00
Honza Rychnovský
685ae666f4
[ #1315 ] Provide Locale to MonetarySeparators API
...
Closes #1315
2024-01-08 17:22:27 +01:00
Honza Rychnovský
68cfd21fe7
[ #1287 ] Remove LightWalletEndpointExt public API
...
- Closes #1287
- This refactored out all the occurrences of LightWalletEndpointExt and its functions and variables from the SDK’s public API. It preserves it in tests, demo app, and in the PersistableWallet for backward compatibility, although it’s not available from outside of the SDK.
- Changelog updated
2024-01-08 14:45:47 +01:00
Honza Rychnovský
d8902d11df
[ #1248 ] Clean up unused exceptions
...
* [#1248 ] Clean up unused exceptions
Closes #1248
* Changelog update
* Suppress detekt warning
Creating these private functions is required by the compiler
2024-01-07 10:29:33 +01:00
Honza Rychnovský
1dd369167a
[ #1316 ] Readable TxId on TransactionOverview
...
Closes #1316
2024-01-05 09:56:23 +01:00
Honza Rychnovský
437a2e08ec
[ #1309 ] Update Public APIs doc
...
Closes #1309
2024-01-05 09:32:49 +01:00
Honza Rychnovský
8c6c2c239e
[ #1321 ] Adopt Bip-39 lib v1.0.7
...
Closes #1321
2024-01-04 21:33:54 +01:00
Honza Rychnovský
73d7afc2a4
[ #1327 ] Ktlint 1.1.0
...
* [#1327 ] Ktlint 1.1.0
Closes #1327
* [#1327 ] Autoformatting with Ktlint
* Ktlint formatting warnings fix
2024-01-04 21:21:32 +01:00
Honza Rychnovský
e550cd9943
[ #1328 ] Detekt Compose 0.3.5
...
Closes #1328
2024-01-04 14:26:41 +01:00
Honza Rychnovský
aa00139c17
[ #1302 ] Dependency update
...
Closes #1302
2024-01-04 14:12:28 +01:00
Honza Rychnovský
e8add0880d
[ #1318 ] Kotlin 1.9.21
...
* [#1307 ] Kotlin 1.9.21
* Compose 1.5.7
* Gralde versions plugin 0.50.0
* Changelog update
2024-01-04 14:10:06 +01:00
Honza Rychnovský
2ee4140080
[ #1307 ] Gradle 8.5
...
* [#1307 ] Gradle 8.5
Closes #1307
* Changelog update
* Flank 23.10.1
2024-01-04 10:47:46 +01:00
dependabot[bot]
3f85f854c6
Bump actions/download-artifact from 4.0.0 to 4.1.0 ( #1314 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](7a1cd3216c...f44cd7b40b
)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 15:08:31 +01:00
dependabot[bot]
7d264e74ec
Bump actions/upload-artifact from 3.1.3 to 4.0.0 ( #1311 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](a8a3f3ad30...c7d193f32e
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 16:09:58 +01:00
dependabot[bot]
2cc26a19f7
Bump actions/download-artifact from 3.0.2 to 4.0.0 ( #1312 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](9bc31d5ccc...7a1cd3216c
)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 16:09:23 +01:00
dependabot[bot]
592a444e79
Bump actions/setup-java from 3.13.0 to 4.0.0 in /.github/actions/setup ( #1299 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3.13.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](0ab4596768...387ac29b30
)
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 09:08:23 +01:00
dependabot[bot]
dd2fbc281b
Bump google-github-actions/auth from 1.2.0 to 2.0.0 ( #1300 )
...
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth ) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/google-github-actions/auth/releases )
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md )
- [Commits](f105ef0cdb...67e9c72af6
)
---
updated-dependencies:
- dependency-name: google-github-actions/auth
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 09:07:43 +01:00
dependabot[bot]
bc333714de
Bump google-github-actions/auth from 1.1.1 to 1.2.0 ( #1298 )
...
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/google-github-actions/auth/releases )
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md )
- [Commits](35b0e87d16...f105ef0cdb
)
---
updated-dependencies:
- dependency-name: google-github-actions/auth
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 09:17:51 +01:00
Honza Rychnovský
40ba042ff0
[ #1295 ] SDK release v2.0.3
2023-11-08 15:22:45 +01:00
Honza Rychnovský
0cdba6a69c
[ #1294 ] Checkpoints update
...
Closes #1294
2023-11-08 15:22:07 +01:00
Honza Rychnovský
7d7cf4f84f
[ #1292 ] Expose Data database file path
...
- Implemented as part of synchronizer API
- Closes #1292
- Documentation updated
2023-11-08 12:27:14 +01:00
str4d
ae2d7152aa
Replace Sapling balance and scan progress FFIs with wallet summary FFI
...
* Replace Sapling balance and scan progress FFIs with wallet summary FFI
Closes zcash/zcash-android-wallet-sdk#1282 .
* Using test fixture for JniAccountBalance
* Minor documentation changes
* Fix typo
---------
Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2023-11-08 10:57:23 +01:00
Honza Rychnovský
b82278e747
[ #1289 ] SDK Release 2.0.2
...
Closes #1289
2023-10-20 14:48:09 +02:00
Honza Rychnovský
6ae8259466
[ #1288 ] Checkpoints update
2023-10-20 14:46:47 +02:00
Sean Bowe
f3dfed42fa
cargo update
2023-10-19 16:10:30 -06:00