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 /integration_test | |
parent | cbf0012603deb6d2b8c257c079de98792f7b84cf (diff) | |
download | tangerine-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar tangerine-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.gz tangerine-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.bz2 tangerine-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.lz tangerine-consensus-8a908e98279d7e80978cd412057eddd4a6bbf06c.tar.xz 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 'integration_test')
-rw-r--r-- | integration_test/non-byzantine_test.go | 2 | ||||
-rw-r--r-- | integration_test/utils.go | 2 | ||||
-rw-r--r-- | integration_test/validator.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/integration_test/non-byzantine_test.go b/integration_test/non-byzantine_test.go index afda9b4..a5ecff6 100644 --- a/integration_test/non-byzantine_test.go +++ b/integration_test/non-byzantine_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - "github.com/dexon-foundation/dexon-consensus-core/blockdb" + "github.com/dexon-foundation/dexon-consensus-core/core/blockdb" "github.com/dexon-foundation/dexon-consensus-core/core/test" "github.com/dexon-foundation/dexon-consensus-core/core/types" "github.com/stretchr/testify/suite" diff --git a/integration_test/utils.go b/integration_test/utils.go index 7371223..de7e6ab 100644 --- a/integration_test/utils.go +++ b/integration_test/utils.go @@ -1,7 +1,7 @@ package integration import ( - "github.com/dexon-foundation/dexon-consensus-core/blockdb" + "github.com/dexon-foundation/dexon-consensus-core/core/blockdb" "github.com/dexon-foundation/dexon-consensus-core/core/test" "github.com/dexon-foundation/dexon-consensus-core/core/types" "github.com/dexon-foundation/dexon-consensus-core/crypto" diff --git a/integration_test/validator.go b/integration_test/validator.go index 5909b46..a110ab0 100644 --- a/integration_test/validator.go +++ b/integration_test/validator.go @@ -22,9 +22,9 @@ import ( "sort" "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" + "github.com/dexon-foundation/dexon-consensus-core/core/blockdb" "github.com/dexon-foundation/dexon-consensus-core/core/test" "github.com/dexon-foundation/dexon-consensus-core/core/types" "github.com/dexon-foundation/dexon-consensus-core/crypto" |