core/rawdb: add file lock for freezer

This commit is contained in:
rjl493456442
2019-05-16 10:39:31 +03:00
committed by Péter Szilágyi
parent b69bdc2a4f
commit b6cac42e9f
3 changed files with 43 additions and 5 deletions
+7
View File
@@ -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 {