aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethdb/interface.go')
-rw-r--r--ethdb/interface.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethdb/interface.go b/ethdb/interface.go
index 99a5b770d..537312003 100644
--- a/ethdb/interface.go
+++ b/ethdb/interface.go
@@ -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()
}