Module ic_types::hash_tree[][src]

Expand description

Hash Tree types and traits. cf https://sdk.dfinity.org/docs/interface-spec/index.html#certification-encoding

Structs

HashTree

A HashTree representing a full tree.

Label

Enums

LookupResult

A result of looking up for a certificate.

Functions

empty

Create an empty hash tree.

fork

Create a forked tree from two trees or node.

label

Create a labeled hash tree.

leaf

Create a leaf in the tree.

pruned

Create a pruned tree node.

pruned_from_hex

Create a pruned tree node, from a hex representation of the data. Useful for testing or hard coded values.