arnaucube
0cf1ed217b
Abstract TxProcessor from StateDB
- Abstract TxProcessor from StateDB
- Upgrade to last version of go-merkletree for the key-value DB usage
3 years ago
Eduard S
2205fcadbc
Delete old checkpoints in stateDB automatically
Introduce a constructor parameter for the StateDB called `keep`, which tells
how many checkpoints to keep. When doing a new checkpoint, if the number of
existing checkpoints exeeds `keep`, the oldest ones will be deleted.
3 years ago
arnaucube
150597c282
Parametrize ChainID
3 years ago
Eduard S
88ddbbcddc
Delete tmp folders from tests, Resolve #105
4 years ago
arnaucube
3374a4754d
Add StateDB compute nonces on ProcessTx L2Tx
Add StateDB compute nonces on ProcessTx L2Tx, and update StateDB for
type TypeSynchronizer, TypeTxSelector, TypeBatchBuilder
4 years ago
arnaucube
26dbb16618
Add Coordinator goroutines & channels processes
Add Coordinator goroutines & channels processes
- Add Coordinator goroutines & channels
- Add Coordinator test to debug batches
- Add MakeCheckpoint call after BatchBuilder BuildBatch process
- Update ethClient BlockByNumber to return hermez/common.Block instead of go-ethereum/core/types.Block
4 years ago
arnaucube
aa003063f6
Update BatchBuilder & TxSelector to new StateDB
4 years ago
arnaucube
60fa76b4d2
Integrate TxSelector with StateDB
4 years ago
arnaucube
350bac631e
Integrate BatchBuilder with StateDB
4 years ago
arnaucube
bcd9f96e1b
Add batchbuilder applyCreateLeaf, applyDeposit, applyTransfer
4 years ago
arnaucube
f3cfba1bbe
Add initial structure of BatchBuilder
4 years ago