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

This commit is contained in:
zancas 2024-08-01 18:57:01 -06:00
parent 908d49d047
commit cc9ec1de72
No known key found for this signature in database
GPG Key ID: E4BCAA0A9B09F559
1 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,9 @@ message ChainMetadata {
// A compact representation of the shielded data in a Zcash block. // A compact representation of the shielded data in a Zcash block.
// //
// CompactBlock is a packaging of ONLY the data from a block that's needed to: // CompactBlock is a packaging of ONLY the data from a block that's needed to:
// 1. Detect a payment to your shielded Sapling address // 1. Detect a payment to your Shielded address
// 2. Detect a spend of your shielded Sapling notes // 2. Detect a spend of your Shielded notes
// 3. Update your witnesses to generate new Sapling spend proofs. // 3. Update your witnesses to generate new spend proofs.
message CompactBlock { message CompactBlock {
uint32 protoVersion = 1; // the version of this wire format, for storage uint32 protoVersion = 1; // the version of this wire format, for storage
uint64 height = 2; // the height of this block uint64 height = 2; // the height of this block