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





                                       
                        
                                



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