Add StateTree leafs & ExtTree data ZKI calculation

This commit is contained in:
arnaucube
2020-09-09 19:21:09 +02:00
parent aa0bde61d2
commit 69fe471f11
7 changed files with 316 additions and 103 deletions

View File

@@ -44,7 +44,7 @@ type StateDB struct {
// idx holds the current Idx that the BatchBuilder is using
idx common.Idx
zki *common.ZKInputs
i int // i is used for zki
i int // i is the current transaction index in the ZKInputs generation (zki)
}
// NewStateDB creates a new StateDB, allowing to use an in-memory or in-disk