aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-10-23 15:29:58 +0800
committerWei-Ning Huang <aitjcize@gmail.com>2018-10-23 15:29:58 +0800
commit726e855384bf686b192f9d4b1c4cb0e9d006d414 (patch)
treed91bf3a4749af0801c09411b3ace8d79bea0d6ac
parente79e91c31eaa08e69def8b204901004b3b85e828 (diff)
downloaddexon-consensus-726e855384bf686b192f9d4b1c4cb0e9d006d414.tar.gz
dexon-consensus-726e855384bf686b192f9d4b1c4cb0e9d006d414.tar.zst
dexon-consensus-726e855384bf686b192f9d4b1c4cb0e9d006d414.zip
Change BLS to dexon-foundation (#245)
-rw-r--r--Gopkg.lock19
-rw-r--r--Gopkg.toml2
-rwxr-xr-xbin/install_dkg_dep.sh8
-rw-r--r--core/crypto/dkg/constant.go2
-rw-r--r--core/crypto/dkg/dkg.go2
-rw-r--r--core/crypto/dkg/dkg_test.go2
-rw-r--r--core/crypto/dkg/utils.go2
7 files changed, 18 insertions, 19 deletions
diff --git a/Gopkg.lock b/Gopkg.lock
index 86b6423..46dab79 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -2,14 +2,6 @@
[[projects]]
- branch = "dev"
- digest = "1:e1b678344fe7ac9b92facf33893ca3ce4f8e62b00c798c9efdd7e2a2d7b488f8"
- name = "github.com/Spiderpowa/bls"
- packages = ["ffi/go/bls"]
- pruneopts = "UT"
- revision = "32fbf283dfdcf1224c57fbf7cf9db5f290cda1d1"
-
-[[projects]]
branch = "master"
digest = "1:c0decf632843204d2b8781de7b26e7038584e2dcccc7e2f401e88ae85b1df2b7"
name = "github.com/btcsuite/btcd"
@@ -27,6 +19,14 @@
[[projects]]
branch = "dev"
+ digest = "1:c331891ab345659ad4e3e6af2c0b2ba262dd2c83867b2928f4c89455a429cb79"
+ name = "github.com/dexon-foundation/bls"
+ packages = ["ffi/go/bls"]
+ pruneopts = "UT"
+ revision = "1208495d2fd3e5a69edaf7f429607e7ef431a5dd"
+
+[[projects]]
+ branch = "dev"
digest = "1:2b010a52e574bc0f815d5fdf403a8b36384665ac0923c94a28b99f8537fbf9fe"
name = "github.com/dexon-foundation/dexon"
packages = [
@@ -113,8 +113,9 @@
analyzer-name = "dep"
analyzer-version = 1
input-imports = [
- "github.com/Spiderpowa/bls/ffi/go/bls",
+ "github.com/dexon-foundation/bls/ffi/go/bls",
"github.com/dexon-foundation/dexon/crypto",
+ "github.com/dexon-foundation/dexon/rlp",
"github.com/naoina/toml",
"github.com/stretchr/testify/suite",
"github.com/syndtr/goleveldb/leveldb",
diff --git a/Gopkg.toml b/Gopkg.toml
index cbf5c35..799a63f 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -27,7 +27,7 @@
[[constraint]]
branch = "dev"
- name = "github.com/Spiderpowa/bls"
+ name = "github.com/dexon-foundation/bls"
[[constraint]]
branch = "dev"
diff --git a/bin/install_dkg_dep.sh b/bin/install_dkg_dep.sh
index 40ae2be..b426711 100755
--- a/bin/install_dkg_dep.sh
+++ b/bin/install_dkg_dep.sh
@@ -7,14 +7,12 @@ fi
if [ ! -d .dep/dkg ]; then
mkdir -p .dep/dkg
cd .dep/dkg
- git clone --depth 1 git://github.com/herumi/xbyak.git &
- git clone --depth 1 git://github.com/herumi/cybozulib.git &
- git clone --depth 1 --single-branch -b dev git://github.com/Spiderpowa/bls.git &
- git clone --depth 1 git://github.com/herumi/mcl.git &
+ git clone --depth 1 --single-branch -b dev git://github.com/dexon-foundation/bls.git &
+ git clone --depth 1 git://github.com/dexon-foundation/mcl.git &
wait
cd bls
make test_go -j
cd ../../../
fi
-cd vendor/github.com/Spiderpowa && rm -rf *
+cd vendor/github.com/dexon-foundation && rm -rf bls mcl
ln -s ../../../.dep/dkg/* .
diff --git a/core/crypto/dkg/constant.go b/core/crypto/dkg/constant.go
index 119613b..9145391 100644
--- a/core/crypto/dkg/constant.go
+++ b/core/crypto/dkg/constant.go
@@ -18,7 +18,7 @@
package dkg
import (
- "github.com/Spiderpowa/bls/ffi/go/bls"
+ "github.com/dexon-foundation/bls/ffi/go/bls"
)
const (
diff --git a/core/crypto/dkg/dkg.go b/core/crypto/dkg/dkg.go
index 184a94f..fca3fcd 100644
--- a/core/crypto/dkg/dkg.go
+++ b/core/crypto/dkg/dkg.go
@@ -22,7 +22,7 @@ import (
"fmt"
"io"
- "github.com/Spiderpowa/bls/ffi/go/bls"
+ "github.com/dexon-foundation/bls/ffi/go/bls"
"github.com/dexon-foundation/dexon/rlp"
"github.com/dexon-foundation/dexon-consensus-core/common"
diff --git a/core/crypto/dkg/dkg_test.go b/core/crypto/dkg/dkg_test.go
index cb167e4..5dfa6d1 100644
--- a/core/crypto/dkg/dkg_test.go
+++ b/core/crypto/dkg/dkg_test.go
@@ -25,7 +25,7 @@ import (
"sync"
"testing"
- "github.com/Spiderpowa/bls/ffi/go/bls"
+ "github.com/dexon-foundation/bls/ffi/go/bls"
"github.com/dexon-foundation/dexon/rlp"
"github.com/stretchr/testify/suite"
diff --git a/core/crypto/dkg/utils.go b/core/crypto/dkg/utils.go
index 45c4a27..f8d11b3 100644
--- a/core/crypto/dkg/utils.go
+++ b/core/crypto/dkg/utils.go
@@ -20,7 +20,7 @@ package dkg
import (
"fmt"
- "github.com/Spiderpowa/bls/ffi/go/bls"
+ "github.com/dexon-foundation/bls/ffi/go/bls"
"github.com/dexon-foundation/dexon-consensus-core/core/crypto"
)