Commit Graph

1046 Commits

Author SHA1 Message Date
Carter Jernigan 2362c60dd6 [#597] Run unit tests on CI 2022-08-02 07:28:55 -04:00
Carter Jernigan 9e3a1af23c Bump version to prepare for 1.9-beta01
This ensures that further commits to the main branch deploy snapshots under the 1.9 version
2022-07-29 11:00:53 -04:00
Carter Jernigan 421f932bd5 Update changelog for 1.8 release 2022-07-28 17:07:02 -04:00
Carter Jernigan ecba4884b2 [#642] gRPC 1.8.0 2022-07-28 17:06:47 -04:00
Carter Jernigan 8ec216dac6 [#643] Protoc .21.4 2022-07-28 17:06:47 -04:00
Carter Jernigan b93965973d [#644] JUnit 5.9.0 2022-07-28 17:06:47 -04:00
Carter Jernigan 75ba753340 [#640] Room 2.4.3 2022-07-28 17:06:47 -04:00
Carter Jernigan 1f35e37a5e [#628] Fix off-by-one download blocks
This should yield approximatly a 10% performance improvement, as it prevents downloading duplicate blocks.
2022-07-28 17:06:34 -04:00
Carter Jernigan 3535ba905e [#629] Stream blocks during download
This change leverages the gRPC streaming API along with the elimination of bulk inserts to SQLite to reduce the amount of memory required to write blocks.
2022-07-28 15:49:46 -04:00
Carter Jernigan 98e22f6029 [#625] Reduce block batch size to fix OOM 2022-07-26 11:25:09 -04:00
Carter Jernigan 8e3c4a636f [#610] Fix block download regression
This includes a few different fixes that prevented the demo app and other SDK consumers from working.

First, initialization of the demo app was fixed to use the sapling activation height rather than the current latest checkpoint.

Second, CompactBlockProcessor wasn’t downloading blocks.

Third, a few potential thread safety issues were resolved by making fields that are accessed by multiple threads volatile.
2022-07-26 08:46:53 -04:00
Carter Jernigan b53b09d40d [#622] Update checkpoints 2022-07-26 08:09:57 -04:00
Carter Jernigan 96eab807cb [#612] Make dependency locking configurable
This implementation is somewhat special from our other Gradle properties, because it does not get declared in the root gradle.properties.  The reason is that included builds are supposed to have their own properties e.g.

root_project/gradle.properties
root_project/build-conventions/gradle.properties

Instead of declaring the property in different places which might lead to confusion, this leaves the property undeclared, with the Gradle scripts assuming a default value of true.  The only time this is expected to be overridden is due to a workaround for an Android Studio bug.
2022-07-25 15:36:39 -04:00
Kris Nuttycombe a03a89707c
Clarify instructions for Android NDK installation. 2022-07-25 10:11:09 -06:00
Carter Jernigan 4a106c0498 [#603] Coroutines 1.6.4 2022-07-22 12:59:11 -04:00
Carter Jernigan 01a5963498 [#617] Kotlin 1.7.10 2022-07-22 12:59:11 -04:00
Carter Jernigan 3a0ded7113
[#608] Gradle 7.5 2022-07-18 07:07:58 -04:00
Carter Jernigan 1135353a84
[#606] Fix BlockHeight read from CompactBlockStore 2022-07-15 07:09:00 -04:00
dependabot[bot] 280d0d2027
Bump actions/cache from 3.0.4 to 3.0.5 in /.github/actions/setup (#605)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](c3f1317a9e...0865c47f36)

---
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>
2022-07-14 10:41:19 -04:00
Carter Jernigan 9b666833b1
[#474] Add type safe BlockHeight API
- Replace int with type safe BlockHeight(Long) object
 - Fix down casting bug, as BlockHeight is uint32 but Java only supports int32 or int64
 - Rename WalletBirthday to Checkpoint and hide from the public API
2022-07-12 08:40:09 -04:00
dependabot[bot] f29ffa1895 Bump actions/setup-java from 3.4.0 to 3.4.1 in /.github/actions/setup
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](16cca5479d...2c7a4878f5)

---
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>
2022-07-12 06:06:52 -04:00
Carter Jernigan 3fda6da1ca Bump version to 1.8.0-beta01
This prepares for the upcoming development and deployment of snapshots for the 1.8 SDK.
2022-07-11 13:07:22 -04:00
Carter Jernigan a6c223aaa5 Update changelog for version 1.7 2022-07-07 13:45:03 -04:00
Carter Jernigan 5ee0d519f0 [#598] Okio 3.2.0 2022-07-07 13:45:03 -04:00
Carter Jernigan 8f03eef46a [#599] Protoc 3.21.2 and gradle plugin 0.8.19 2022-07-07 13:45:03 -04:00
Carter Jernigan 6728852b28 [#596] Update checkpoints 2022-07-07 13:45:03 -04:00
Carter Jernigan 6764f7baf8 [#595] Make Zatoshi comparable 2022-07-07 13:45:03 -04:00
Carter Jernigan a1cc8f0b69 [#477] Fixes for Zatoshi object 2022-07-07 13:45:03 -04:00
Carter Jernigan 1ac72feae3 [#572] Coroutines 1.6.3 2022-06-30 09:32:04 -04:00
Carter Jernigan 4f61a52b6e [#484] Kotlin 1.7.0 2022-06-30 09:32:04 -04:00
Carter Jernigan 4396af0c0f [#583] Stop using Java 11 for ktlint 2022-06-27 08:42:37 -04:00
Carter Jernigan 3fa7a98fbf [#580] ktlint 0.46.1
Update baseline
2022-06-27 08:42:37 -04:00
Francisco Gindre bd2061956b
[#585] Add checkpoints for Orchard Activation Height (#586)
* [#585] Add checkpoints for Orchard Activation Height

Closes #585

these checkpoints will be useful for wallets supporting orchard
that had existing orchard activity from activation height on and
after NU5 SDK support is implemented they need to rescan for orchard
funds.

* Add documentation on special checkpoints

Co-authored-by: Carter Jernigan <git@carterjernigan.com>
2022-06-24 14:27:07 -03:00
Carter Jernigan 535567b42f [#579] Compile with Android API 33 2022-06-23 13:05:35 -04:00
dependabot[bot] a95935e7de
Bump actions/setup-java from 3.3.0 to 3.4.0 in /.github/actions/setup (#582)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](860f600565...16cca5479d)

---
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>
2022-06-22 06:53:29 -04:00
Carter Jernigan 823e8387cb
[#477] Typesafe Zatoshi APIs for amounts 2022-06-21 19:34:42 -04:00
Carter Jernigan 62e5cee5dd
[#576] Fix publishing 2022-06-21 10:16:40 -04:00
Carter Jernigan a5a07becd8
[#548] Configure testing with emulator.wtf 2022-06-21 07:57:04 -04:00
Carter Jernigan 8bc15a0c77 [#570] Run dependabot on Composite workflows 2022-06-20 12:33:33 -04:00
Carter Jernigan 491154f467 [#562] Detect and warn when running under Rosetta 2022-06-16 10:21:58 -04:00
Carter Jernigan 17c09908a8 [#421] Maven Publish 0.20.0 2022-06-16 08:11:46 -04:00
Carter Jernigan 5ec79cc20d [#512] Android Gradle Plugin 7.2.1 2022-06-16 08:11:46 -04:00
dependabot[bot] 32b17c31ea Bump actions/upload-artifact from 3.0.0 to 3.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](6673cd052c...3cea537223)

---
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>
2022-06-16 06:58:14 -04:00
Carter Jernigan a5694c208f [#564] Configure Dependabot for GitHub Actions 2022-06-16 05:57:57 -04:00
Carter Jernigan 5389bb86af [#518] Google Auth GitHub Action 0.8.0 2022-06-16 05:57:57 -04:00
Carter Jernigan e602d3dd7e [#545] GitHub Cache Action 3.0.4
Also updated the caching to be a bit simpler and more efficient.
2022-06-16 05:57:57 -04:00
Carter Jernigan 22d9cbecc0 [#560] Mockito 4.6.1 2022-06-15 19:43:26 -04:00
Carter Jernigan 99b985d9ba [#559] AndroidX Updates 2022-06-15 19:43:26 -04:00
Carter Jernigan 429e6e9738 [#553] OKHttp 4.10.0 2022-06-15 19:43:26 -04:00
Carter Jernigan ae58a99d48 [#556] Fulladle 0.17.4 2022-06-15 19:43:26 -04:00