scalus.crypto.tree.SubtreeHashCache
See theSubtreeHashCache companion object
trait SubtreeHashCache
Cache for intermediate subtree hashes, used by FrontierMerkleTree.proveMembership.
Reuse a single cache across multiple proveMembership calls: the first call is O(N) (computes all subtree hashes), subsequent calls are O(D) (cache hits for shared subtrees).
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article