aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/database.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethdb/database.go')
-rw-r--r--ethdb/database.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/ethdb/database.go b/ethdb/database.go
index 764e304e3..01483f3d4 100644
--- a/ethdb/database.go
+++ b/ethdb/database.go
@@ -80,6 +80,13 @@ type AncientReader interface {
Ancienter
}
+// AncientStore contains all the methods required to allow handling different
+// ancient data stores backing immutable chain data store.
+type AncientStore interface {
+ Ancienter
+ io.Closer
+}
+
// Database contains all the methods required by the high level database to not
// only access the key-value data store but also the chain freezer.
type Database interface {