Struct grin_chain::types::TxHashSetRoots [−][src]
pub struct TxHashSetRoots { pub output_roots: OutputRoots, pub rproof_root: Hash, pub kernel_root: Hash, }
A helper for the various txhashset MMR roots.
Fields
output_roots: OutputRoots
Output roots
rproof_root: Hash
Range Proof root
kernel_root: Hash
Kernel root
Implementations
impl TxHashSetRoots
[src]
impl TxHashSetRoots
[src]pub fn output_root(&self, header: &BlockHeader) -> Hash
[src]
pub fn output_root(&self, header: &BlockHeader) -> Hash
[src]Accessor for the output PMMR root (rules here are block height dependent). We assume the header version is consistent with the block height, validated as part of pipe::validate_header().
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TxHashSetRoots
impl Send for TxHashSetRoots
impl Sync for TxHashSetRoots
impl Unpin for TxHashSetRoots
impl UnwindSafe for TxHashSetRoots
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> UnsafeAny for T where
T: Any,
T: Any,