Description
Currently, the batch processor gathers all dirty nodes and process them for crypto-commitments and hashing.
However, persisting in the DB is done separately, meaning we need to climb the tree up again.
It would be more efficient to commit to the DB while processing batches.
Description
Currently, the batch processor gathers all dirty nodes and process them for crypto-commitments and hashing.
However, persisting in the DB is done separately, meaning we need to climb the tree up again.
It would be more efficient to commit to the DB while processing batches.