scalus.crypto.tree.MerkleTree
See theMerkleTree companion object
class MerkleTree
Off-chain static Merkle tree.
Built once from a known set of elements. Supports membership proofs but no insert/delete/append. Uses a heap-indexed array of hashes: index 1 = root, 2i/2i+1 = children of node i.
Leaf hashing: blake2b_256(element). Empty leaf: blake2b_256(ByteString.empty).
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article