mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
StateDB group Fee txs and ZKInputs gen of Fee txs
This commit is contained in:
@@ -78,7 +78,11 @@ type StateDB struct {
|
||||
// idx holds the current Idx that the BatchBuilder is using
|
||||
idx common.Idx
|
||||
zki *common.ZKInputs
|
||||
i int // i is the current transaction index in the ZKInputs generation (zki)
|
||||
// i is the current transaction index in the ZKInputs generation (zki)
|
||||
i int
|
||||
// accumulatedFees contains the accumulated fees for each token (Coord
|
||||
// Idx) in the processed batch
|
||||
accumulatedFees map[common.Idx]*big.Int
|
||||
}
|
||||
|
||||
// NewStateDB creates a new StateDB, allowing to use an in-memory or in-disk
|
||||
|
||||
Reference in New Issue
Block a user