HistoricalTree
HistoricalTree
is an incremental merkle tree keeping track of its historical merkle roots.
roots[N]
is the root of the tree afterN
leafs were insertedroots[0] == bytes32(0)
struct HistoricalTree {
BaseTree tree;
bytes32[] roots;
}