Moved ethutil => common

This commit is contained in:
obscuren
2015-03-16 11:27:38 +01:00
parent 0b8f66ed9e
commit b523441361
116 changed files with 610 additions and 604 deletions

12
common/db.go Normal file
View 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()
}