Expand description
BLAKE3-native plumbing for [jf_merkle_tree::MerkleTree].
jf_merkle_tree::hasher::GenericHasherMerkleTree<H, ...> requires
H: digest::Digest (the RustCrypto trait). The BLAKE3 crate only
implements that trait via its traits-preview feature, which is pinned
to a specific digest crate version — it lags behind blake3’s release
cadence and forces the rest of the workspace onto an old blake3 line.
These helpers let us drive MerkleTree directly with blake3’s native
API.
Structs§
- Blake3
Digest Algorithm DigestAlgorithmforBlake3Nodeusingblake3’s native API.- Blake3
Node - 32-byte BLAKE3 hash, suitable as a
jf_merkle_treeNodeValue. - Hasher
Writer 🔒 ark_std::io::Writeadapter that forwards writes into ablake3::Hasher.
Constants§
- INTERNAL_
HASH_ 🔒DOM_ SEP - LEAF_
HASH_ 🔒DOM_ SEP - Domain separators copied from
jf_merkle_tree::prelude(which keeps thempub(crate)).