aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/db.go
blob: e02a80fca7e493bb07d1575cb8c14eae8c006b99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package ethutil

// 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()
}