Moved ethutil => common
This commit is contained in:
12
common/db.go
Normal file
12
common/db.go
Normal file
@ -0,0 +1,12 @@
|
||||
package common
|
||||
|
||||
// Database interface
|
||||
type Database interface {
|
||||
Put(key []byte, value []byte)
|
||||
Get(key []byte) ([]byte, error)
|
||||
//GetKeys() []*Key
|
||||
Delete(key []byte) error
|
||||
LastKnownTD() []byte
|
||||
Close()
|
||||
Print()
|
||||
}
|
Reference in New Issue
Block a user