Add some more human-readable language to the doc comment on merkle_crh_sprout

This commit is contained in:
Deirdre Connolly 2020-10-05 21:30:31 -04:00 committed by Deirdre Connolly
parent 0cf24be8e0
commit f7095ae9a2
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ const MERKLE_DEPTH: usize = 29;
/// MerkleCRH^Sprout Hash Function
///
/// Used to hash incremental Merkle tree hash values for Sprout.
///
/// MerkleCRH^Sprout(layer, left, right) := SHA256Compress(left || right)
///
/// `layer` is unused for Sprout but used for the Sapling equivalent.