Type Alias LedgerHash

Source
pub type LedgerHash = Base58CheckOfBinProt<MinaBaseLedgerHash0StableV1, Versioned<MinaBaseLedgerHash0StableV1, 1>, { crate::b58version::LEDGER_HASH }>;

Aliased Type§

pub struct LedgerHash(MinaBaseLedgerHash0StableV1, PhantomData<Versioned<MinaBaseLedgerHash0StableV1, 1>>);

Tuple Fields§

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

Implementations§

Source§

impl LedgerHash

Source

pub fn from_fp(fp: Fp) -> Self

Source

pub fn zero() -> Self

Trait Implementations§

Source§

impl AsRef<BigInteger256> for LedgerHash

Source§

fn as_ref(&self) -> &BigInteger256

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl From<&Fp256<FpParameters>> for LedgerHash

Source§

fn from(value: &Fp) -> Self

Converts to this type from the input type.
Source§

impl From<Fp256<FpParameters>> for LedgerHash

Source§

fn from(value: Fp) -> Self

Converts to this type from the input type.