Bargad v1.0.1 Bargad.Types View Source

Link to this section Summary

Link to this section Types

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