diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-09-17 17:45:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 17:45:49 +0800 |
commit | 8a908e98279d7e80978cd412057eddd4a6bbf06c (patch) | |
tree | 4e28f76fd95814978210c6f38ec4a09988e76957 /core/compaction-chain.go | |
parent | cbf0012603deb6d2b8c257c079de98792f7b84cf (diff) | |
download | tangerine-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.gz tangerine-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.zst tangerine-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.zip |
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.
Diffstat (limited to 'core/compaction-chain.go')
-rw-r--r-- | core/compaction-chain.go | 2 |
1 files changed, 1 insertions, 1 deletions
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" ) |