mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
216 B
13 lines
216 B
10 years ago
|
package common
|
||
11 years ago
|
|
||
|
// Database interface
|
||
|
type Database interface {
|
||
|
Put(key []byte, value []byte)
|
||
|
Get(key []byte) ([]byte, error)
|
||
11 years ago
|
//GetKeys() []*Key
|
||
11 years ago
|
Delete(key []byte) error
|
||
11 years ago
|
LastKnownTD() []byte
|
||
|
Close()
|
||
|
Print()
|
||
|
}
|