Struct snarkvm_algorithms::commitment_tree::commitment_path::CommitmentMerklePath [−][src]
Fields
leaves: (<C as CommitmentScheme>::Output, <C as CommitmentScheme>::Output)
inner_hashes: (<H as CRH>::Output, <H as CRH>::Output)
Implementations
impl<C: CommitmentScheme, H: CRH> CommitmentMerklePath<C, H>
[src][−]
pub fn verify(
&self,
parameters: &H,
root_hash: &<H as CRH>::Output,
leaf: &<C as CommitmentScheme>::Output
) -> Result<bool, MerkleError>
[src]
&self,
parameters: &H,
root_hash: &<H as CRH>::Output,
leaf: &<C as CommitmentScheme>::Output
) -> Result<bool, MerkleError>
Trait Implementations
impl<C: CommitmentScheme, H: CRH> Clone for CommitmentMerklePath<C, H> where
C: CommitmentScheme,
H: CRH,
[src][+]
C: CommitmentScheme,
H: CRH,
impl<C: CommitmentScheme, H: CRH> Eq for CommitmentMerklePath<C, H> where
C: CommitmentScheme,
H: CRH,
[src]
C: CommitmentScheme,
H: CRH,
impl<C: CommitmentScheme, H: CRH> FromBytes for CommitmentMerklePath<C, H>
[src][+]
impl<C: CommitmentScheme, H: CRH> PartialEq<CommitmentMerklePath<C, H>> for CommitmentMerklePath<C, H> where
C: CommitmentScheme,
H: CRH,
[src][+]
C: CommitmentScheme,
H: CRH,
impl<C: CommitmentScheme, H: CRH> ToBytes for CommitmentMerklePath<C, H>
[src][+]
Auto Trait Implementations
impl<C, H> RefUnwindSafe for CommitmentMerklePath<C, H> where
<C as CommitmentScheme>::Output: RefUnwindSafe,
<H as CRH>::Output: RefUnwindSafe,
[src]
<C as CommitmentScheme>::Output: RefUnwindSafe,
<H as CRH>::Output: RefUnwindSafe,
impl<C, H> Send for CommitmentMerklePath<C, H> where
<C as CommitmentScheme>::Output: Send,
<H as CRH>::Output: Send,
[src]
<C as CommitmentScheme>::Output: Send,
<H as CRH>::Output: Send,
impl<C, H> Sync for CommitmentMerklePath<C, H> where
<C as CommitmentScheme>::Output: Sync,
<H as CRH>::Output: Sync,
[src]
<C as CommitmentScheme>::Output: Sync,
<H as CRH>::Output: Sync,
impl<C, H> Unpin for CommitmentMerklePath<C, H> where
<C as CommitmentScheme>::Output: Unpin,
<H as CRH>::Output: Unpin,
[src]
<C as CommitmentScheme>::Output: Unpin,
<H as CRH>::Output: Unpin,
impl<C, H> UnwindSafe for CommitmentMerklePath<C, H> where
<C as CommitmentScheme>::Output: UnwindSafe,
<H as CRH>::Output: UnwindSafe,
[src]
<C as CommitmentScheme>::Output: UnwindSafe,
<H as CRH>::Output: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pointable for T
[+]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,