Trait grin_core::ser::PMMRIndexHashable

source ·
pub trait PMMRIndexHashable {
    // Required method
    fn hash_with_index(&self, index: u64) -> Hash;
}
Expand description

Generic trait to ensure PMMR elements can be hashed with an index

Required Methods§

source

fn hash_with_index(&self, index: u64) -> Hash

Hash with a given index

Implementors§