From b5234413611ce5984292f85a01de1f56c045b490 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 16 Mar 2015 11:27:38 +0100 Subject: Moved ethutil => common --- common/db.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 common/db.go (limited to 'common/db.go') diff --git a/common/db.go b/common/db.go new file mode 100644 index 000000000..6505e61c6 --- /dev/null +++ b/common/db.go @@ -0,0 +1,12 @@ +package common + +// 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() +} -- cgit v1.2.3