core/rawdb: add file lock for freezer
This commit is contained in:
committed by
Péter Szilágyi
parent
b69bdc2a4f
commit
b6cac42e9f
@ -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 {
|
||||
|
Reference in New Issue
Block a user