Moved leveldb update loop to eth/backend

change order of block insert and update LastBlock

bugfix, wrong hash stored in blockDb
This commit is contained in:
Bas van Kervel
2015-04-22 12:46:41 +02:00
parent 94f2adb80a
commit c273ed7d82
5 changed files with 62 additions and 48 deletions

View File

@ -7,4 +7,5 @@ type Database interface {
Delete(key []byte) error
LastKnownTD() []byte
Close()
Flush() error
}