From 8a908e98279d7e80978cd412057eddd4a6bbf06c Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Mon, 17 Sep 2018 17:45:49 +0800 Subject: core: move blockdb into core package and minor change on governance interface (#110) Since third party apps will possibly implement their only blockdb class, it make sense for the interface to be in core. Also add GetNumShards into the governance interface. --- core/compaction-chain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/compaction-chain.go') diff --git a/core/compaction-chain.go b/core/compaction-chain.go index 243bda0..9ac52b0 100644 --- a/core/compaction-chain.go +++ b/core/compaction-chain.go @@ -24,8 +24,8 @@ import ( "sync" "time" - "github.com/dexon-foundation/dexon-consensus-core/blockdb" "github.com/dexon-foundation/dexon-consensus-core/common" + "github.com/dexon-foundation/dexon-consensus-core/core/blockdb" "github.com/dexon-foundation/dexon-consensus-core/core/types" "github.com/dexon-foundation/dexon-consensus-core/crypto" ) -- cgit v1.2.3