Fix doc errors (missing links, etc).

This commit is contained in:
Henry de Valence 2020-01-23 13:07:05 -08:00
parent 4d5c8c7940
commit 2e04610be3
2 changed files with 4 additions and 2 deletions

View File

@ -40,7 +40,9 @@ pub struct JoinSplit<P: ZkSnarkProof> {
///
/// XXX refine type to [T; 2] -- there are two macs
pub vmacs: [[u8; 32]; 2],
/// A ZK JoinSplit proof, either a [`Groth16Proof`] or a [`Bctv14Proof`].
/// A ZK JoinSplit proof, either a
/// [`Groth16Proof`](crate::proofs::Groth16Proof) or a
/// [`Bctv14Proof`](crate::proofs::Bctv14Proof).
pub zkproof: P,
/// A ciphertext component for this output note.
///

View File

@ -30,7 +30,7 @@ pub struct SpendDescription {
/// A _Output Description_, as described in [protocol specification §7.4][ps].
///
/// https://zips.z.cash/protocol/protocol.pdf#outputencoding
/// [ps]: https://zips.z.cash/protocol/protocol.pdf#outputencoding
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct OutputDescription {
/// A value commitment to the value of the input note.