Type Alias darkfi_sdk::crypto::smt::PathFp

source ·
pub type PathFp = Path<SMT_FP_DEPTH, Base, PoseidonFp>;

Aliased Type§

struct PathFp {
    pub path: [Fp; 255],
    hasher: Poseidon<Fp, 2>,
}

Fields§

§path: [Fp; 255]

Path from leaf to root. It is a list of sibling nodes. It does not contain the root node. Similar to other conventions here, the list starts higher in the tree and goes down. So when iterating we start from the end.

§hasher: Poseidon<Fp, 2>