good morning!!!!

Skip to content
Snippets Groups Projects
Commit 52ede09b authored by Felix Lange's avatar Felix Lange
Browse files

ethdb: add accessor for database directory

parent f5c432bc
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,11 @@ func NewLDBDatabase(file string, cache int, handles int) (*LDBDatabase, error) {
}, nil
}
// Path returns the path to the database directory.
func (db *LDBDatabase) Path() string {
return db.fn
}
// Put puts the given key / value to the queue
func (self *LDBDatabase) Put(key []byte, value []byte) error {
// Measure the database put latency, if requested
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment