From 9b7de32c77e581e771c4cb8e8ff59d2c00d1114e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Mon, 30 Apr 2018 16:19:00 -0400 Subject: [PATCH 01/50] [docker] [skycoin] refs #1190 Adds builds for ARM architecture. --- hooks/push | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 hooks/push diff --git a/hooks/push b/hooks/push new file mode 100644 index 000000000..5fab94597 --- /dev/null +++ b/hooks/push @@ -0,0 +1,6 @@ +#!/bin/bash +docker push $IMAGE_NAME +docker push $IMAGE_NAME-arm32v5 +docker push $IMAGE_NAME-arm32v6 +docker push $IMAGE_NAME-arm32v7 +docker push $IMAGE_NAME-arm64v8 From 2dfba86596c46920f5c52659930f0efa18d44e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 09:44:26 -0400 Subject: [PATCH 02/50] [docker] [skycoin] refs #1190 Adds build file for docker cloud --- .gitignore | 2 ++ hooks/build | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 hooks/build diff --git a/.gitignore b/.gitignore index d623266a6..54f1a0885 100644 --- a/.gitignore +++ b/.gitignore @@ -123,3 +123,5 @@ skycoin-cli # FIXME: see #1027 - Temporary solution to deal with generated file include/libskycoin.h +# Do not ignore Docker Cloud build +!hooks/build diff --git a/hooks/build b/hooks/build new file mode 100644 index 000000000..2da049ee7 --- /dev/null +++ b/hooks/build @@ -0,0 +1,6 @@ +#!/bin/bash +docker build -f $DOCKERFILE_PATH -t $IMAGE_NAME . +docker build --build-arg=ARCH=arm --build-arg=GOARM= --build-arg=IMAGE_FROM="arm32v5/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v5 . +docker build --build-arg=ARCH=arm --build-arg=GOARM=6 --build-arg=IMAGE_FROM="arm32v6/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v6 . +docker build --build-arg=ARCH=arm --build-arg=GOARM=7 --build-arg=IMAGE_FROM="arm32v7/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v7 . +docker build --build-arg=ARCH=arm64 --build-arg=IMAGE_FROM="arm64v8/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm64v8 . From 8fbf0e64d8bbdc6a2469b4757dee2895d1ce9969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 10:02:00 -0400 Subject: [PATCH 03/50] [docker] [skycoin] refs #1190 Moves docker cloud hooks to Dockerfile directory --- hooks/build | 6 ------ hooks/push | 6 ------ 2 files changed, 12 deletions(-) delete mode 100644 hooks/build delete mode 100644 hooks/push diff --git a/hooks/build b/hooks/build deleted file mode 100644 index 2da049ee7..000000000 --- a/hooks/build +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -docker build -f $DOCKERFILE_PATH -t $IMAGE_NAME . -docker build --build-arg=ARCH=arm --build-arg=GOARM= --build-arg=IMAGE_FROM="arm32v5/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v5 . -docker build --build-arg=ARCH=arm --build-arg=GOARM=6 --build-arg=IMAGE_FROM="arm32v6/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v6 . -docker build --build-arg=ARCH=arm --build-arg=GOARM=7 --build-arg=IMAGE_FROM="arm32v7/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v7 . -docker build --build-arg=ARCH=arm64 --build-arg=IMAGE_FROM="arm64v8/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm64v8 . diff --git a/hooks/push b/hooks/push deleted file mode 100644 index 5fab94597..000000000 --- a/hooks/push +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -docker push $IMAGE_NAME -docker push $IMAGE_NAME-arm32v5 -docker push $IMAGE_NAME-arm32v6 -docker push $IMAGE_NAME-arm32v7 -docker push $IMAGE_NAME-arm64v8 From 7a3cfd78b97f8787cfbfdb0db453cff83ef02354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 10:58:40 -0400 Subject: [PATCH 04/50] [docker] [skycoin] refs #1190 Tries to make context work. From 2fc15b7e85a9c51055647e1ff084229c54d09c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 11:10:31 -0400 Subject: [PATCH 05/50] [docker] [skycoin] refs #1190 Tries to make context work (again). From 61db006a044051aa48282b45f7c6d05be02de052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 12:39:25 -0400 Subject: [PATCH 06/50] [docker] [skycoin] refs #1190 Tries different approach. From c07cf6eb12eb1098ea4f83ffa693b620a5abdde9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Thu, 3 May 2018 10:20:14 -0400 Subject: [PATCH 07/50] [docker] [skycoin] refs #1190 Checks environment in docker cloud From 4e60ff2508a59951df629e8ac4f6dd5c666be2b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Thu, 3 May 2018 11:21:40 -0400 Subject: [PATCH 08/50] [docker] [skycoin] refs #1190 Tries with provided variable From 029e5bf5667062217ee7d730aad1fa745664031d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Thu, 3 May 2018 13:19:01 -0400 Subject: [PATCH 09/50] [docker] [skycoin] refs #1190 Tries different approach From 2019b1cb25fac320ae60a6ad8a10f677e0525ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Thu, 3 May 2018 13:55:39 -0400 Subject: [PATCH 10/50] [docker] [skycoin] refs #1190 Updates golang tag, 1.10 was removed From d45b355caec6eebb807846b177057db4ee34e4c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Mon, 30 Apr 2018 16:19:00 -0400 Subject: [PATCH 11/50] [docker] [skycoin] refs #1190 Adds builds for ARM architecture. --- hooks/push | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 hooks/push diff --git a/hooks/push b/hooks/push new file mode 100644 index 000000000..5fab94597 --- /dev/null +++ b/hooks/push @@ -0,0 +1,6 @@ +#!/bin/bash +docker push $IMAGE_NAME +docker push $IMAGE_NAME-arm32v5 +docker push $IMAGE_NAME-arm32v6 +docker push $IMAGE_NAME-arm32v7 +docker push $IMAGE_NAME-arm64v8 From 40b9765ce4802f9d568bfd720f78762b7c7f252c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 09:44:26 -0400 Subject: [PATCH 12/50] [docker] [skycoin] refs #1190 Adds build file for docker cloud --- .gitignore | 2 ++ hooks/build | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 hooks/build diff --git a/.gitignore b/.gitignore index d623266a6..54f1a0885 100644 --- a/.gitignore +++ b/.gitignore @@ -123,3 +123,5 @@ skycoin-cli # FIXME: see #1027 - Temporary solution to deal with generated file include/libskycoin.h +# Do not ignore Docker Cloud build +!hooks/build diff --git a/hooks/build b/hooks/build new file mode 100644 index 000000000..2da049ee7 --- /dev/null +++ b/hooks/build @@ -0,0 +1,6 @@ +#!/bin/bash +docker build -f $DOCKERFILE_PATH -t $IMAGE_NAME . +docker build --build-arg=ARCH=arm --build-arg=GOARM= --build-arg=IMAGE_FROM="arm32v5/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v5 . +docker build --build-arg=ARCH=arm --build-arg=GOARM=6 --build-arg=IMAGE_FROM="arm32v6/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v6 . +docker build --build-arg=ARCH=arm --build-arg=GOARM=7 --build-arg=IMAGE_FROM="arm32v7/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v7 . +docker build --build-arg=ARCH=arm64 --build-arg=IMAGE_FROM="arm64v8/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm64v8 . From a8e4f53a913a6d7fae2f66d83c8bbebdd73704e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 10:02:00 -0400 Subject: [PATCH 13/50] [docker] [skycoin] refs #1190 Moves docker cloud hooks to Dockerfile directory --- hooks/build | 6 ------ hooks/push | 6 ------ 2 files changed, 12 deletions(-) delete mode 100644 hooks/build delete mode 100644 hooks/push diff --git a/hooks/build b/hooks/build deleted file mode 100644 index 2da049ee7..000000000 --- a/hooks/build +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -docker build -f $DOCKERFILE_PATH -t $IMAGE_NAME . -docker build --build-arg=ARCH=arm --build-arg=GOARM= --build-arg=IMAGE_FROM="arm32v5/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v5 . -docker build --build-arg=ARCH=arm --build-arg=GOARM=6 --build-arg=IMAGE_FROM="arm32v6/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v6 . -docker build --build-arg=ARCH=arm --build-arg=GOARM=7 --build-arg=IMAGE_FROM="arm32v7/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v7 . -docker build --build-arg=ARCH=arm64 --build-arg=IMAGE_FROM="arm64v8/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm64v8 . diff --git a/hooks/push b/hooks/push deleted file mode 100644 index 5fab94597..000000000 --- a/hooks/push +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -docker push $IMAGE_NAME -docker push $IMAGE_NAME-arm32v5 -docker push $IMAGE_NAME-arm32v6 -docker push $IMAGE_NAME-arm32v7 -docker push $IMAGE_NAME-arm64v8 From b78231a1fda4a018b7e0abe58fa12e45f18a75f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 10:58:40 -0400 Subject: [PATCH 14/50] [docker] [skycoin] refs #1190 Tries to make context work. From 305681e1c9010926e9b8e4d4a3b54a5679def04c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 11:10:31 -0400 Subject: [PATCH 15/50] [docker] [skycoin] refs #1190 Tries to make context work (again). From 8cb7e4e289e2d252bbf832565c06500e13a1e0a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 1 May 2018 12:39:25 -0400 Subject: [PATCH 16/50] [docker] [skycoin] refs #1190 Tries different approach. From f0b464b8eae54824d050c02a4e010478a186b352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Thu, 3 May 2018 10:20:14 -0400 Subject: [PATCH 17/50] [docker] [skycoin] refs #1190 Checks environment in docker cloud From 8fd2841dec7d774651dbab322144ae60a4a0c741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Thu, 3 May 2018 11:21:40 -0400 Subject: [PATCH 18/50] [docker] [skycoin] refs #1190 Tries with provided variable From 503ee328b4eaa327b33cf00f3066eafe1f2ff6ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Thu, 3 May 2018 13:19:01 -0400 Subject: [PATCH 19/50] [docker] [skycoin] refs #1190 Tries different approach From 8d2a7279524543d5b07d681cfec32166e7f789eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Thu, 3 May 2018 13:55:39 -0400 Subject: [PATCH 20/50] [docker] [skycoin] refs #1190 Updates golang tag, 1.10 was removed From 5de7f681adccfb0594de5d7a127bf8d6cf5aafe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Sat, 5 May 2018 12:24:00 -0400 Subject: [PATCH 21/50] [docker] [skycoin] refs #1190 Updates documentation for Docker build process From ce38aeab20d1352242127cade5fd7b9b94ebd41e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Wed, 9 May 2018 06:41:38 -0400 Subject: [PATCH 22/50] [docker] [skycoin] refs #1190 Adds IMAGE_FROM build arg to Dockerfile and improves README From b463e46018738a67c248329ac22bfe18ddcf1498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Wed, 9 May 2018 09:39:57 -0400 Subject: [PATCH 23/50] [docker] [skycoin] refs #1190 Fixes travis tests to make them work on forks --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8bb92c24d..500411b9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,9 @@ install: - go get github.com/gz-c/gox # Install dependences for building wallet - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" == false ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils && nvm install 8; fi + - mkdir -p $HOME/gopath/src/github.com/skycoin + - if ! [[ -d $HOME/gopath/src/github.com/simelo/skycoin ]]; then ln -s $HOME/gopath/src/github.com/simelo/skycoin $HOME/gopath/src/github.com/skycoin/skycoin; fi + - cd $HOME/gopath/src/github.com/skycoin/skycoin - go get -t ./... - make install-linters - make install-deps-libc From e7de8f06e6eac413ae9ffb49fabefd894d2ea31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Wed, 9 May 2018 09:42:16 -0400 Subject: [PATCH 24/50] [docker] [skycoin] refs #1190 Fixes fix. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 500411b9f..d79eaa597 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,8 +35,8 @@ install: - go get github.com/gz-c/gox # Install dependences for building wallet - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" == false ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils && nvm install 8; fi - - mkdir -p $HOME/gopath/src/github.com/skycoin - - if ! [[ -d $HOME/gopath/src/github.com/simelo/skycoin ]]; then ln -s $HOME/gopath/src/github.com/simelo/skycoin $HOME/gopath/src/github.com/skycoin/skycoin; fi + - + - if ! [[ -d $HOME/gopath/src/github.com/skycoin/skycoin ]]; then mkdir -p $HOME/gopath/src/github.com/skycoin; ln -s $HOME/gopath/src/github.com/simelo/skycoin $HOME/gopath/src/github.com/skycoin/skycoin; fi - cd $HOME/gopath/src/github.com/skycoin/skycoin - go get -t ./... - make install-linters From 0245163c8d9bd10c7d73fa053f15035c09ae7f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Wed, 9 May 2018 11:45:58 -0400 Subject: [PATCH 25/50] [docker] [skycoin] refs #1190 Uses GOPATH instead of HOME. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d79eaa597..7f9d5e3f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,8 +36,8 @@ install: # Install dependences for building wallet - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" == false ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils && nvm install 8; fi - - - if ! [[ -d $HOME/gopath/src/github.com/skycoin/skycoin ]]; then mkdir -p $HOME/gopath/src/github.com/skycoin; ln -s $HOME/gopath/src/github.com/simelo/skycoin $HOME/gopath/src/github.com/skycoin/skycoin; fi - - cd $HOME/gopath/src/github.com/skycoin/skycoin + - if [[ ! -d $GOPATH/src/github.com/skycoin/skycoin ]]; then mkdir -p $GOPATH/src/github.com/skycoin; ln -s $GOPATH/src/github.com/simelo/skycoin $GOPATH/src/github.com/skycoin/skycoin; fi + - cd $GOPATH/src/github.com/skycoin/skycoin - go get -t ./... - make install-linters - make install-deps-libc From 002139c39e2c232248a9f5eaf211f77137ea2e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Wed, 9 May 2018 11:48:50 -0400 Subject: [PATCH 26/50] [docker] [skycoin] refs #1190 Fixes source code location. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7f9d5e3f9..878773b9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ install: # Install dependences for building wallet - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" == false ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils && nvm install 8; fi - - - if [[ ! -d $GOPATH/src/github.com/skycoin/skycoin ]]; then mkdir -p $GOPATH/src/github.com/skycoin; ln -s $GOPATH/src/github.com/simelo/skycoin $GOPATH/src/github.com/skycoin/skycoin; fi + - if [[ ! -d $GOPATH/src/github.com/skycoin/skycoin ]]; then mkdir -p $GOPATH/src/github.com/skycoin; ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/skycoin/skycoin; fi - cd $GOPATH/src/github.com/skycoin/skycoin - go get -t ./... - make install-linters From f0ca99504ef9832d04d334fb28e143ca9bd6feeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauricio=20L=C3=B3pez-Quintana=20Conesa?= Date: Tue, 15 May 2018 01:39:35 -0400 Subject: [PATCH 27/50] [docker] [skycoin] refs #1190 Adds tags to README From ccb5fe708ae8dc07cdf6660ace2fa9be06d5611f Mon Sep 17 00:00:00 2001 From: VavilenTatarskiy Date: Tue, 15 May 2018 10:59:58 +0300 Subject: [PATCH 28/50] Implemented: - golden files generator - testdata - test suite tool From bc505039c628290bbc068d118f593fd46d5bb4bf Mon Sep 17 00:00:00 2001 From: VavilenTatarskiy Date: Tue, 15 May 2018 11:18:57 +0300 Subject: [PATCH 29/50] fixes From c15048d1e8ed0169174d9e9b7d308883baede904 Mon Sep 17 00:00:00 2001 From: gz-c Date: Tue, 15 May 2018 17:03:37 +0800 Subject: [PATCH 30/50] Set indexed height in unspent pool addr index From aa524267a85b7babf284f7fe60b2b8b4f0b931ab Mon Sep 17 00:00:00 2001 From: mahansky Date: Tue, 15 May 2018 14:27:23 +0200 Subject: [PATCH 31/50] Add note about price conversion From f0fa12c3576dc5cbf7b5bba7e06bdbe8f6d44d89 Mon Sep 17 00:00:00 2001 From: mahansky Date: Tue, 15 May 2018 17:30:35 +0200 Subject: [PATCH 32/50] Frontend code cleanup From 9663a8e8decfc1e4b1cca68ea267340b5922ed94 Mon Sep 17 00:00:00 2001 From: mahansky Date: Tue, 15 May 2018 17:37:56 +0200 Subject: [PATCH 33/50] Post merge edits From 04c5c605ada39855e45522587e13741f43a4ba10 Mon Sep 17 00:00:00 2001 From: VavilenTatarskiy Date: Wed, 16 May 2018 10:48:54 +0300 Subject: [PATCH 34/50] -moved files - testsuite_test as a test file From 03620eaac2dedbae87c6ea1bec86ec004b890166 Mon Sep 17 00:00:00 2001 From: VavilenTatarskiy Date: Wed, 16 May 2018 19:55:54 +0300 Subject: [PATCH 35/50] added exit code 1 if cli command not found From f23f9d2c24c320e857ed6034a777eb03e02a6c96 Mon Sep 17 00:00:00 2001 From: gz-c Date: Fri, 18 May 2018 10:18:54 +0800 Subject: [PATCH 36/50] Remove unnecessary size field from /explorer/address txns --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b8a02db7..93451946a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Expose known block height of peer in brand new `height` field added in responses of `GET /api/v1/network/connections` API endpoints - `-verify-db` option (default true), will verify the database integrity during startup and exit if a problem is found - `-reset-corrupt-db` option (default false) will verify the database integrity during startup and reset the db if a problem is found -- `GET /explorer/address`: add `size` and `fee` to transaction objects and `calculated_hours` to transaction inputs +- `GET /explorer/address`: add `fee` to transaction objects and `calculated_hours` to transaction inputs ### Fixed From a24f9a837e03d42d833720b765fa9cf66eecaf1b Mon Sep 17 00:00:00 2001 From: gz-c Date: Fri, 18 May 2018 17:20:06 +0800 Subject: [PATCH 37/50] Finalize cipher testsuite --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93451946a..3bbd37392 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Added + - Add environment variable `DATA_DIR` in CLI's - `USE_CSRF` environment variable for CLI, if the remote node has CSRF enabled (CSRF is enabled by default, use `-disable-csrf` to disable) - `cli showConfig` command to echo the cli's configuration back to the user @@ -23,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - `-verify-db` option (default true), will verify the database integrity during startup and exit if a problem is found - `-reset-corrupt-db` option (default false) will verify the database integrity during startup and reset the db if a problem is found - `GET /explorer/address`: add `fee` to transaction objects and `calculated_hours` to transaction inputs +- Test data generator and test suite for verification of alternative `cipher` implementations ### Fixed From 76d734b8c73ca22814d695273271eb3f640e35ab Mon Sep 17 00:00:00 2001 From: gz-c Date: Fri, 18 May 2018 18:01:47 +0800 Subject: [PATCH 38/50] go1.9 flag package compatibility From 93db9a38adbbccd3a747c563c94a6104fe0e1d67 Mon Sep 17 00:00:00 2001 From: mahansky Date: Fri, 18 May 2018 12:38:18 +0200 Subject: [PATCH 39/50] Fixes From d77f575b79ffab367a6b735fd35eef3d2c43494a Mon Sep 17 00:00:00 2001 From: mahansky Date: Fri, 18 May 2018 16:53:19 +0200 Subject: [PATCH 40/50] Change warning message From 396a22f90037bbbfc5147be7709c42382d4b63d6 Mon Sep 17 00:00:00 2001 From: iketheadore <2589926+iketheadore@users.noreply.github.com> Date: Sat, 19 May 2018 12:48:10 +0800 Subject: [PATCH 41/50] Change message to accept message changing From 939f3804abab56902694f86bd0f474f5c8cec9c2 Mon Sep 17 00:00:00 2001 From: iketheadore <2589926+iketheadore@users.noreply.github.com> Date: Sat, 19 May 2018 12:55:41 +0800 Subject: [PATCH 42/50] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93451946a..ce3c034a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - API response will be gzip compressed if client sends request with 'Accept-Encoding' contains 'gzip' in the header. - `GET /api/v1/wallet/balance` and `GET /api/v1/balance` now return an address balance list as well. - API endpoints are prefixed with `/api/v1/`. API endpoints without the `/api/v1/` prefix are deprecated but can be enabled with `-enable-unversioned-api`. Please migrate to use `/api/v1/` prefix in URLs. +- Enable message protocol upgrade ### Removed From 772e88c2bef9211bf0034adee19ffed0d222ea74 Mon Sep 17 00:00:00 2001 From: iketheadore <2589926+iketheadore@users.noreply.github.com> Date: Sat, 19 May 2018 14:25:41 +0800 Subject: [PATCH 43/50] Fix test From 028730dfd9feb37f7ea565e4a6b7e5b13a89b55c Mon Sep 17 00:00:00 2001 From: iketheadore <2589926+iketheadore@users.noreply.github.com> Date: Sat, 19 May 2018 15:55:32 +0800 Subject: [PATCH 44/50] Don't reset corrupt db if node is master From 8f080711e33f2eaa6deaa65db2a75bba982508e1 Mon Sep 17 00:00:00 2001 From: iketheadore <2589926+iketheadore@users.noreply.github.com> Date: Sat, 19 May 2018 21:55:36 +0800 Subject: [PATCH 45/50] Change log debug to warn level From 2f375e561c4b44e6149fe7dc4a23d0e27d5bf525 Mon Sep 17 00:00:00 2001 From: iketheadore <2589926+iketheadore@users.noreply.github.com> Date: Sat, 19 May 2018 16:58:36 +0800 Subject: [PATCH 46/50] Load wallets before blockchain From f577c916a4d5a380e3d21c61dc7e4d846e1d45bf Mon Sep 17 00:00:00 2001 From: iketheadore <2589926+iketheadore@users.noreply.github.com> Date: Sat, 19 May 2018 16:58:46 +0800 Subject: [PATCH 47/50] Show more descriptive error message when load wallets failed From 1d0ff0ba483b76cc63290f529b94bf865fb3ab99 Mon Sep 17 00:00:00 2001 From: gz-c Date: Mon, 21 May 2018 16:11:55 +0800 Subject: [PATCH 48/50] Remove support for go1.9 --- .travis.yml | 1 - CHANGELOG.md | 2 ++ INSTALLATION.md | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index dd22dd524..438e0aa64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ sudo: required dist: trusty language: go go: - - "1.9.x" - "1.10.x" matrix: diff --git a/CHANGELOG.md b/CHANGELOG.md index ce3c034a9..4d997ef88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Added + - Add environment variable `DATA_DIR` in CLI's - `USE_CSRF` environment variable for CLI, if the remote node has CSRF enabled (CSRF is enabled by default, use `-disable-csrf` to disable) - `cli showConfig` command to echo the cli's configuration back to the user @@ -44,6 +45,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Remove `-rpc-interface-addr`, `-rpc-interface-port` options. The RPC interface is now on default port `6420` with the REST API. - Remove `-rpc-thread-num` option - Remove `-connect-to` option +- Remove support for go1.9 ## [0.23.0] - 2018-04-22 diff --git a/INSTALLATION.md b/INSTALLATION.md index e035e36de..7ef426d19 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -1,6 +1,6 @@ # Installing go -Skycoin supports go1.9+. The preferred version is go1.10. +Skycoin supports go1.10+. ## For OSX First you need to have `homebrew` installed, if you don't have it yet. @@ -53,8 +53,8 @@ In China, use `--source=https://github.com/golang/go` to bypass firewall when fe gvm install go1.4 --source=https://github.com/golang/go gvm use go1.4 -gvm install go1.9 -gvm use go1.9 --default +gvm install go1.10.2 +gvm use go1.10.2 --default ``` #### Installation issues @@ -62,7 +62,7 @@ If you open up new a terminal and the `go` command is not found then add this to ```sh [[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm" -gvm use go1.9 >/dev/null +gvm use go1.10.2 >/dev/null ``` ## Install Go manually @@ -72,7 +72,7 @@ Let's go to home directory and declare `go`'s version that you want to download. ```sh cd ~ -export GOV=1.10 # golang version. Could be any of the following versions 1.9, 1.10 +export GOV=1.10.2 # golang version ``` After that, let's download and uncompress golang source. From 97391143f48a5313100a8d9d2269927336dd6385 Mon Sep 17 00:00:00 2001 From: mahansky Date: Mon, 21 May 2018 19:13:49 +0200 Subject: [PATCH 49/50] Remove unused event handler From dffe5484ed048fd3766682ce626e737a84cb0fc5 Mon Sep 17 00:00:00 2001 From: gz-c Date: Tue, 22 May 2018 08:56:13 +0800 Subject: [PATCH 50/50] Fixups