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

// Database interface
type Database interface {
    Put(key []byte, value []byte)
    Get(key []byte) ([]byte, error)
    Delete(key []byte) error
    LastKnownTD() []byte
    Close()
    Print()
}