From 26dcb558a371aee03bf7af1f95a0738cd64dbf97 Mon Sep 17 00:00:00 2001 From: Emerson Hall Date: Sun, 16 Feb 2025 17:38:36 -0600 Subject: [PATCH] Add gRPC LightdInfo Donation Address --- zcash_client_backend/proto/service.proto | 1 + zcash_client_backend/src/proto/service.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/zcash_client_backend/proto/service.proto b/zcash_client_backend/proto/service.proto index 6559e3433e..ee819ecbe4 100644 --- a/zcash_client_backend/proto/service.proto +++ b/zcash_client_backend/proto/service.proto @@ -73,6 +73,7 @@ message LightdInfo { uint64 estimatedHeight = 12; // less than tip height if zcashd is syncing string zcashdBuild = 13; // example: "v4.1.1-877212414" string zcashdSubversion = 14; // example: "/MagicBean:4.1.1/" + string donationAddress = 15; // Zcash donation UA address } // TransparentAddressBlockFilter restricts the results to the given address diff --git a/zcash_client_backend/src/proto/service.rs b/zcash_client_backend/src/proto/service.rs index f471e81567..414dc19387 100644 --- a/zcash_client_backend/src/proto/service.rs +++ b/zcash_client_backend/src/proto/service.rs @@ -103,6 +103,9 @@ pub struct LightdInfo { /// example: "/MagicBean:4.1.1/" #[prost(string, tag = "14")] pub zcashd_subversion: ::prost::alloc::string::String, + /// Zcash donation UA address + #[prost(string, tag = "15")] + pub donation_address: ::prost::alloc::string::String, } /// TransparentAddressBlockFilter restricts the results to the given address /// or block range.