diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-01-06 21:42:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 21:42:03 +0800 |
commit | 8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184 (patch) | |
tree | 92a336065bddcd620798e8f552432e3ed62ee14a /trie/trie.go | |
parent | e0ee0cc66a4416edd47232649f4d4bca4a5e3c07 (diff) | |
parent | d3b751e4d94f95f6cc89544852f2d5811e075665 (diff) | |
download | go-tangerine-8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184.tar go-tangerine-8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184.tar.gz go-tangerine-8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184.tar.bz2 go-tangerine-8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184.tar.lz go-tangerine-8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184.tar.xz go-tangerine-8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184.tar.zst go-tangerine-8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184.zip |
Merge pull request #3518 from fjl/ethclient-dependency-cleanup
core/types: dependency cleanup
Diffstat (limited to 'trie/trie.go')
-rw-r--r-- | trie/trie.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/trie/trie.go b/trie/trie.go index 035a80e74..cd9e20cac 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -60,8 +60,12 @@ func init() { // Database must be implemented by backing stores for the trie. type Database interface { + DatabaseReader DatabaseWriter - // Get returns the value for key from the database. +} + +// DatabaseReader wraps the Get method of a backing store for the trie. +type DatabaseReader interface { Get(key []byte) (value []byte, err error) } |