aboutsummaryrefslogblamecommitdiffstats
path: root/ethutil/db.go
blob: 3681c4b0582b378f4cf7301e3ea06b97ae951a05 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                       
package ethutil

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