Module node

Source
Expand description

Node implementation and utils

Constants§

EMPTY
An empty node is a 32 byte array of zeroes

Functions§

empty_node
Calculates the hash of empty nodes up to level i
empty_node_cached
Calculates and caches the hash of empty nodes up to level i

Type Aliases§

Node
Abstract type for 32 byte leaf data