aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-10-12 18:59:05 +0800
committerGitHub <noreply@github.com>2018-10-12 18:59:05 +0800
commit48f5fdb27e3218e2476b27ae99bcf242533b3bc3 (patch)
tree9926478b8dc6129d67a7da2d6fdfde84b96420c6 /bin
parent490fa1e9ce2b661e4c8b612bd53f20123346353b (diff)
downloaddexon-consensus-48f5fdb27e3218e2476b27ae99bcf242533b3bc3.tar
dexon-consensus-48f5fdb27e3218e2476b27ae99bcf242533b3bc3.tar.gz
dexon-consensus-48f5fdb27e3218e2476b27ae99bcf242533b3bc3.tar.bz2
dexon-consensus-48f5fdb27e3218e2476b27ae99bcf242533b3bc3.tar.lz
dexon-consensus-48f5fdb27e3218e2476b27ae99bcf242533b3bc3.tar.xz
dexon-consensus-48f5fdb27e3218e2476b27ae99bcf242533b3bc3.tar.zst
dexon-consensus-48f5fdb27e3218e2476b27ae99bcf242533b3bc3.zip
core: latticeData supports config change (#190)
* Add test for num of chains changes. * Return error in latticeData.prepareBlock * Compare two positions * Modify chainStatus from height-based to index-based. * Fix consensus to use round variable * Remove sanity check in chainStatus * Fixup: refine sanity check - verify if round switching is required or not by chainTip's config. - make the logic in sanity check more clear - pospone acking relationship checking, they are more expensive to check.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/install_tools.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/install_tools.sh b/bin/install_tools.sh
index e22056b..ca0a04b 100755
--- a/bin/install_tools.sh
+++ b/bin/install_tools.sh
@@ -4,5 +4,5 @@ if ! which dep >/dev/null 2>&1; then
go get -u github.com/golang/dep/cmd/dep
fi
if ! which golint >/dev/null 2>&1; then
- go get -u github.com/golang/lint/golint
+ go get -u golang.org/x/lint/golint
fi