Sapling transaction builder

This commit is contained in:
Jack Grigg
2018-11-20 13:37:21 +00:00
parent 01618038bf
commit 1862354ea6
7 changed files with 621 additions and 2 deletions

View File

@@ -420,7 +420,7 @@ impl<Node: Hashable> IncrementalWitness<Node> {
/// A witness to a path from a position in a particular commitment tree to the root of
/// that tree.
#[derive(Debug, PartialEq)]
#[derive(Clone, Debug, PartialEq)]
pub struct CommitmentTreeWitness<Node: Hashable> {
pub auth_path: Vec<Option<(Node, bool)>>,
pub position: u64,