Queued level db writes and batch writes. Closes #647

This commit is contained in:
obscuren
2015-04-07 22:19:01 +02:00
parent 758205b187
commit 7f32a08b60
3 changed files with 97 additions and 49 deletions

View File

@ -4,9 +4,7 @@ package common
type Database interface {
Put(key []byte, value []byte)
Get(key []byte) ([]byte, error)
//GetKeys() []*Key
Delete(key []byte) error
LastKnownTD() []byte
Close()
Print()
}