Commit Graph

1259 Commits

Author SHA1 Message Date
Honza d1ef768b7a Minor formatting changes 2023-09-08 20:19:51 +02:00
Honza Rychnovský fd17e7ef0e [#1159] Update sync progress reporting
* [#1168] Checkpoints update

* [#1159] Updated sync progress reporting

* Increase test_robo_demo_app timeout

* Migrate to ClosedEndRange

It’s better to transform suggested ranges from OpenEndRange to ClosedRange as soon as possible to avoid its handling in the rest of the logic.

* Improve all batch count calculating

* Subsequent SbS sync algorithm renaming
2023-09-08 20:19:51 +02:00
Honza Rychnovský 91f5cbe24d [#1129] Refactor ProcessorInfo
* Add rewind button to Demo app

To be able to test refactored CompactBlockProcessor rewind feature.

* Rename non-linear to spend-before-sync

* [#1129] Refactor lastSyncRange lastSyncedHeight

* Fix updateRange function

As the overallSyncRange needs to be reset in case of all ranges are processed.

* [#1166] Remove alsoClearBlockCache parameter
2023-09-08 20:19:51 +02:00
Honza Rychnovský 70cd1e030c [#1157] Get roots: recover failed communication 2023-09-08 20:19:51 +02:00
Honza Rychnovský 6b487e979e [#1160] New SyncAlgorithm type API 2023-09-08 20:19:50 +02:00
Jack Grigg 54d016e401 Migrate to Rust revision with checkpoint and memo bugfixes 2023-09-08 20:18:10 +02:00
Honza Rychnovský 3c31144963 [#1133] Set the correct getSubtreeRoots inputs
* [#1133] Set the correct getSubtreeRoots inputs

- It also better handles setState calls
- It fixes OpenEndRange -> ClosedRange
- And it improves logging in syncing mechanism

* Increase build CI timeout
2023-09-08 20:18:10 +02:00
Honza Rychnovský 7d098f67b9 [#1146] Process the rest of the ranges
* [#1146] Process the rest of the ranges
2023-09-08 20:18:10 +02:00
Honza Rychnovský 92ac1e926e [#1139][#1138] Process Priority.Verify blocks
* [#1139][#1138] Process Priority.Verify blocks

This makes the new subtask functions more testable.

* Increase CI test timeout

* [#1047][#1140] Improve CBD internal state handling

* [#1047][1140] Improve CBD internal state handling

This improves internal state handling in CompactBlockProcessor. Error handling included. And it prepares us for ContinuityError handling too.

* [#1143] Handle ContinuityError
2023-09-08 20:18:10 +02:00
Jack Grigg 0b7c61927c Migrate to Rust revision with additional performance improvements 2023-09-08 20:18:10 +02:00
Jack Grigg 811081b289 Migrate to Rust revision with spend detection and migration perf fixes 2023-09-08 20:18:10 +02:00
Honza Rychnovský c8b481a12f [#1130] Initial Suggested Ranges Parsing
* [#1130] Initial suggested ranges parsing
2023-09-08 20:18:10 +02:00
Honza Rychnovský b811305e53 [#1125] Download chain tip metadata 2023-09-08 20:18:10 +02:00
Honza Rychnovský 6a68889df6 [#1123] Linear vs Non-linear decision mechanism 2023-09-08 20:18:10 +02:00
Jack Grigg e43e86889c Migrate to Rust crate versions with fast spendability bugfixes 2023-09-08 20:18:10 +02:00
Honza f7bb2ae460 Fix JniSubtreeRoot + extension and tests 2023-09-08 20:18:10 +02:00
Jack Grigg 3c5d91b112 Expose `putSaplingSubtreeRoots` and `updateChainTip` Rust APIs 2023-09-08 20:18:10 +02:00
Honza 3476ccace1 Fix type returned from suggest_scan_ranges 2023-09-08 20:18:10 +02:00
Honza 57fe48e9fe Switch to ScanRange model in sdk-lib module 2023-09-08 20:18:10 +02:00
Honza 85388a85c3 Clear validation stage 2023-09-08 20:18:10 +02:00
Honza 7cee1d7203 Make buildable + Solve Lint warnings 2023-09-08 20:18:10 +02:00
Jack Grigg 12c3441778 Migrate to Rust crate versions with fast spendability support 2023-09-08 20:18:10 +02:00
Honza Rychnovský 1721150d9b
[#1229] SDK Release 1.21.0-beta01
- Library version bumped
- Changelog updated
- Closes #1229
2023-09-08 20:02:23 +02:00
Honza Rychnovský 4f58e5aac9
[#1188] Checkpoints update
Closes #1188
2023-09-08 18:30:45 +02:00
dependabot[bot] 4c04f22b03
Bump actions/cache from 3.3.1 to 3.3.2 in /.github/actions/setup (#1221)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](88522ab9f3...704facf57e)

---
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>
2023-09-08 09:45:05 +02:00
dependabot[bot] 4e5d42722b
Bump actions/upload-artifact from 3.1.2 to 3.1.3 (#1209)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b7f8abb15...a8a3f3ad30)

---
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>
2023-09-07 11:05:42 +02:00
dependabot[bot] 58210aadf9
Bump actions/checkout from 3.6.0 to 4.0.0 (#1205)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](f43a0e5ff2...3df4ab11eb)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-09-05 08:44:34 +02:00
Honza Rychnovský d38bde86ba
[#1176] Rest Dependency Update 2023-09-03 22:18:48 +02:00
Honza Rychnovský 5b9d122fac
[#1201] Coroutines 1.7.3
- Changelog
- Closes #1201
2023-09-01 15:55:18 +02:00
Honza Rychnovský 6ffa7bca36
[#1199] gRPC + Protobuf dependency update
- Closes #1199
- Changelog
2023-09-01 15:53:47 +02:00
Honza Rychnovský 48200ac865
[#1197] Androidx Updates
* [#1197] Androidx Updates

- Closes #1197
- Closes #839

* Changelog
2023-09-01 15:50:28 +02:00
Honza Rychnovský 07aa9346b7
[#1194][#1195] Compose + AGP dependency update
Changelog
2023-09-01 08:48:54 +02:00
Honza Rychnovský 5c0b2a2f8d
[#1192] Dokka 1.8.20
Closes #1192
2023-08-31 14:41:24 +02:00
Honza Rychnovský 6e1c210d37
[#1190] Kotlin 1.9.10 + Compose Compiler 1.5.3
- Closes #1190
- Closes #1117
2023-08-31 14:40:11 +02:00
Honza Rychnovský b7a1edf828
[#1178] Gradle 8.3 2023-08-31 10:11:52 +02:00
dependabot[bot] f5a716f09a
Bump actions/checkout from 3.5.3 to 3.6.0 (#1179)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](c85c95e3d7...f43a0e5ff2)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-08-25 14:33:14 +02:00
Honza Rychnovský 45f1c473b2
[#1111] Poll transactions and balances while syncing
* [#1111] Poll transactions during synchronization

* Poll transactions and balances Demo-app manually
2023-08-16 13:17:00 +02:00
Honza Rychnovský 1a0508f57d
[#1152] SDK Release 1.20.0-beta01 2023-07-31 13:34:58 +02:00
Honza Rychnovský 0be05a1c4c
[#1108] Getting memo for sent transactions 2023-07-31 13:34:41 +02:00
Honza Rychnovský 1936c69cbd
[#1147] Checkpoints update 2023-07-31 11:37:16 +02:00
Honza Rychnovský 13e0f931fd
[#1148] Improve Memo Querying Log 2023-07-31 11:37:03 +02:00
dependabot[bot] f60169db02
Bump actions/setup-java from 3.11.0 to 3.12.0 in /.github/actions/setup (#1135)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](5ffc13f417...cd89f46ac9)

---
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>
2023-07-25 08:58:43 +02:00
dependabot[bot] c861acdb5b
Bump gradle/wrapper-validation-action from 1.0.6 to 1.1.0 (#1132)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1.0.6 to 1.1.0.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](8d49e559aa...56b90f209b)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  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-07-24 08:15:39 +02:00
Honza Rychnovský db0ee9287e
[#1120] Update doc on supported java versions 2023-07-17 13:48:54 +02:00
Honza Rychnovský cb85f69311
[#1113][#114] Add GetSubtreeRoots method support
* [#1113] Adopt updated gRPC proto files

* [#1114] Add GetSubtreeRoots method
2023-07-17 12:51:27 +02:00
Honza Rychnovský f1b5e3aade
[#1014] Decorate Backend with Typesafe APIs
* [#1014] Decorate Backend with Typesafe APIs
2023-07-17 12:50:53 +02:00
Honza Rychnovský 0edaaafad1
[#1104] SDK Release 1.19.0-beta01 2023-07-05 14:19:57 +02:00
Honza Rychnovský 0f9b13e454
[#1102] Checkpoints update 2023-07-05 14:19:13 +02:00
Honza Rychnovský 0a3efdbb6c
[#1096] Fix null mined height crash
This handles the state in which is a transaction after it’s created with mined height null. It then doesn’t try to convert such a height into a BlockHeight object which is doing validation on input height. It rather returns null, similarly as for expiry height.
2023-07-05 14:18:49 +02:00
Honza Rychnovský 89ee0190af
[ #1099] Proper transaction state 2023-07-05 14:18:22 +02:00