diff --git a/zingo-testutils/proto/service.proto b/zingo-testutils/proto/service.proto index 0945661478..ec25e42a26 100644 --- a/zingo-testutils/proto/service.proto +++ b/zingo-testutils/proto/service.proto @@ -70,6 +70,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/zingolib/src/lightclient/describe.rs b/zingolib/src/lightclient/describe.rs index 440b939965..c3f74d32c8 100644 --- a/zingolib/src/lightclient/describe.rs +++ b/zingolib/src/lightclient/describe.rs @@ -71,6 +71,7 @@ impl LightClient { Ok(i) => { let o = object! { "version" => i.version, + "zcash_version" => i.zcashd_build, "git_commit" => i.git_commit, "server_uri" => self.get_server_uri().to_string(), "vendor" => i.vendor, @@ -78,7 +79,8 @@ impl LightClient { "chain_name" => i.chain_name, "sapling_activation_height" => i.sapling_activation_height, "consensus_branch_id" => i.consensus_branch_id, - "latest_block_height" => i.block_height + "latest_block_height" => i.block_height, + "donation_address" => i.donation_address, }; o.pretty(2) }