Module tallytree::node [−][src]
Expand description
Node in a merkle tally tree.
Structs
Tally tree node.
Functions
Check if node is a leaf node. Leaf nodes contain the original vote reference.
Checks if node is a ‘Ø-node’. A ‘Ø-node’ are dummy nodes used to balance the tree, so that all votes are at the same height in the tree.
Checks if node is a ‘Ø-node’. A ‘Ø-node’ are dummy nodes used to balance the tree, so that all votes are at the same height in the tree.
If this is a leaf wrapper
. It’s a node above a leaf node, that only
points to said node.
Initialize a ‘Ø-node’
Type Definitions
A reference to a node in the merkle tally tree.