From 65e869122a8617ea047f683679a6f64a270dc899 Mon Sep 17 00:00:00 2001 From: theborakompanioni Date: Mon, 22 Jan 2024 22:15:35 +0100 Subject: [PATCH 1/2] build(deps): update protobuf and grpc dependencies --- build.gradle | 8 ++++---- gradle.properties | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 4891d3b85..676907dba 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { gradlePluginPortal() } dependencies { - classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.16" + classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.19" // optional dependencies for using Spock classpath "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used @@ -27,7 +27,7 @@ buildscript { plugins { id 'java-library' id 'groovy' - id 'com.google.protobuf' version "0.8.16" + id 'com.google.protobuf' version "0.8.19" id 'idea' id 'project-report' id 'org.ajoberstar.git-publish' version "3.0.1" @@ -51,8 +51,8 @@ repositories { dependencies { //gRPC - implementation 'com.google.api.grpc:proto-google-common-protos:2.9.6' - implementation 'io.netty:netty-tcnative-boringssl-static:2.0.54.Final' + implementation 'com.google.api.grpc:proto-google-common-protos:2.31.0' + implementation 'io.netty:netty-tcnative-boringssl-static:2.0.62.Final' api "io.grpc:grpc-netty-shaded:$grpcVersion" implementation "io.grpc:grpc-protobuf:$grpcVersion" implementation "io.grpc:grpc-stub:$grpcVersion" diff --git a/gradle.properties b/gradle.properties index 6784715b5..54eed9f70 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ -// Maven Central Repository publishing, set correct data in user dir .gradle/gradle.properties +# Maven Central Repository publishing, set correct data in user dir .gradle/gradle.properties ossrhUsername = 'set in gradle.properties' ossrhPassword = 'set in gradle.properties' -grpcVersion=1.58.0 -protobufVersion=3.21.7 \ No newline at end of file +grpcVersion=1.61.0 +protobufVersion=3.22.5 From d035897877435e19249b49a2668d0133f4f65ba5 Mon Sep 17 00:00:00 2001 From: herrvendil Date: Tue, 20 Feb 2024 06:31:45 +0100 Subject: [PATCH 2/2] Updated with support for LND 1.17.4 Beta --- docs/index.adoc | 2 ++ src/main/proto/wallet.kit.proto | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/index.adoc b/docs/index.adoc index 47bb6ef18..e355f0554 100644 --- a/docs/index.adoc +++ b/docs/index.adoc @@ -40,6 +40,8 @@ to the license agreement can be found link:LICENSE.txt[here]. == Whats New +* 0.17.4-Beta : Generated against LND 0.17.4 API, updated Updated grpc to 1.61.0 and protobuf to 3.22.5, +proto-google-common-protos:2.31.0 and netty-tcnative-boringssl-static to 2.0.62.Final thanx to help from theborakompanioni. * 0.17.2-Beta : Generated against LND 0.17.2 API * 0.17.0-Beta : Generated against LND 0.17.0 API, upgraded to Gradle 8.1 * 0.16.2-Beta : Generated against LND 0.16.2 API, added support for ChainKit RPC Service. diff --git a/src/main/proto/wallet.kit.proto b/src/main/proto/wallet.kit.proto index 619bac082..e3b493ad3 100644 --- a/src/main/proto/wallet.kit.proto +++ b/src/main/proto/wallet.kit.proto @@ -1,7 +1,7 @@ /** * This file is fetched from https://github.com/lightningnetwork/lnd/blob/master/lnrpc/rpc.proto * And is distributed under LNDs MIT License. - * LND (31330f1) tag : Downloaded 2023-09-22 + * LND (1ae89d6) tag : Downloaded 2024-02-19 */ syntax = "proto3"; @@ -1041,6 +1041,13 @@ message ListSweepsRequest { replaced-by-fee, so will not be included in this output. */ bool verbose = 1; + + /* + The start height to use when fetching sweeps. If not specified (0), the + result will start from the earliest sweep. If set to -1 the result will + only include unconfirmed sweeps (at the time of the call). + */ + int32 start_height = 2; } message ListSweepsResponse {