Skip to main content

Module commitment_tree

Module commitment_tree 

Source
Expand description

BN254 Poseidon note-commitment tree (halo2-free).

Extracted from orchard-commitment-tree, with the Poseidon hashing re-sourced to privacy-core::commitment_tree::poseidon (via halo2_poseidon + halo2curves). The Pallas-typed legacy stubs (to_orchard_path, root) were dropped — clients use the siblings (LE hex) directly.

Modules§

frozen
Frozen-set (compliance blacklist) Indexed Merkle Tree over BN254 Fr.
poseidon
Poseidon-based Merkle hashing on the BN254 scalar field (Fr).

Structs§

OrchardCommitmentTree
BN254 Poseidon note commitment tree.
OrchardMerklePath
A Merkle authentication path for a BN254 note commitment.