Proto commits in zcash/librustzcash

These 26 commits are when the Protocol Buffers files have changed:

Commit:38b85fa
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

Add transparent data to the `CompactBlock` format. This also modifies the `BlockRange` type to allow callers to specify a set of pool types for which data should be returned. In the case that no pool types are specified, a server should return compact blocks containing only data relevant to the shielded (Sapling and Orchard) pools.

Commit:26dcb55
Author:Emerson Hall
Committer:Emerson Hall

Add gRPC LightdInfo Donation Address

The documentation is generated from this commit.

Commit:52abb1f
Author:Jack Grigg
Committer:GitHub

Merge pull request #1473 from nuttycom/wallet/enrichment_queue Add queues to track the need for transaction enhancement and/or verification of mined status.

Commit:52f7a77
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

Apply suggestions from code review Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>

Commit:1820788
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

zcash_client_backend: Add `block_height` argument to `decrypt_and_store_transaction` In the case that `decrypt_and_store_transaction` is being used to add data for fully-transparent transactions to the database, it may be the case that there is no existing relationship between a transaction and the block height at which it was mined (unlike for transactions being enhanced after discovery via block scanning.) This change makes it possible to set the mined height for transactions that do not have any shielded components that involve the wallet.

Commit:44e36a3
Author:zancas

fix incorrect doc-comment

Commit:cc9ec1d
Author:zancas

update CompactBlock doc-comment, to cover non-Sapling shielded notes, and addresses

Commit:2fae4bb
Author:Daira-Emma Hopwood
Committer:Daira-Emma Hopwood

ZIP 320 implementation. Co-authored-by: Kris Nuttycombe <kris@nutty.land> Co-authored-by: Jack Grigg <str4d@electriccoin.co> Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>

Commit:c6520cf
Author:Daira-Emma Hopwood
Committer:Daira-Emma Hopwood

Change the protobuf schema to explicitly specify whether a `ChangeValue` is ephemeral. This also fixes `try_into_standard_proposal` to allow decoding from the protobuf representation into a proposal that uses references to prior ephemeral transparent outputs, provided that the "transparent-inputs" feature is enabled. Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>

Commit:dd6711a
Author:Kris Nuttycombe

zcash_client_backend: Address comments from code review & fix incorrect `data_api::wallet` documentation.

Commit:beeea7b
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

zcash_client_backend: Modify `Proposal` to make multi-step transactions representable.

Commit:6e0d9a9
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

zcash_client_backend: Add selected output pools to transaction proposals. Fixes #1174

Commit:3206255
Author:Jack Grigg
Committer:Jack Grigg

Various documentation improvements

Commit:adc7556
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

zcash_client_backend: Add Orchard support to transaction proposals.

Commit:aeb405e
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

Apply suggestions from code review Co-authored-by: str4d <thestr4d@gmail.com> Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>

Commit:5725633
Author:sasha
Committer:Kris Nuttycombe

Add a protobuf representation for transaction proposals. Co-authored-by: Kris Nuttycombe <kris@nutty.land>

Commit:6fa0b46
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

Implement `suggest_scan_ranges` and `update_chain_tip` This implements a priority queue backed by the wallet database for scan range ordering. The scan queue is updated on each call to `put_blocks` or to `update_chain_tip`.

Commit:c13c8c6
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

Address comments from code review.

Commit:c363e71
Author:Kris Nuttycombe

Rename proto::compact::{BlockMetadata => ChainMetadata}

Commit:ba70917
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

Reorganize Sapling and Orchard note commitment tree sizes in CompactBlock. We move thes fields out into a separate BlockMetadata struct to ensure that future additions to block metadata are structurally separated from future additions to block data.

Commit:32e2991
Author:Kris Nuttycombe
Committer:Kris Nuttycombe

zcash_client_backend: Add note commitment tree sizes to `CompactBlock` serialization.

Commit:17a4830
Author:Jack Grigg
Committer:Jack Grigg

zcash_client_backend: Add gRPC bindings behind feature flag The lightwalletd service file is sourced from: Git: https://github.com/zcash/lightwalletd Rev: ad5ecda5fbb5e12799f926b8cd785d54fdd250c8 Closes zcash/librustzcash#585.

Commit:cceae3a
Author:Jack Grigg

zcash_client_backend: Address compact_formats.proto comments

Commit:18562c7
Author:Jack Grigg

zcash_client_backend: Bring in latest `compact_formats.proto` Source: https://github.com/zcash/lightwalletd/blob/83bb19918fb36a5f6d5013fba7938daf3d73db1d/walletrpc/compact_formats.proto

Commit:2bbd25b
Author:Jack Grigg
Committer:Jack Grigg

Add prevHash field to CompactBlock This enables basic verification of chain validity when CompactBlocks are received without the full header.

Commit:af7e263
Author:Jack Grigg
Committer:Jack Grigg

Build protobufs for compact formats