Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package common
|
|
|
|
// Database interface
|
|
type Database interface {
|
|
Put(key []byte, value []byte)
|
|
Get(key []byte) ([]byte, error)
|
|
Delete(key []byte) error
|
|
LastKnownTD() []byte
|
|
Close()
|
|
Flush() error
|
|
}
|
|
|