Improve FullViewingKey doc comment

This commit is contained in:
Deirdre Connolly 2020-03-28 15:50:07 -04:00 committed by Deirdre Connolly
parent ebe5cce3bb
commit 1219f1b552
1 changed files with 5 additions and 0 deletions

View File

@ -175,9 +175,14 @@ pub type TransmissionKey = redjubjub::PublicKeyBytes;
/// Full Viewing Keys
///
/// Allows recognizing both incoming and outgoing notes without having
/// spend authority.
///
/// For incoming viewing keys on the production network, the
/// Human-Readable Part is “zviews”. For incoming viewing keys on the
/// test network, the Human-Readable Part is “zviewtestsapling”.
///
/// https://zips.z.cash/protocol/protocol.pdf#saplingfullviewingkeyencoding
pub struct FullViewingKey {
authorizing_key: AuthorizingKey,
nullifier_deriving_key: NullifierDerivingKey,