aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@gmail.com>2015-04-22 18:46:41 +0800
committerBas van Kervel <basvankervel@gmail.com>2015-04-23 23:58:58 +0800
commitc273ed7d82f3d5beab7c213fbe1f5c0942adf0bd (patch)
tree623972174faa894c499a7ad808668cb64e17cbcd /common
parent94f2adb80a54c9bddacf146138d8e218a95629c9 (diff)
downloadgo-tangerine-c273ed7d82f3d5beab7c213fbe1f5c0942adf0bd.tar
go-tangerine-c273ed7d82f3d5beab7c213fbe1f5c0942adf0bd.tar.gz
go-tangerine-c273ed7d82f3d5beab7c213fbe1f5c0942adf0bd.tar.bz2
go-tangerine-c273ed7d82f3d5beab7c213fbe1f5c0942adf0bd.tar.lz
go-tangerine-c273ed7d82f3d5beab7c213fbe1f5c0942adf0bd.tar.xz
go-tangerine-c273ed7d82f3d5beab7c213fbe1f5c0942adf0bd.tar.zst
go-tangerine-c273ed7d82f3d5beab7c213fbe1f5c0942adf0bd.zip
Moved leveldb update loop to eth/backend
change order of block insert and update LastBlock bugfix, wrong hash stored in blockDb
Diffstat (limited to 'common')
-rw-r--r--common/db.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/db.go b/common/db.go
index 408b1e755..ae13c7557 100644
--- a/common/db.go
+++ b/common/db.go
@@ -7,4 +7,5 @@ type Database interface {
Delete(key []byte) error
LastKnownTD() []byte
Close()
+ Flush() error
}