aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWei-Ning Huang <w@byzantine-lab.io>2019-06-11 00:05:10 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-23 15:59:05 +0800
commit49122d18b028b3d8b9f409314835ecc780adc608 (patch)
treeb67238739d58c7edcbc20a3caa2dbbf0806695e9 /core
parent42d585f1e5c9420f15b1d7333e7874a04345cc36 (diff)
downloadtangerine-consensus-49122d18b028b3d8b9f409314835ecc780adc608.tar.gz
tangerine-consensus-49122d18b028b3d8b9f409314835ecc780adc608.tar.zst
tangerine-consensus-49122d18b028b3d8b9f409314835ecc780adc608.zip
Update import path
Diffstat (limited to 'core')
-rw-r--r--core/agreement-mgr.go8
-rw-r--r--core/agreement-state.go2
-rw-r--r--core/agreement-state_test.go8
-rw-r--r--core/agreement.go6
-rw-r--r--core/agreement_test.go8
-rw-r--r--core/blockchain.go8
-rw-r--r--core/blockchain_test.go10
-rw-r--r--core/configuration-chain.go12
-rw-r--r--core/configuration-chain_test.go18
-rw-r--r--core/consensus.go14
-rw-r--r--core/consensus_test.go14
-rw-r--r--core/constant.go2
-rw-r--r--core/crypto/dkg/constant.go2
-rw-r--r--core/crypto/dkg/dkg.go8
-rw-r--r--core/crypto/dkg/dkg_test.go8
-rw-r--r--core/crypto/dkg/utils.go4
-rw-r--r--core/crypto/ecdsa/ecdsa.go6
-rw-r--r--core/crypto/ecdsa/ecdsa_test.go4
-rw-r--r--core/crypto/interfaces.go2
-rw-r--r--core/crypto/utils.go4
-rw-r--r--core/db/interfaces.go6
-rw-r--r--core/db/level-db.go8
-rw-r--r--core/db/level-db_test.go8
-rw-r--r--core/db/memory.go6
-rw-r--r--core/db/memory_test.go6
-rw-r--r--core/dkg-tsig-protocol.go14
-rw-r--r--core/dkg-tsig-protocol_test.go16
-rw-r--r--core/interfaces.go8
-rw-r--r--core/leader-selector.go6
-rw-r--r--core/leader-selector_test.go8
-rw-r--r--core/nonblocking.go4
-rw-r--r--core/nonblocking_test.go4
-rw-r--r--core/syncer/agreement.go10
-rw-r--r--core/syncer/consensus.go12
-rw-r--r--core/syncer/watch-cat.go8
-rw-r--r--core/syncer/watch-cat_test.go4
-rw-r--r--core/test/app.go6
-rw-r--r--core/test/app_test.go14
-rw-r--r--core/test/block-revealer.go6
-rw-r--r--core/test/block-revealer_test.go6
-rw-r--r--core/test/fake-transport.go4
-rw-r--r--core/test/governance.go10
-rw-r--r--core/test/governance_test.go12
-rw-r--r--core/test/interface.go6
-rw-r--r--core/test/marshaller.go4
-rw-r--r--core/test/network.go10
-rw-r--r--core/test/network_test.go10
-rw-r--r--core/test/state-change-request.go10
-rw-r--r--core/test/state-change-request_test.go2
-rw-r--r--core/test/state.go12
-rw-r--r--core/test/state_test.go14
-rw-r--r--core/test/tcp-transport.go10
-rw-r--r--core/test/transport_test.go4
-rw-r--r--core/test/utils.go14
-rw-r--r--core/ticker.go2
-rw-r--r--core/types/block-randomness.go2
-rw-r--r--core/types/block.go6
-rw-r--r--core/types/block_test.go6
-rw-r--r--core/types/dkg/dkg.go10
-rw-r--r--core/types/dkg/dkg_test.go10
-rw-r--r--core/types/node.go4
-rw-r--r--core/types/nodeset.go4
-rw-r--r--core/types/nodeset_test.go2
-rw-r--r--core/types/vote.go6
-rw-r--r--core/utils.go8
-rw-r--r--core/utils/crypto.go8
-rw-r--r--core/utils/crypto_test.go12
-rw-r--r--core/utils/nodeset-cache.go6
-rw-r--r--core/utils/nodeset-cache_test.go8
-rw-r--r--core/utils/penalty-helper.go4
-rw-r--r--core/utils/penalty-helper_test.go12
-rw-r--r--core/utils/round-based-config.go2
-rw-r--r--core/utils/round-based-config_test.go2
-rw-r--r--core/utils/round-event.go6
-rw-r--r--core/utils/signer.go8
-rw-r--r--core/utils/signer_test.go6
-rw-r--r--core/utils/utils.go6
-rw-r--r--core/utils/utils_test.go10
-rw-r--r--core/utils/vote-filter.go2
-rw-r--r--core/utils/vote-filter_test.go4
-rw-r--r--core/utils_test.go8
81 files changed, 297 insertions, 297 deletions
diff --git a/core/agreement-mgr.go b/core/agreement-mgr.go
index 17def67..b57e4ee 100644
--- a/core/agreement-mgr.go
+++ b/core/agreement-mgr.go
@@ -26,10 +26,10 @@ import (
lru "github.com/hashicorp/golang-lru"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// Errors returned from BA modules
diff --git a/core/agreement-state.go b/core/agreement-state.go
index 0d1ae58..3fd2bac 100644
--- a/core/agreement-state.go
+++ b/core/agreement-state.go
@@ -20,7 +20,7 @@ package core
import (
"fmt"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
// Errors for agreement state module.
diff --git a/core/agreement-state_test.go b/core/agreement-state_test.go
index 32ce8ac..d21213d 100644
--- a/core/agreement-state_test.go
+++ b/core/agreement-state_test.go
@@ -22,10 +22,10 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
type AgreementStateTestSuite struct {
diff --git a/core/agreement.go b/core/agreement.go
index d90afc6..287b6d6 100644
--- a/core/agreement.go
+++ b/core/agreement.go
@@ -24,9 +24,9 @@ import (
"sync/atomic"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// closedchan is a reusable closed channel.
diff --git a/core/agreement_test.go b/core/agreement_test.go
index 9332762..f0df78a 100644
--- a/core/agreement_test.go
+++ b/core/agreement_test.go
@@ -21,10 +21,10 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
"github.com/stretchr/testify/suite"
)
diff --git a/core/blockchain.go b/core/blockchain.go
index 4fae221..c6f69f2 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -26,10 +26,10 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// Errors for sanity check error.
diff --git a/core/blockchain_test.go b/core/blockchain_test.go
index c3d2cb7..6745be3 100644
--- a/core/blockchain_test.go
+++ b/core/blockchain_test.go
@@ -23,11 +23,11 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/test"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/test"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
"github.com/stretchr/testify/suite"
)
diff --git a/core/configuration-chain.go b/core/configuration-chain.go
index 3b4cdbb..c545ced 100644
--- a/core/configuration-chain.go
+++ b/core/configuration-chain.go
@@ -23,12 +23,12 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// Errors for configuration chain..
diff --git a/core/configuration-chain_test.go b/core/configuration-chain_test.go
index f8a923a..96f8f63 100644
--- a/core/configuration-chain_test.go
+++ b/core/configuration-chain_test.go
@@ -27,15 +27,15 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/test"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/test"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
type ConfigurationChainTestSuite struct {
diff --git a/core/consensus.go b/core/consensus.go
index fd84564..ed6c182 100644
--- a/core/consensus.go
+++ b/core/consensus.go
@@ -24,13 +24,13 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- cryptoDKG "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ cryptoDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// Errors for consensus core.
diff --git a/core/consensus_test.go b/core/consensus_test.go
index fb164ad..aebb47b 100644
--- a/core/consensus_test.go
+++ b/core/consensus_test.go
@@ -26,13 +26,13 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/test"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/test"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// network implements core.Network.
diff --git a/core/constant.go b/core/constant.go
index 29dae8b..0d23d00 100644
--- a/core/constant.go
+++ b/core/constant.go
@@ -17,7 +17,7 @@
package core
-import "github.com/dexon-foundation/dexon-consensus/core/utils"
+import "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
// ConfigRoundShift refers to the difference between block's round and config
// round derived from its state.
diff --git a/core/crypto/dkg/constant.go b/core/crypto/dkg/constant.go
index 37d873d..3f6627b 100644
--- a/core/crypto/dkg/constant.go
+++ b/core/crypto/dkg/constant.go
@@ -18,7 +18,7 @@
package dkg
import (
- "github.com/dexon-foundation/bls/ffi/go/bls"
+ "github.com/byzantine-lab/bls/ffi/go/bls"
)
const (
diff --git a/core/crypto/dkg/dkg.go b/core/crypto/dkg/dkg.go
index ab43f51..7e5a95b 100644
--- a/core/crypto/dkg/dkg.go
+++ b/core/crypto/dkg/dkg.go
@@ -24,11 +24,11 @@ import (
"sync"
"sync/atomic"
- "github.com/dexon-foundation/bls/ffi/go/bls"
- "github.com/dexon-foundation/dexon/rlp"
+ "github.com/byzantine-lab/bls/ffi/go/bls"
+ "github.com/byzantine-lab/go-tangerine/rlp"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
)
var (
diff --git a/core/crypto/dkg/dkg_test.go b/core/crypto/dkg/dkg_test.go
index 84dc2d4..8c911f3 100644
--- a/core/crypto/dkg/dkg_test.go
+++ b/core/crypto/dkg/dkg_test.go
@@ -25,12 +25,12 @@ import (
"sync"
"testing"
- "github.com/dexon-foundation/bls/ffi/go/bls"
- "github.com/dexon-foundation/dexon/rlp"
+ "github.com/byzantine-lab/bls/ffi/go/bls"
+ "github.com/byzantine-lab/go-tangerine/rlp"
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
)
type DKGTestSuite struct {
diff --git a/core/crypto/dkg/utils.go b/core/crypto/dkg/utils.go
index 9e470f0..3f9c123 100644
--- a/core/crypto/dkg/utils.go
+++ b/core/crypto/dkg/utils.go
@@ -22,9 +22,9 @@ import (
"fmt"
"math/rand"
- "github.com/dexon-foundation/bls/ffi/go/bls"
+ "github.com/byzantine-lab/bls/ffi/go/bls"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
)
// PartialSignature is a partial signature in DKG+TSIG protocol.
diff --git a/core/crypto/ecdsa/ecdsa.go b/core/crypto/ecdsa/ecdsa.go
index 9da5f4f..8ac335d 100644
--- a/core/crypto/ecdsa/ecdsa.go
+++ b/core/crypto/ecdsa/ecdsa.go
@@ -20,10 +20,10 @@ package ecdsa
import (
"crypto/ecdsa"
- dexCrypto "github.com/dexon-foundation/dexon/crypto"
+ dexCrypto "github.com/byzantine-lab/go-tangerine/crypto"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
)
const cryptoType = "ecdsa"
diff --git a/core/crypto/ecdsa/ecdsa_test.go b/core/crypto/ecdsa/ecdsa_test.go
index ada27b2..58c35ca 100644
--- a/core/crypto/ecdsa/ecdsa_test.go
+++ b/core/crypto/ecdsa/ecdsa_test.go
@@ -20,8 +20,8 @@ package ecdsa
import (
"testing"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
"github.com/stretchr/testify/suite"
)
diff --git a/core/crypto/interfaces.go b/core/crypto/interfaces.go
index f3e01e4..80ed8a9 100644
--- a/core/crypto/interfaces.go
+++ b/core/crypto/interfaces.go
@@ -18,7 +18,7 @@
package crypto
import (
- "github.com/dexon-foundation/dexon-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
)
// Signature is the basic signature type in DEXON.
diff --git a/core/crypto/utils.go b/core/crypto/utils.go
index 59e91f5..303d9d8 100644
--- a/core/crypto/utils.go
+++ b/core/crypto/utils.go
@@ -21,9 +21,9 @@ import (
"encoding/hex"
"fmt"
- "github.com/dexon-foundation/dexon/crypto"
+ "github.com/byzantine-lab/go-tangerine/crypto"
- "github.com/dexon-foundation/dexon-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
)
var (
diff --git a/core/db/interfaces.go b/core/db/interfaces.go
index a571a80..2b142ee 100644
--- a/core/db/interfaces.go
+++ b/core/db/interfaces.go
@@ -21,9 +21,9 @@ import (
"errors"
"fmt"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
var (
diff --git a/core/db/level-db.go b/core/db/level-db.go
index da8bc0b..2158220 100644
--- a/core/db/level-db.go
+++ b/core/db/level-db.go
@@ -23,10 +23,10 @@ import (
"github.com/syndtr/goleveldb/leveldb"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon/rlp"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "github.com/byzantine-lab/go-tangerine/rlp"
)
var (
diff --git a/core/db/level-db_test.go b/core/db/level-db_test.go
index 8b3c448..ffe44e4 100644
--- a/core/db/level-db_test.go
+++ b/core/db/level-db_test.go
@@ -28,10 +28,10 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon/rlp"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "github.com/byzantine-lab/go-tangerine/rlp"
)
type LevelDBTestSuite struct {
diff --git a/core/db/memory.go b/core/db/memory.go
index 6555de8..9491fc3 100644
--- a/core/db/memory.go
+++ b/core/db/memory.go
@@ -23,9 +23,9 @@ import (
"os"
"sync"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
type blockSeqIterator struct {
diff --git a/core/db/memory_test.go b/core/db/memory_test.go
index 33e0111..7160247 100644
--- a/core/db/memory_test.go
+++ b/core/db/memory_test.go
@@ -22,9 +22,9 @@ import (
"os"
"testing"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
"github.com/stretchr/testify/suite"
)
diff --git a/core/dkg-tsig-protocol.go b/core/dkg-tsig-protocol.go
index ce5c89c..216c695 100644
--- a/core/dkg-tsig-protocol.go
+++ b/core/dkg-tsig-protocol.go
@@ -21,13 +21,13 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// Errors for dkg module.
diff --git a/core/dkg-tsig-protocol_test.go b/core/dkg-tsig-protocol_test.go
index 184460b..873d5bb 100644
--- a/core/dkg-tsig-protocol_test.go
+++ b/core/dkg-tsig-protocol_test.go
@@ -22,14 +22,14 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/test"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/test"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
type DKGTSIGProtocolTestSuite struct {
diff --git a/core/interfaces.go b/core/interfaces.go
index c88b3dc..8ec4f62 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -20,10 +20,10 @@ package core
import (
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
// Application describes the application interface that interacts with DEXON
diff --git a/core/leader-selector.go b/core/leader-selector.go
index 91b2e99..c52064a 100644
--- a/core/leader-selector.go
+++ b/core/leader-selector.go
@@ -21,9 +21,9 @@ import (
"math/big"
"sync"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
type validLeaderFn func(block *types.Block, crs common.Hash) (bool, error)
diff --git a/core/leader-selector_test.go b/core/leader-selector_test.go
index 4738663..d7471d9 100644
--- a/core/leader-selector_test.go
+++ b/core/leader-selector_test.go
@@ -22,10 +22,10 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
type LeaderSelectorTestSuite struct {
diff --git a/core/nonblocking.go b/core/nonblocking.go
index 10b47b8..1aee401 100644
--- a/core/nonblocking.go
+++ b/core/nonblocking.go
@@ -21,8 +21,8 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
type blockConfirmedEvent struct {
diff --git a/core/nonblocking_test.go b/core/nonblocking_test.go
index 4816186..73b6f50 100644
--- a/core/nonblocking_test.go
+++ b/core/nonblocking_test.go
@@ -23,8 +23,8 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
// slowApp is an Application instance slow things down in every method.
diff --git a/core/syncer/agreement.go b/core/syncer/agreement.go
index d39c246..0bb0637 100644
--- a/core/syncer/agreement.go
+++ b/core/syncer/agreement.go
@@ -23,11 +23,11 @@ import (
"fmt"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// Struct agreement implements struct of BA (Byzantine Agreement) protocol
diff --git a/core/syncer/consensus.go b/core/syncer/consensus.go
index 496c0f9..9fc02af 100644
--- a/core/syncer/consensus.go
+++ b/core/syncer/consensus.go
@@ -24,12 +24,12 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
var (
diff --git a/core/syncer/watch-cat.go b/core/syncer/watch-cat.go
index f2e197e..ba385bc 100644
--- a/core/syncer/watch-cat.go
+++ b/core/syncer/watch-cat.go
@@ -21,10 +21,10 @@ import (
"context"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
type configReader interface {
diff --git a/core/syncer/watch-cat_test.go b/core/syncer/watch-cat_test.go
index b1f1bf8..8bb6d7b 100644
--- a/core/syncer/watch-cat_test.go
+++ b/core/syncer/watch-cat_test.go
@@ -23,8 +23,8 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
type WatchCatTestSuite struct {
diff --git a/core/test/app.go b/core/test/app.go
index 769683e..b5162f9 100644
--- a/core/test/app.go
+++ b/core/test/app.go
@@ -23,9 +23,9 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
var (
diff --git a/core/test/app_test.go b/core/test/app_test.go
index 828a3c3..3d1eb57 100644
--- a/core/test/app_test.go
+++ b/core/test/app_test.go
@@ -24,13 +24,13 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
"github.com/stretchr/testify/suite"
)
diff --git a/core/test/block-revealer.go b/core/test/block-revealer.go
index e104f04..c1def76 100644
--- a/core/test/block-revealer.go
+++ b/core/test/block-revealer.go
@@ -21,9 +21,9 @@ import (
"errors"
"sort"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
// Errors returns from block-revealer.
diff --git a/core/test/block-revealer_test.go b/core/test/block-revealer_test.go
index dd2aeb8..432d69c 100644
--- a/core/test/block-revealer_test.go
+++ b/core/test/block-revealer_test.go
@@ -20,9 +20,9 @@ package test
import (
"testing"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
"github.com/stretchr/testify/suite"
)
diff --git a/core/test/fake-transport.go b/core/test/fake-transport.go
index cecac54..45c7889 100644
--- a/core/test/fake-transport.go
+++ b/core/test/fake-transport.go
@@ -21,8 +21,8 @@ import (
"fmt"
"time"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
type fakePeerRecord struct {
diff --git a/core/test/governance.go b/core/test/governance.go
index 204e68b..553e0d5 100644
--- a/core/test/governance.go
+++ b/core/test/governance.go
@@ -25,11 +25,11 @@ import (
"sort"
"sync"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
// TODO(mission): add a method to compare config/crs between governance
diff --git a/core/test/governance_test.go b/core/test/governance_test.go
index e075638..29556c2 100644
--- a/core/test/governance_test.go
+++ b/core/test/governance_test.go
@@ -21,12 +21,12 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
"github.com/stretchr/testify/suite"
)
diff --git a/core/test/interface.go b/core/test/interface.go
index 58a3ced..b8b0ad4 100644
--- a/core/test/interface.go
+++ b/core/test/interface.go
@@ -20,9 +20,9 @@ package test
import (
"time"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
// BlockRevealer defines the interface to reveal a group
diff --git a/core/test/marshaller.go b/core/test/marshaller.go
index 91a3057..e63b4f7 100644
--- a/core/test/marshaller.go
+++ b/core/test/marshaller.go
@@ -21,8 +21,8 @@ import (
"encoding/json"
"fmt"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
// DefaultMarshaller is the default marshaller for testing core.Consensus.
diff --git a/core/test/network.go b/core/test/network.go
index c0ec255..b075389 100644
--- a/core/test/network.go
+++ b/core/test/network.go
@@ -27,11 +27,11 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
const (
diff --git a/core/test/network_test.go b/core/test/network_test.go
index 27d25e6..8e93e82 100644
--- a/core/test/network_test.go
+++ b/core/test/network_test.go
@@ -25,11 +25,11 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
"github.com/stretchr/testify/suite"
)
diff --git a/core/test/state-change-request.go b/core/test/state-change-request.go
index 4ddd40f..fe31186 100644
--- a/core/test/state-change-request.go
+++ b/core/test/state-change-request.go
@@ -21,11 +21,11 @@ import (
"fmt"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon/rlp"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "github.com/byzantine-lab/go-tangerine/rlp"
)
// StateChangeType is the type of state change request.
diff --git a/core/test/state-change-request_test.go b/core/test/state-change-request_test.go
index 517a929..225d4cd 100644
--- a/core/test/state-change-request_test.go
+++ b/core/test/state-change-request_test.go
@@ -20,7 +20,7 @@ package test
import (
"testing"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
"github.com/stretchr/testify/suite"
)
diff --git a/core/test/state.go b/core/test/state.go
index 7597377..0cb1942 100644
--- a/core/test/state.go
+++ b/core/test/state.go
@@ -24,12 +24,12 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon/rlp"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "github.com/byzantine-lab/go-tangerine/rlp"
)
var (
diff --git a/core/test/state_test.go b/core/test/state_test.go
index 63f9d27..a1d67fd 100644
--- a/core/test/state_test.go
+++ b/core/test/state_test.go
@@ -22,13 +22,13 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
"github.com/stretchr/testify/suite"
)
diff --git a/core/test/tcp-transport.go b/core/test/tcp-transport.go
index fdc47d5..7bb10c5 100644
--- a/core/test/tcp-transport.go
+++ b/core/test/tcp-transport.go
@@ -34,11 +34,11 @@ import (
"syscall"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
const (
diff --git a/core/test/transport_test.go b/core/test/transport_test.go
index 9140649..e2c64c8 100644
--- a/core/test/transport_test.go
+++ b/core/test/transport_test.go
@@ -26,8 +26,8 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
"github.com/stretchr/testify/suite"
)
diff --git a/core/test/utils.go b/core/test/utils.go
index e02e194..856bc80 100644
--- a/core/test/utils.go
+++ b/core/test/utils.go
@@ -24,13 +24,13 @@ import (
"net"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/db"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
- "github.com/dexon-foundation/dexon/rlp"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/db"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
+ "github.com/byzantine-lab/go-tangerine/rlp"
)
// GenerateRandomNodeIDs generates randomly a slices of types.NodeID.
diff --git a/core/ticker.go b/core/ticker.go
index 636fb8c..792a276 100644
--- a/core/ticker.go
+++ b/core/ticker.go
@@ -23,7 +23,7 @@ import (
"sync"
"time"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// TickerType is the type of ticker.
diff --git a/core/types/block-randomness.go b/core/types/block-randomness.go
index 1c74543..6aaaf86 100644
--- a/core/types/block-randomness.go
+++ b/core/types/block-randomness.go
@@ -21,7 +21,7 @@ import (
"encoding/hex"
"fmt"
- "github.com/dexon-foundation/dexon-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
)
// AgreementResult describes an agremeent result.
diff --git a/core/types/block.go b/core/types/block.go
index 1dcd41b..d845dd5 100644
--- a/core/types/block.go
+++ b/core/types/block.go
@@ -25,10 +25,10 @@ import (
"io"
"time"
- "github.com/dexon-foundation/dexon/rlp"
+ "github.com/byzantine-lab/go-tangerine/rlp"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
)
// GenesisHeight refers to the initial height the genesis block should be.
diff --git a/core/types/block_test.go b/core/types/block_test.go
index 9ffbc4f..da53494 100644
--- a/core/types/block_test.go
+++ b/core/types/block_test.go
@@ -26,9 +26,9 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon/rlp"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "github.com/byzantine-lab/go-tangerine/rlp"
)
type BlockTestSuite struct {
diff --git a/core/types/dkg/dkg.go b/core/types/dkg/dkg.go
index cb921e5..cdcd9a0 100644
--- a/core/types/dkg/dkg.go
+++ b/core/types/dkg/dkg.go
@@ -23,12 +23,12 @@ import (
"fmt"
"io"
- "github.com/dexon-foundation/dexon/rlp"
+ "github.com/byzantine-lab/go-tangerine/rlp"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- cryptoDKG "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ cryptoDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
// Errors for typesDKG package.
diff --git a/core/types/dkg/dkg_test.go b/core/types/dkg/dkg_test.go
index ea6a565..9a6f5a8 100644
--- a/core/types/dkg/dkg_test.go
+++ b/core/types/dkg/dkg_test.go
@@ -24,11 +24,11 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- cryptoDKG "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon/rlp"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ cryptoDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "github.com/byzantine-lab/go-tangerine/rlp"
)
type DKGTestSuite struct {
diff --git a/core/types/node.go b/core/types/node.go
index 18b6831..b914b4a 100644
--- a/core/types/node.go
+++ b/core/types/node.go
@@ -21,8 +21,8 @@ import (
"bytes"
"encoding/hex"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
)
// NodeID is the ID type for nodes.
diff --git a/core/types/nodeset.go b/core/types/nodeset.go
index 8060007..6ab4d6b 100644
--- a/core/types/nodeset.go
+++ b/core/types/nodeset.go
@@ -22,8 +22,8 @@ import (
"encoding/binary"
"math/big"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
)
// NodeSet is the node set structure as defined in DEXON consensus core.
diff --git a/core/types/nodeset_test.go b/core/types/nodeset_test.go
index ef9ac24..0eb5e50 100644
--- a/core/types/nodeset_test.go
+++ b/core/types/nodeset_test.go
@@ -20,7 +20,7 @@ package types
import (
"testing"
- "github.com/dexon-foundation/dexon-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
"github.com/stretchr/testify/suite"
)
diff --git a/core/types/vote.go b/core/types/vote.go
index 8bc0c78..b538c8c 100644
--- a/core/types/vote.go
+++ b/core/types/vote.go
@@ -20,9 +20,9 @@ package types
import (
"fmt"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- cryptoDKG "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ cryptoDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
)
// VoteType is the type of vote.
diff --git a/core/utils.go b/core/utils.go
index c4d7b0f..c8b05b0 100644
--- a/core/utils.go
+++ b/core/utils.go
@@ -25,10 +25,10 @@ import (
"sort"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
// Errors for utils.
diff --git a/core/utils/crypto.go b/core/utils/crypto.go
index 42ee612..fe07f46 100644
--- a/core/utils/crypto.go
+++ b/core/utils/crypto.go
@@ -21,10 +21,10 @@ import (
"bytes"
"encoding/binary"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
func hashWitness(witness *types.Witness) (common.Hash, error) {
diff --git a/core/utils/crypto_test.go b/core/utils/crypto_test.go
index 29396c5..6df653d 100644
--- a/core/utils/crypto_test.go
+++ b/core/utils/crypto_test.go
@@ -21,12 +21,12 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
"github.com/stretchr/testify/suite"
)
diff --git a/core/utils/nodeset-cache.go b/core/utils/nodeset-cache.go
index 89dcfc8..5ce8f93 100644
--- a/core/utils/nodeset-cache.go
+++ b/core/utils/nodeset-cache.go
@@ -21,9 +21,9 @@ import (
"errors"
"sync"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
var (
diff --git a/core/utils/nodeset-cache_test.go b/core/utils/nodeset-cache_test.go
index b9052c8..0d15123 100644
--- a/core/utils/nodeset-cache_test.go
+++ b/core/utils/nodeset-cache_test.go
@@ -21,10 +21,10 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
"github.com/stretchr/testify/suite"
)
diff --git a/core/utils/penalty-helper.go b/core/utils/penalty-helper.go
index 0b38474..74d2808 100644
--- a/core/utils/penalty-helper.go
+++ b/core/utils/penalty-helper.go
@@ -20,8 +20,8 @@ package utils
import (
"errors"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
var (
diff --git a/core/utils/penalty-helper_test.go b/core/utils/penalty-helper_test.go
index 3e4f8b5..b5528a4 100644
--- a/core/utils/penalty-helper_test.go
+++ b/core/utils/penalty-helper_test.go
@@ -22,12 +22,12 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
type PenaltyHelperTestSuite struct {
diff --git a/core/utils/round-based-config.go b/core/utils/round-based-config.go
index 4c83d04..31f4416 100644
--- a/core/utils/round-based-config.go
+++ b/core/utils/round-based-config.go
@@ -20,7 +20,7 @@ package utils
import (
"fmt"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
// RoundBasedConfig is based config for rounds and provide boundary checking
diff --git a/core/utils/round-based-config_test.go b/core/utils/round-based-config_test.go
index 084efe2..a4b27b8 100644
--- a/core/utils/round-based-config_test.go
+++ b/core/utils/round-based-config_test.go
@@ -20,7 +20,7 @@ package utils
import (
"testing"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
"github.com/stretchr/testify/suite"
)
diff --git a/core/utils/round-event.go b/core/utils/round-event.go
index bda4383..273d5e7 100644
--- a/core/utils/round-event.go
+++ b/core/utils/round-event.go
@@ -22,9 +22,9 @@ import (
"fmt"
"sync"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
// ErrUnmatchedBlockHeightWithConfig is for invalid parameters for NewRoundEvent.
diff --git a/core/utils/signer.go b/core/utils/signer.go
index ff76743..9a0c83a 100644
--- a/core/utils/signer.go
+++ b/core/utils/signer.go
@@ -20,10 +20,10 @@ package utils
import (
"errors"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
// Errors for signer.
diff --git a/core/utils/signer_test.go b/core/utils/signer_test.go
index 0ee1c30..3823861 100644
--- a/core/utils/signer_test.go
+++ b/core/utils/signer_test.go
@@ -21,9 +21,9 @@ import (
"testing"
"time"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
"github.com/stretchr/testify/suite"
)
diff --git a/core/utils/utils.go b/core/utils/utils.go
index f259f34..f8b70d0 100644
--- a/core/utils/utils.go
+++ b/core/utils/utils.go
@@ -21,9 +21,9 @@ import (
"context"
"fmt"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
var dkgDelayRound uint64
diff --git a/core/utils/utils_test.go b/core/utils/utils_test.go
index c6f8543..a4157fc 100644
--- a/core/utils/utils_test.go
+++ b/core/utils/utils_test.go
@@ -24,11 +24,11 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/core/crypto"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/dkg"
- "github.com/dexon-foundation/dexon-consensus/core/crypto/ecdsa"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/dkg"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/crypto/ecdsa"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ typesDKG "gitlab.com/byzantine-lab/tangerine-consensus/core/types/dkg"
)
type UtilsTestSuite struct {
diff --git a/core/utils/vote-filter.go b/core/utils/vote-filter.go
index 446d88a..62b0349 100644
--- a/core/utils/vote-filter.go
+++ b/core/utils/vote-filter.go
@@ -18,7 +18,7 @@
package utils
import (
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
// VoteFilter filters votes that are useless for now.
diff --git a/core/utils/vote-filter_test.go b/core/utils/vote-filter_test.go
index 4e7a7b9..a40a016 100644
--- a/core/utils/vote-filter_test.go
+++ b/core/utils/vote-filter_test.go
@@ -22,8 +22,8 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
)
type VoteFilterTestSuite struct {
diff --git a/core/utils_test.go b/core/utils_test.go
index 560e923..1fc058d 100644
--- a/core/utils_test.go
+++ b/core/utils_test.go
@@ -23,10 +23,10 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/dexon-foundation/dexon-consensus/common"
- "github.com/dexon-foundation/dexon-consensus/core/test"
- "github.com/dexon-foundation/dexon-consensus/core/types"
- "github.com/dexon-foundation/dexon-consensus/core/utils"
+ "gitlab.com/byzantine-lab/tangerine-consensus/common"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/test"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/types"
+ "gitlab.com/byzantine-lab/tangerine-consensus/core/utils"
)
type UtilsTestSuite struct {