diff options
Diffstat (limited to 'core/utils')
-rw-r--r-- | core/utils/crypto.go | 8 | ||||
-rw-r--r-- | core/utils/crypto_test.go | 12 | ||||
-rw-r--r-- | core/utils/nodeset-cache.go | 6 | ||||
-rw-r--r-- | core/utils/nodeset-cache_test.go | 8 | ||||
-rw-r--r-- | core/utils/penalty-helper.go | 4 | ||||
-rw-r--r-- | core/utils/penalty-helper_test.go | 12 | ||||
-rw-r--r-- | core/utils/round-based-config.go | 2 | ||||
-rw-r--r-- | core/utils/round-based-config_test.go | 2 | ||||
-rw-r--r-- | core/utils/round-event.go | 6 | ||||
-rw-r--r-- | core/utils/signer.go | 8 | ||||
-rw-r--r-- | core/utils/signer_test.go | 6 | ||||
-rw-r--r-- | core/utils/utils.go | 6 | ||||
-rw-r--r-- | core/utils/utils_test.go | 10 | ||||
-rw-r--r-- | core/utils/vote-filter.go | 2 | ||||
-rw-r--r-- | core/utils/vote-filter_test.go | 4 |
15 files changed, 48 insertions, 48 deletions
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 { |