aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-09-17 17:45:49 +0800
committerGitHub <noreply@github.com>2018-09-17 17:45:49 +0800
commit8a908e98279d7e80978cd412057eddd4a6bbf06c (patch)
tree4e28f76fd95814978210c6f38ec4a09988e76957 /integration_test
parentcbf0012603deb6d2b8c257c079de98792f7b84cf (diff)
downloadtangerine-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.go2
-rw-r--r--integration_test/utils.go2
-rw-r--r--integration_test/validator.go2
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"