diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-10-15 17:38:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-15 17:38:21 +0800 |
commit | ef9265d0d7abf6614c1d2fb977989ab0d400a590 (patch) | |
tree | 703c2b72c0c86a8f6144acd6449a633fb2b1d3a2 /ethdb | |
parent | 5a6008e004a6611d7a478495d083eaf26e52c5f1 (diff) | |
parent | ac0c5dd77f60d91b8cefef307dbda0e6b0e877be (diff) | |
download | go-tangerine-ef9265d0d7abf6614c1d2fb977989ab0d400a590.tar go-tangerine-ef9265d0d7abf6614c1d2fb977989ab0d400a590.tar.gz go-tangerine-ef9265d0d7abf6614c1d2fb977989ab0d400a590.tar.bz2 go-tangerine-ef9265d0d7abf6614c1d2fb977989ab0d400a590.tar.lz go-tangerine-ef9265d0d7abf6614c1d2fb977989ab0d400a590.tar.xz go-tangerine-ef9265d0d7abf6614c1d2fb977989ab0d400a590.tar.zst go-tangerine-ef9265d0d7abf6614c1d2fb977989ab0d400a590.zip |
Merge pull request #3140 from karalabe/release/1.4
Geth 1.4.18: Note 7
Diffstat (limited to 'ethdb')
-rw-r--r-- | ethdb/database.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ethdb/database.go b/ethdb/database.go index 69b8cd9c9..aaf8ee267 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -102,6 +102,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 |