-
Notifications
You must be signed in to change notification settings - Fork 793
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1270 from steemit/steem-prerelease-0.19.1
Steem 0.19.1
- Loading branch information
Showing
63 changed files
with
996 additions
and
562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ RUN \ | |
pkg-config \ | ||
python3 \ | ||
python3-dev \ | ||
python3-jinja2 \ | ||
python3-pip \ | ||
nginx \ | ||
fcgiwrap \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,8 @@ Builds steem for use in a private testnet. Also required for building unit tests | |
|
||
### SKIP_BY_TX_ID=[OFF/ON] | ||
|
||
The account history plugin does not allow querying of operations by transaction id. | ||
This requires around 65% of CPU time when reindexing so disabling the index is a | ||
By default this is off. Enabling will prevent the account history plugin querying transactions | ||
by id, but saving around 65% of CPU time when reindexing. Enabling this option is a | ||
huge gain if you do not need this functionality. | ||
|
||
## Building under Docker | ||
|
@@ -51,7 +51,9 @@ will build out of the box without further effort: | |
libssl-dev \ | ||
libtool \ | ||
make \ | ||
pkg-config | ||
pkg-config \ | ||
python3 \ | ||
python3-jinja2 | ||
|
||
# Boost packages (also required) | ||
sudo apt-get install -y \ | ||
|
@@ -96,7 +98,7 @@ Here are the required packages: | |
# Required packages | ||
sudo apt-get install -y \ | ||
autoconf \ | ||
cmake \ | ||
cmake3 \ | ||
g++ \ | ||
git \ | ||
libssl-dev \ | ||
|
@@ -108,7 +110,9 @@ Here are the required packages: | |
libreadline-dev \ | ||
libbz2-dev \ | ||
python-dev \ | ||
perl | ||
perl \ | ||
python3 \ | ||
python3-jinja2 | ||
|
||
The Boost provided in the Ubuntu 14.04 package manager (Boost 1.55) is too old. | ||
Steem requires Boost 1.58 (as in Ubuntu 16.04) and works with versions up to 1.60 (including). | ||
|
@@ -162,7 +166,6 @@ Install Homebrew by following the instructions here: http://brew.sh/ | |
|
||
brew doctor | ||
brew update | ||
brew tap homebrew/versions | ||
|
||
### Install steem dependencies: | ||
|
||
|
@@ -171,10 +174,11 @@ Install Homebrew by following the instructions here: http://brew.sh/ | |
automake \ | ||
cmake \ | ||
git \ | ||
homebrew/versions/boost160 \ | ||
boost160 \ | ||
libtool \ | ||
openssl \ | ||
python3 | ||
python3 \ | ||
python3-jinja2 | ||
|
||
Note: brew recently updated to boost 1.61.0, which is not yet supported by | ||
steem. Until then, this will allow you to install boost 1.60.0. | ||
|
@@ -196,7 +200,7 @@ steem. Until then, this will allow you to install boost 1.60.0. | |
### Compile | ||
|
||
export OPENSSL_ROOT_DIR=$(brew --prefix)/Cellar/openssl/1.0.2h_1/ | ||
export BOOST_ROOT=$(brew --prefix)/Cellar/boost160/1.60.0/ | ||
export BOOST_ROOT=$(brew --prefix)/Cellar/[email protected]/1.60.0/ | ||
git submodule update --init --recursive | ||
mkdir build && cd build | ||
cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release .. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
|
||
# for each subdirectory containing a CMakeLists.txt, add that subdirectory | ||
set( ENV{STEEMIT_EXTERNAL_PLUGINS} "" ) | ||
file( GLOB children RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * ) | ||
foreach( child ${children} ) | ||
if( IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${child}" ) | ||
if( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${child}/CMakeLists.txt" ) | ||
add_subdirectory( "${child}" ) | ||
set( ENV{STEEMIT_EXTERNAL_PLUGINS} $ENV{STEEMIT_EXTERNAL_PLUGINS} ${child} ) | ||
endif() | ||
endif() | ||
endforeach() | ||
|
||
# add_subdirectory( hello_api ) | ||
# add_subdirectory( hello_arguments ) | ||
# add_subdirectory( hello_objects ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.