View Source DiodeClient.MerkleTree (Diode Client v1.0.0)
Link to this section Summary
Link to this section Types
Specs
hash_type() :: <<_::256>>
Specs
item() :: {key_type(), value_type()}
Specs
Specs
Specs
proof_type() :: {proof_type(), proof_type()} | [any()]
Specs
value_type() :: term()
Link to this section Functions
Specs
bucket_count(merkle()) :: pos_integer()
Specs
Specs
get(merkle(), key_type()) :: value_type()
Specs
get_proofs(merkle(), key_type()) :: proof_type()
Specs
insert(merkle(), key_type(), value_type()) :: merkle()
Specs
Specs
Specs
Specs
Specs
Specs
size(merkle()) :: non_neg_integer()