core, ethdb: reuse database batches (#15989)
* leveldb: Update leveldb to 211f780 (poolfix) * core, ethdb: reuse database batches
This commit is contained in:
committed by
Péter Szilágyi
parent
6198c53e28
commit
017b9f7eac
@ -41,4 +41,6 @@ type Batch interface {
|
||||
Putter
|
||||
ValueSize() int // amount of data in the batch
|
||||
Write() error
|
||||
// Reset resets the batch for reuse
|
||||
Reset()
|
||||
}
|
||||
|
Reference in New Issue
Block a user