Type Alias StateHash

Source
pub type StateHash = Base58CheckOfBinProt<DataHashLibStateHashStableV1, Versioned<DataHashLibStateHashStableV1, 1>, { crate::b58version::STATE_HASH }>;

Aliased Type§

pub struct StateHash(DataHashLibStateHashStableV1, PhantomData<Versioned<DataHashLibStateHashStableV1, 1>>);

Tuple Fields§

§0: DataHashLibStateHashStableV1§1: PhantomData<Versioned<DataHashLibStateHashStableV1, 1>>

Implementations§

Source§

impl StateHash

Source

pub fn from_fp(fp: Fp) -> Self

Source

pub fn try_from_hashes( pred_state_hash: &StateHash, body_hash: &MinaBaseStateBodyHashStableV1, ) -> Result<Self, InvalidBigInt>

Source§

impl StateHash

Source

pub fn zero() -> Self