csmt v1.0.0 CSMT.Types

Link to this section Summary

Link to this section Types

Link to this type audit_proof()
audit_proof() :: term()
Link to this type backend()
backend() :: [{binary(), binary()}, ...]
Link to this type children()
children() :: [binary()] | []
Link to this type direction()
direction() :: binary()
Link to this type hash()
hash() :: binary()
Link to this type hash_algorithm()
hash_algorithm() :: :md5 | :sha | :sha224 | :sha256 | :sha384 | :sha512
Link to this type size()
size() :: pos_integer()
Link to this type tree()
tree() :: %CSMT.Trees.Tree{
  backend: backend(),
  hashFunction: hash_algorithm(),
  root: hash(),
  size: size(),
  treeId: tree_id(),
  treeName: tree_name()
}
Link to this type tree_id()
tree_id() :: binary()
Link to this type tree_name()
tree_name() :: binary()
Link to this type tree_node()
tree_node() :: %CSMT.Nodes.Node{
  children: children(),
  hash: hash(),
  key: term(),
  metadata: binary(),
  size: size(),
  treeId: tree_id()
}
Link to this type values()
values() :: [binary(), ...]