Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions zingo-testutils/proto/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion zingolib/src/lightclient/describe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ 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,
"taddr_support" => i.taddr_support,
"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)
}
Expand Down