Commit Graph

1374 Commits

Author SHA1 Message Date
dependabot[bot] 6ed7778a95
Bump actions/checkout from 4.1.4 to 4.1.5 (#1474)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-05-07 07:09:04 +02:00
Honza Rychnovský ce612ab12d
[#1471] Add new LWD servers to Demo app
Closes #1471
2024-04-30 08:40:03 +02:00
Honza Rychnovský 11a48607b0
[#1470] Add APIs to provide clearing of SDK data
- Closes #1470
- Changelog update
2024-04-30 08:39:46 +02:00
dependabot[bot] 9094e6ea65
Bump gradle/wrapper-validation-action from 3.3.1 to 3.3.2 (#1469)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](5188e9b552...216d1ad2b3)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  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-04-29 23:19:02 +02:00
dependabot[bot] 71195a7bfc
Bump actions/download-artifact from 4.1.6 to 4.1.7 (#1468)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](9c19ed7fe5...65a9edc588)

---
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-04-29 22:23:58 +02:00
dependabot[bot] 0894b0d2f7
Bump actions/checkout from 4.1.3 to 4.1.4 (#1467)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1d96c772d1...0ad4b8fada)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-04-29 22:23:12 +02:00
Honza Rychnovský ec55494759
[#1464] Release 2.1.1 2024-04-23 15:43:27 +02:00
Honza Rychnovský b5d3e13664
[#1462] Checkpoints update
Closes #1462
2024-04-23 15:05:23 +02:00
Honza Rychnovský e75123d1f9
[#1455] Remove hard-coded currency decimal sep
Closes #1455
2024-04-23 15:03:49 +02:00
dependabot[bot] b29e1a3e43
Bump actions/download-artifact from 4.1.5 to 4.1.6 (#1452)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](8caf195ad4...9c19ed7fe5)

---
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-04-23 12:43:17 +02:00
dependabot[bot] f812cee61d
Bump actions/upload-artifact from 4.3.2 to 4.3.3 (#1451)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1746f4ab65...65462800fd)

---
updated-dependencies:
- dependency-name: actions/upload-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-04-23 12:42:58 +02:00
dependabot[bot] dc4c2a3958
Bump actions/checkout from 4.1.2 to 4.1.3 (#1450)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...1d96c772d1)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-04-23 12:42:04 +02:00
str4d 59f4fef479
Rust dependency updates (#1445)
* Bump Rust to 1.77

* cargo update

* Migrate from `failure` to `anyhow` for error handling

* `dlopen2 0.7`

* Remove extra comma

Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>

---------

Co-authored-by: Honza Rychnovský <rychnovsky.honza@gmail.com>
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-04-20 15:22:24 +02:00
dependabot[bot] dceab7f6e7
Bump gradle/wrapper-validation-action from 3.3.0 to 3.3.1 (#1448)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](460a3ca55f...5188e9b552)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  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-04-20 12:01:07 +02:00
dependabot[bot] 5ef0434f0c
Bump actions/download-artifact from 4.1.4 to 4.1.5 (#1447)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](c850b930e6...8caf195ad4)

---
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-04-20 12:00:52 +02:00
dependabot[bot] 2e40a8c0f4
Bump actions/upload-artifact from 4.3.1 to 4.3.2 (#1446)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...1746f4ab65)

---
updated-dependencies:
- dependency-name: actions/upload-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-04-20 12:00:39 +02:00
Honza Rychnovský 2a3c070a01
Remove logs stripping check entirely (#1444)
- As ensuring the check should be applied is not possible for a library that depends on clients build type and their different use cases
- Stripping tested manually with different client wallets, and it works as expected
2024-04-17 17:51:31 +02:00
Honza Rychnovský 1833e866a7
Improve logs stripping test (#1443)
This change avoids false-positives in clients
2024-04-17 14:25:28 +02:00
Honza Rychnovský 652487e563
[#1435] Eliminate logging with Proguard
- Closes #1435
- Changelog update
2024-04-17 09:26:39 +02:00
Honza Rychnovský 2c09776f9f
[#1440] Db image malformed while scanning blocks 2024-04-17 09:24:49 +02:00
Honza Rychnovský 6a96fa3d78
[#1438] Dependency update
* [#1438] Gradle 8.7

* AndroidX + Kotlin 1.9.23

* AGP 8.3.0

* Detekt 1.23.6 + Detekt Compose 0.3.15

* Dokka 1.9.20

* FooJay 0.8.0

* Ktlint 1.2.1

* Bip-39 1.0.8

* Remove coroutines-okhttp dependency

* Google Material 1.11.0

* gRPC Java 1.63.0

Removed `enableFullStreamDecompression()` as it had no effect as described in https://github.com/grpc/grpc-java/releases/tag/v1.61.0

* Gson 2.10.1

* Jacoco 0.8.12

* JUnit 5.10.2

* Kotlinx Coroutines 1.8.0

* Kotlin Immutable Collections 0.3.7

* Mockito 5.11.0

Removed unnecessary Mockito Kotlin dependency

* Protoc 4.26.1

* Changelog update

* Bump lib version

To produce a new snapshot version
2024-04-15 17:43:19 +02:00
dependabot[bot] 96b99be791
Bump gradle/wrapper-validation-action from 2.1.3 to 3.3.0 (#1437)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 2.1.3 to 3.3.0.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](b5418f5a58...460a3ca55f)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  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-04-15 09:19:55 +02:00
Kris Nuttycombe 7dadd57d6b
Provide the pool type when retrieving a memo. (#1436)
* WIP: Provide the pool type when retrieving a memo.

* Gitignore new idea file

* Let TypesafeBackend work with typesafe class

* Query and use protocol for memo obtaining

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
2024-04-14 21:28:07 +02:00
dependabot[bot] 315e8bf4fe
Bump gradle/wrapper-validation-action from 2.1.2 to 2.1.3 (#1433)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](b231772637...b5418f5a58)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  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-04-10 15:49:31 +02:00
Honza Rychnovský 4472790c8a
[#1431] Release 2.1.0
- Closes #1431
2024-04-09 14:29:05 +02:00
str4d 52ee2bc5bc
Feature branch for SDK 2.1.0 (#1411)
* CompactBlockProcessor: Remove `withDownload` parameter

* backend-lib: Migrate to latest in-progress revision of Rust crates

Includes changes to how accounts are stored and referenced. We now
need to remember and provide the seed fingerprint; for now, given
that we know we only create derived accounts from a single seed, we
search for an account with a matching ZIP 32 account index.

* backend-lib: Add `Backend.isSeedRelevantToWallet`

* Remove nullability of DownloadSuccess param

* Comment update

* Fix Detekt warnings

* backend-lib: Migrate to latest in-progress revision of Rust crates

Includes some renames, and a built-in seed relevancy API that we now
use.

* Separate tree state fetching

- Added continuable retry logic

* Integrate Orchard support

Closes Electric-Coin-Company/zcash-android-wallet-sdk#528.
Closes Electric-Coin-Company/zcash-android-wallet-sdk#761.

* Detekt warnings fix

* Fix unit tests

* Update `TxOutputsView` to use correct column names. (#1425)

* Return an error instead of a panic in the case of data corruption. (#1426)

This removes an `expect` call that risked crashing the app in the case of
database corruption, potentially hiding other bugs.

* Include `orchardSubtreeRootList` in final check

* Revert `orchardSubtreeRootList` check

Explanation comment added

* Changelog update

* Update to zcash_client_sqlite version 0.10.3 (#1428)

---------

Co-authored-by: Honza <rychnovsky.honza@gmail.com>
Co-authored-by: Kris Nuttycombe <kris@electriccoin.co>
2024-04-09 13:49:52 +02:00
Honza Rychnovský 698b7fe92f
[#1429] Checkpoints update 2024-04-09 13:48:37 +02:00
Honza Rychnovský 1294b1ca48
[#1423] Checkpoints update
Closes #1423
2024-03-25 18:03:30 +01:00
Honza Rychnovský 2fe2ecc62f
[#1421] Improve TransactionSubmitResult
Closes #1421
2024-03-25 17:14:19 +01:00
dependabot[bot] 6f561954f0
Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2 (#1420)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](699bb18358...b231772637)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  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-03-25 13:31:10 +01:00
dependabot[bot] ca2740097a
Bump actions/cache from 4.0.1 to 4.0.2 in /.github/actions/setup (#1419)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](ab5e6d0c87...0c45773b62)

---
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-03-20 09:02:28 +01:00
str4d 5fdaa6c935
Merge pull request #1416 from Electric-Coin-Company/fix-init-seed-required
Correctly throw `InitializeException.SeedRequired`
2024-03-19 17:47:14 +00:00
Honza 965833ec58 Docummentation + unused exception removal 2024-03-19 17:39:40 +01:00
Jack Grigg ad75ed65e5 Correctly throw `InitializeException.SeedRequired`
Closes Electric-Coin-Company/zcash-android-wallet-sdk#782.
2024-03-19 04:35:31 +00:00
dependabot[bot] 5f505f9b1c
Bump actions/setup-java from 4.2.0 to 4.2.1 in /.github/actions/setup (#1415)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](5896cecc08...99b8673ff6)

---
updated-dependencies:
- dependency-name: actions/setup-java
  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-03-15 10:19:35 +01:00
Honza Rychnovský fe6b11c4ec
[#1413] Update ZecSend with Proposal
* [#1413] Update ZecSend with Proposal

- Closes #1413
- Changelog update
2024-03-14 14:40:40 +01:00
dependabot[bot] b1fbb1b73e
Bump actions/setup-java from 4.1.0 to 4.2.0 in /.github/actions/setup (#1412)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](9704b39bf2...5896cecc08)

---
updated-dependencies:
- dependency-name: actions/setup-java
  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-03-14 12:35:38 +01:00
dependabot[bot] 134c03a7a5
Bump actions/checkout from 4.1.1 to 4.1.2 (#1410)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...9bb56186c3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-03-13 10:19:37 +01:00
Honza Rychnovský 078e76a941
[#776] Enable ZIP 317 fees support
* [#776] Enable ZIP 317 fees support

* Deprecate ZcashSdk.MINERS_FEE

* Replace MINERS_FEE with Proposal API in Demo app

* Changelog update

* Bump SDK to 2.0.8 to produce snapshot version
2024-03-13 10:03:53 +01:00
Kris Nuttycombe 5b04cbc579
Merge pull request #1397 from Electric-Coin-Company/1359-expose-proposals
Expose APIs for working with transaction proposals
2024-03-08 13:15:38 -07:00
Jack Grigg 34bb6557bf SDK v2.0.7 2024-03-08 20:13:54 +00:00
Jack Grigg f69c415e92 cargo update 2024-03-07 20:41:58 +00:00
Jack Grigg c8d0be8404 Add `Proposal.transactionCount` 2024-03-07 19:49:18 +00:00
Honza c4b45c2c2f Eliminate the suppressions 2024-03-06 20:17:58 +00:00
Honza 8bd009c98a Improve logging inside `txManager.submit()` 2024-03-06 20:17:58 +00:00
Honza 8e4c83627b Improve `createProposedTransactions` 2024-03-06 20:17:58 +00:00
Jack Grigg 99e91fa8b7 Migrate to `zcash_client_sqlite 0.9.0`
The backend now supports proposals that create multiple transactions.
It still does not generate such proposals itself, and we assert this
inside the now-deprecated APIs.
2024-03-06 20:17:58 +00:00
Jack Grigg abffb3f9ee Adjust `Synchronizer.proposeShielding` API
- Returns `null` when there are no funds to shield or the shielding
  threshold is not met.
- Throws an exception if there are funds to shield in more than one
  transparent receiver within the account.
- Has an optional parameter for specifying which transparent receiver
  to shield funds from.

Part of Electric-Coin-Company/zcash-android-wallet-sdk#680.
2024-03-06 20:17:41 +00:00
Jack Grigg e36bbdec7a Expose shielding threshold in `Synchronizer.proposeShielding`
`Synchronizer.shieldFunds` is not altered because it is deprecated.
2024-03-06 16:40:21 +01:00
Jack Grigg d2fa400531 Deprecate `Synchronizer.sendToAddress` and `Synchronizer.shieldFunds` 2024-03-06 16:40:21 +01:00