CommitmentTree.Spec (Anoma v0.25.0)

A specification for a commitment tree.

Summary

Types

@type t() :: %CommitmentTree.Spec{
  depth: integer(),
  hash: function(),
  key_size: integer(),
  key_zero: binary(),
  splay: integer(),
  splay_suff_prod: [integer()]
}

Functions

Link to this function

cairo_poseidon_cm_tree_spec()

@spec cairo_poseidon_cm_tree_spec() :: t()
@spec cm_tree_spec() :: t()
Link to this function

new(depth, splay, key_size, hash)