Trees
The definition of trees used in Unirep
User state tree
user state tree root
/ \
hash(DEFAULT_REP_HASH, 0xabc...) hash(0xbcd..., 0xcde...)
/ \ / \
[No rep for leaf 0] [leaf 1: 0xabc...] [leaf 2: 0xbcd...] [leaf 3: 0xcde...]Global state tree
global state tree root
/ \
hash(0xabc..., 0xcde...) hash(0xdef..., DEFAULT_EMPTY_HASH)
/ \ / \
[leaf_0: 0xabc...] [leaf_1: 0xcde...] [leaf_2: 0xdef...] [DEFAULT_EMPTY_HASH]Epoch tree
Nullifier tree
Last updated