aboutsummaryrefslogtreecommitdiffstats
path: root/core/consensus_test.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-12-13 18:15:03 +0800
committerGitHub <noreply@github.com>2018-12-13 18:15:03 +0800
commit155e31175aeaa3685c57383e386c6e62c46318ef (patch)
tree58333399ca2e08bc856e3c23ecca7eefe3c5db5e /core/consensus_test.go
parent0ead4a7c012af9ddaa4a934729e216539d2caeb1 (diff)
downloaddexon-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.tar
dexon-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.tar.gz
dexon-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.tar.bz2
dexon-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.tar.lz
dexon-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.tar.xz
dexon-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.tar.zst
dexon-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.zip
db: cache compaction chain tip in db (#369)
* Replace JSON with RLP in levelDB implementation. * Make sure blocks to sync following compaction chain tip
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r--core/consensus_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go
index 16efae0..84df645 100644
--- a/core/consensus_test.go
+++ b/core/consensus_test.go
@@ -451,6 +451,7 @@ func (s *ConsensusTestSuite) TestSimpleDeliverBlock() {
nb.wait()
}
verify(obj.app)
+ req.NoError(test.VerifyDB(obj.con.db))
}
}