Commit Graph

4 Commits

Author SHA1 Message Date
arnaucube
03bb9f7447 AddBatch use Virtual Tree for empty trees/subtrees
- AddBatch use Virtual Tree for cases A,B,C
- ImportDump use AddBatch instead of adding one by one
- Reorg & add more virtual tree tests
2021-05-18 10:57:06 +02:00
arnaucube
66f6ae14bb Add computeHashes at virtual tree 2021-05-17 22:16:08 +02:00
arnaucube
e13b09215e Add virtual tree graphviz printing methods 2021-05-17 21:33:12 +02:00
arnaucube
8a8ec8c49e Implement Virtual Tree construction
VirtualTree (vt) computes a tree without computing any hash. With the
idea of once all the leafs are placed in their positions, the hashes can
be computed, avoiding computing a node hash more than one time.
2021-05-17 19:32:15 +02:00