Skip to content

Commit ee889f0

Browse files
committed
Merge branch 'mainnet_bright_boson_2.2RC' into mainnet
2 parents d3239c7 + 398eac8 commit ee889f0

File tree

658 files changed

+157371
-45421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

658 files changed

+157371
-45421
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*

.gitmodules

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
[submodule "secp256k1-zkp"]
2-
path = secp256k1-zkp
3-
url = https://github.com/ElementsProject/secp256k1-zkp.git
1+
[submodule "3rdparty/curl"]
2+
path = 3rdparty/curl
3+
url = https://github.com/curl/curl.git
4+
[submodule "3rdparty/protobuf"]
5+
path = 3rdparty/protobuf
6+
url = https://github.com/protocolbuffers/protobuf.git
7+
[submodule "3rdparty/trezor-cpp-client"]
8+
path = 3rdparty/trezor-cpp-client
9+
url = https://github.com/BeamMW/trezor-cpp-client.git

.travis.yml

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ matrix:
2424
- BUILD_TYPE=Debug
2525
- OS_FOLDER=mac
2626
script:
27-
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBRANCH_NAME=$TRAVIS_BRANCH . && make -j 4 && ctest --verbose && cpack;
27+
- git apply 3rdparty/protobuf-patch.diff
28+
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBRANCH_NAME=$TRAVIS_BRANCH -DBEAM_HW_WALLET=Off . && make -j 4 && ctest --verbose && cpack;
2829
# extract build version
2930
- BEAM_VERSION="$(cat beam_version.gen)" && rm beam_version.gen
3031
- echo BEAM_VERSION = $BEAM_VERSION
@@ -65,7 +66,8 @@ matrix:
6566
- BUILD_TYPE=Release
6667
- OS_FOLDER=mac
6768
script:
68-
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DDEBUG_MESSAGES_IN_RELEASE_MODE=On -DBEAM_LINK_TYPE=Static -DBRANCH_NAME=$TRAVIS_BRANCH -DBEAM_SIGN_MACOS_BINARY=On . && make -j 4 && ctest --verbose && cpack;
69+
- git apply 3rdparty/protobuf-patch.diff
70+
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DDEBUG_MESSAGES_IN_RELEASE_MODE=On -DBEAM_LINK_TYPE=Static -DBRANCH_NAME=$TRAVIS_BRANCH -DBEAM_SIGN_MACOS_BINARY=On -DBEAM_HW_WALLET=Off . && make -j 4 && ctest --verbose && cpack;
6971
# extract build version
7072
- BEAM_VERSION="$(cat beam_version.gen)" && rm beam_version.gen
7173
- echo BEAM_VERSION = $BEAM_VERSION
@@ -87,17 +89,26 @@ matrix:
8789
language: cpp
8890
addons:
8991
apt:
92+
update: true
9093
sources:
9194
- ubuntu-toolchain-r-test
9295
packages:
9396
- g++-7
94-
- libboost-all-dev
9597
- libssl-dev
9698
- curl
9799
install:
98100
- export TZ=Etc/GMT-3
99-
- wget "https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh"
100-
- sudo sh cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
101+
# install new version cmake
102+
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
103+
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
104+
- travis_retry wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-Linux-x86_64.tar.gz
105+
- tar -xvf cmake-3.14.0-Linux-x86_64.tar.gz > /dev/null
106+
- mv cmake-3.14.0-Linux-x86_64 cmake-install
107+
- PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH
108+
- cd ${TRAVIS_BUILD_DIR}
109+
- cmake --version
110+
- sudo git clone --depth=1 https://github.com/BeamMW/boost-linux.git /usr/local/boost_1_69_0
111+
- export BOOST_ROOT="/usr/local/boost_1_69_0"
101112
- sudo add-apt-repository ppa:beineri/opt-qt-5.10.1-trusty -y
102113
- sudo apt-get update
103114
- sudo apt-get install qt510declarative qt510svg libgl1-mesa-dev-lts-xenial
@@ -107,7 +118,8 @@ matrix:
107118
- BUILD_TYPE=Debug
108119
- OS_FOLDER=linux
109120
script:
110-
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBRANCH_NAME=$TRAVIS_BRANCH . && make -j 4 && ctest --verbose && cpack;
121+
- git apply 3rdparty/protobuf-patch.diff
122+
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBRANCH_NAME=$TRAVIS_BRANCH -DBEAM_HW_WALLET=Off . && make -j 4 && ctest --verbose && cpack;
111123
# extract build version
112124
- BEAM_VERSION="$(cat beam_version.gen)" && rm beam_version.gen
113125
- echo BEAM_VERSION = $BEAM_VERSION
@@ -122,19 +134,28 @@ matrix:
122134
language: cpp
123135
addons:
124136
apt:
137+
update: true
125138
sources:
126139
- ubuntu-toolchain-r-test
127140
packages:
128141
- g++-7
129-
- libboost-all-dev
130142
- libssl-dev
131143
- curl
132144
- libxi-dev
133145
- libcups2-dev
134146
install:
135147
- export TZ=Etc/GMT-3
136-
- wget "https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh"
137-
- sudo sh cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
148+
# install new version cmake
149+
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
150+
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
151+
- travis_retry wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-Linux-x86_64.tar.gz
152+
- tar -xvf cmake-3.14.0-Linux-x86_64.tar.gz > /dev/null
153+
- mv cmake-3.14.0-Linux-x86_64 cmake-install
154+
- PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH
155+
- cd ${TRAVIS_BUILD_DIR}
156+
- cmake --version
157+
- sudo git clone --depth=1 https://github.com/BeamMW/boost-linux.git /usr/local/boost_1_69_0
158+
- export BOOST_ROOT="/usr/local/boost_1_69_0"
138159
- eval "CC=gcc-7 && CXX=g++-7"
139160
- git clone --depth=1 https://github.com/nesbox/qt5-static-linux.git /home/travis/qt5-static
140161
- export QT5_ROOT_DIR="/home/travis/qt5-static"
@@ -143,7 +164,11 @@ matrix:
143164
- BUILD_TYPE=Release
144165
- OS_FOLDER=linux
145166
script:
146-
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DDEBUG_MESSAGES_IN_RELEASE_MODE=On -DBEAM_LINK_TYPE=Static -DBRANCH_NAME=$TRAVIS_BRANCH . && make -j 4 && ctest --verbose && cpack;
167+
- git apply 3rdparty/protobuf-patch.diff
168+
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DDEBUG_MESSAGES_IN_RELEASE_MODE=On -DBEAM_LINK_TYPE=Static -DBRANCH_NAME=$TRAVIS_BRANCH -DBEAM_HW_WALLET=Off .
169+
- make -j 4
170+
- ctest --verbose
171+
- cpack
147172
# extract build version
148173
- BEAM_VERSION="$(cat beam_version.gen)" && rm beam_version.gen
149174
- echo BEAM_VERSION = $BEAM_VERSION
@@ -373,4 +398,4 @@ after_success:
373398

374399
notifications:
375400
email:
376-
- big.romanov@gmail.com
401+
- big.romanov@gmail.com

3rdparty/crypto/equihash.tcc

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)