From 749bdc99a51bf84f4e3a67098ae02553b50f96ec Mon Sep 17 00:00:00 2001 From: ryanRfox Date: Mon, 30 Jul 2018 15:28:53 -0400 Subject: [PATCH 1/4] Add: Ubuntu 18.04 and SSL 1.1 support --- README.md | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 6d0d714ca8..26b75f4b1c 100644 --- a/README.md +++ b/README.md @@ -20,27 +20,19 @@ The web wallet is [BitShares UI](https://github.com/bitshares/bitshares-ui). Visit [BitShares.org](https://bitshares.org/) to learn about BitShares and join the community at [BitSharesTalk.org](https://bitsharestalk.org/). -**NOTE:** The official BitShares git repository location, default branch, and submodule remotes were recently changed. Existing -repositories can be updated with the following steps: - - git remote set-url origin https://github.com/bitshares/bitshares-core.git - git checkout master - git remote set-head origin --auto - git pull - git submodule sync --recursive - git submodule update --init --recursive - Getting Started --------------- Build instructions and additional documentation are available in the [wiki](https://github.com/bitshares/bitshares-core/wiki). -We recommend building on Ubuntu 16.04 LTS (64-bit), and the build dependencies may be installed with: +We recommend building on Ubuntu 16.04 LTS (64-bit) + +**Build Dependencies**: sudo apt-get update sudo apt-get install autoconf cmake make automake libtool git libboost-all-dev libssl-dev g++ libcurl4-openssl-dev -To build after all dependencies are installed: +**Build Script:** git clone https://github.com/bitshares/bitshares-core.git cd bitshares-core @@ -49,15 +41,26 @@ To build after all dependencies are installed: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo . make -**NOTE:** BitShares requires an [OpenSSL](https://www.openssl.org/) version in the 1.0.x series. OpenSSL 1.1.0 and newer are NOT supported. If your system OpenSSL version is newer, then you will need to manually provide an older version of OpenSSL and specify it to CMake using `-DOPENSSL_INCLUDE_DIR`, `-DOPENSSL_SSL_LIBRARY`, and `-DOPENSSL_CRYPTO_LIBRARY`. +**Upgrade Script** (prepend to the Build Script above if you built a prior release): -**NOTE:** BitShares requires a [Boost](http://www.boost.org/) version in the range [1.57, 1.65]. Versions earlier than -1.57 or newer than 1.65 are NOT supported. If your system Boost version is newer, then you will need to manually build + git remote set-url origin https://github.com/bitshares/bitshares-core.git + git checkout master + git remote set-head origin --auto + git pull + git submodule sync --recursive + git submodule update --init --recursive + +**NOTE:** BitShares requires a [Boost](http://www.boost.org/) version in the range [1.57 - 1.65]. Versions earlier than +1.57 or newer than 1.65 are NOT supported. If your system's Boost version is newer, then you will need to manually build an older version of Boost and specify it to CMake using `DBOOST_ROOT`. **NOTE:** BitShares requires a 64-bit operating system to build, and will not build on a 32-bit OS. -After building, the witness node can be launched with: +**NOTE:** BitShares now supports Ubuntu 18.04 LTS + +**NOTE:** BitShares now supports OpenSSL 1.1.0 + +**After Building**, the `witness_node` can be launched with: ./programs/witness_node/witness_node @@ -72,7 +75,7 @@ In order to run a full node with all the account history you need to remove `par | Default | Full | Minimal | ElasticSearch | --- | --- | --- | --- -| 20G RAM | 120G RAM | 4G RAM | 200G SSD HD, 16G RAM +| 16G RAM | 120G RAM | 4G RAM | 500G SSD HD, 32G RAM After starting the witness node again, in a separate terminal you can run: From 18bbdcc7a6fe42347bf1304fe1024b1eb6349b21 Mon Sep 17 00:00:00 2001 From: ryanRfox Date: Wed, 1 Aug 2018 11:05:45 -0400 Subject: [PATCH 2/4] Fixup: README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 26b75f4b1c..184e9050b8 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,12 @@ We recommend building on Ubuntu 16.04 LTS (64-bit) git checkout master git remote set-head origin --auto git pull + git submodule update --init --recursive # this command will fail git submodule sync --recursive git submodule update --init --recursive -**NOTE:** BitShares requires a [Boost](http://www.boost.org/) version in the range [1.57 - 1.65]. Versions earlier than -1.57 or newer than 1.65 are NOT supported. If your system's Boost version is newer, then you will need to manually build +**NOTE:** BitShares requires a [Boost](http://www.boost.org/) version in the range [1.57 - 1.65.1]. Versions earlier than +1.57 or newer than 1.65.1 are NOT supported. If your system's Boost version is newer, then you will need to manually build an older version of Boost and specify it to CMake using `DBOOST_ROOT`. **NOTE:** BitShares requires a 64-bit operating system to build, and will not build on a 32-bit OS. From d94559101ed1ca3c4d4488120778538525697ae1 Mon Sep 17 00:00:00 2001 From: ryanRfox Date: Wed, 1 Aug 2018 16:58:18 -0400 Subject: [PATCH 3/4] Add: current_version --- README.md | 5 +++-- current_version | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 current_version diff --git a/README.md b/README.md index 184e9050b8..0963dd1df0 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,10 @@ We recommend building on Ubuntu 16.04 LTS (64-bit) **Build Script:** + LATEST_RELEASE_TAG=$(curl https://raw.githubusercontent.com/bitshares/bitshares-core/master/current_version) git clone https://github.com/bitshares/bitshares-core.git cd bitshares-core - git checkout + git checkout $LATEST_RELEASE_TAG git submodule update --init --recursive cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo . make @@ -47,7 +48,7 @@ We recommend building on Ubuntu 16.04 LTS (64-bit) git checkout master git remote set-head origin --auto git pull - git submodule update --init --recursive # this command will fail + git submodule update --init --recursive # this command may fail git submodule sync --recursive git submodule update --init --recursive diff --git a/current_version b/current_version new file mode 100644 index 0000000000..435beb6ee3 --- /dev/null +++ b/current_version @@ -0,0 +1 @@ +2.0.180802 \ No newline at end of file From 29bd69ef13662c4dfd328423f57308bf0bb95a69 Mon Sep 17 00:00:00 2001 From: ryanRfox Date: Thu, 2 Aug 2018 08:46:49 -0400 Subject: [PATCH 4/4] Fixup: README.md --- README.md | 3 +-- current_version | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 current_version diff --git a/README.md b/README.md index 0963dd1df0..fd56290d3b 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,9 @@ We recommend building on Ubuntu 16.04 LTS (64-bit) **Build Script:** - LATEST_RELEASE_TAG=$(curl https://raw.githubusercontent.com/bitshares/bitshares-core/master/current_version) git clone https://github.com/bitshares/bitshares-core.git cd bitshares-core - git checkout $LATEST_RELEASE_TAG + git checkout master # may substitute "master" with current release tag git submodule update --init --recursive cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo . make diff --git a/current_version b/current_version deleted file mode 100644 index 435beb6ee3..0000000000 --- a/current_version +++ /dev/null @@ -1 +0,0 @@ -2.0.180802 \ No newline at end of file