Realm

oa::crypto::merkle::proofs

Produce version-two inclusion frames for U32 [batch] leaf indices. Frames carry the original count, index, hash identity and validity flag. Out-of-range indices produce invalid, completely zero sibling paths. Errors Rejects dtype, rank, ownership, address limits, allocation or recording failures.

FnRust public API

Function Documentation

pub fn proofs( tree: &DeviceMerkleTree, indices: &Matrix ) -> Result<Matrix>
Produce version-two inclusion frames for U32 [batch] leaf indices. Frames carry the original count, index, hash identity and validity flag. Out-of-range indices produce invalid, completely zero sibling paths. Errors Rejects dtype, rank, ownership, address limits, allocation or recording failures.