Trait penumbra_tct::internal::interface::Witness
source · pub trait Witness: Height + Sized {
// Required method
fn witness(&self, index: impl Into<u64>) -> Option<(AuthPath<Self>, Hash)>;
}
Available on crate feature
internal
only.Expand description
Witness an authentication path into a tree, or remove a witnessed item from one.
Required Methods§
Object Safety§
This trait is not object safe.