diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-12-13 18:15:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 18:15:03 +0800 |
commit | 155e31175aeaa3685c57383e386c6e62c46318ef (patch) | |
tree | 58333399ca2e08bc856e3c23ecca7eefe3c5db5e /core/consensus_test.go | |
parent | 0ead4a7c012af9ddaa4a934729e216539d2caeb1 (diff) | |
download | tangerine-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.tar.gz tangerine-consensus-155e31175aeaa3685c57383e386c6e62c46318ef.tar.zst tangerine-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.go | 1 |
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)) } } |