Skip to content

Commit 0c5302e

Browse files
authored
Merge pull request #1795 from codablock/pr_backport_bitcoin_0.13-3
Backport missing PRs from Bitcoin 0.13 - Part 3
2 parents 3dc6210 + 233493b commit 0c5302e

File tree

116 files changed

+912
-473
lines changed

Some content is hidden

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

116 files changed

+912
-473
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ before_script:
7272
- if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
7373
- make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
7474
script:
75+
- export TRAVIS_COMMIT_LOG=`git log --format=fuller -1`
7576
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
7677
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
7778
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
@@ -87,4 +88,6 @@ script:
8788
- if [ "$RUN_TESTS" = "true" -a "$WINE" = "true" ]; then wine src/test/test_dash.exe --log_level=test_suite; fi
8889
- if [ "$RUN_TESTS" = "true" ]; then qa/pull-tester/rpc-tests.py --coverage; fi
8990
after_script:
91+
- echo $TRAVIS_COMMIT_RANGE
92+
- echo $TRAVIS_COMMIT_LOG
9093
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then (echo "Upload goes here. Something like: scp -r $BASE_OUTDIR server" || echo "upload failed"); fi

Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ pkgconfigdir = $(libdir)/pkgconfig
1010
pkgconfig_DATA = libdashconsensus.pc
1111
endif
1212

13-
BITCOIND_BIN=$(top_builddir)/src/dashd$(EXEEXT)
14-
BITCOIN_QT_BIN=$(top_builddir)/src/qt/dash-qt$(EXEEXT)
15-
BITCOIN_CLI_BIN=$(top_builddir)/src/dash-cli$(EXEEXT)
13+
BITCOIND_BIN=$(top_builddir)/src/$(BITCOIN_DAEMON_NAME)$(EXEEXT)
14+
BITCOIN_QT_BIN=$(top_builddir)/src/qt/$(BITCOIN_GUI_NAME)$(EXEEXT)
15+
BITCOIN_CLI_BIN=$(top_builddir)/src/$(BITCOIN_CLI_NAME)$(EXEEXT)
1616
BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EXEEXT)
1717

1818
empty :=

configure.ac

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ AC_CONFIG_HEADERS([src/config/dash-config.h])
1414
AC_CONFIG_AUX_DIR([build-aux])
1515
AC_CONFIG_MACRO_DIR([build-aux/m4])
1616

17+
BITCOIN_DAEMON_NAME=dashd
18+
BITCOIN_GUI_NAME=dash-qt
19+
BITCOIN_CLI_NAME=dash-cli
20+
BITCOIN_TX_NAME=dash-tx
21+
1722
AC_CANONICAL_HOST
1823

1924
AH_TOP([#ifndef DASH_CONFIG_H])
@@ -560,18 +565,6 @@ if test x$use_reduce_exports = xyes; then
560565
[AC_MSG_ERROR([Cannot set default symbol visibility. Use --disable-reduce-exports.])])
561566
fi
562567

563-
dnl This can go away when we require c++11
564-
TEMP_CXXFLAGS="$CXXFLAGS"
565-
CXXFLAGS="$CXXFLAGS -std=c++0x"
566-
AC_MSG_CHECKING(for c++11 atomics)
567-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
568-
#include <atomic>
569-
]],[[]])],
570-
[ AC_MSG_RESULT(yes); LEVELDB_ATOMIC_CPPFLAGS="-DLEVELDB_ATOMIC_PRESENT"; LEVELDB_ATOMIC_CXXFLAGS="-std=c++0x"],
571-
[ AC_MSG_RESULT(no)]
572-
)
573-
CXXFLAGS="$TEMP_CXXFLAGS"
574-
575568
LEVELDB_CPPFLAGS=
576569
LIBLEVELDB=
577570
LIBMEMENV=
@@ -1055,6 +1048,10 @@ AC_SUBST(COPYRIGHT_YEAR, _COPYRIGHT_YEAR)
10551048
AC_SUBST(COPYRIGHT_HOLDERS, "_COPYRIGHT_HOLDERS")
10561049
AC_SUBST(COPYRIGHT_HOLDERS_SUBSTITUTION, "_COPYRIGHT_HOLDERS_SUBSTITUTION")
10571050
AC_SUBST(COPYRIGHT_HOLDERS_FINAL, "_COPYRIGHT_HOLDERS_FINAL")
1051+
AC_SUBST(BITCOIN_DAEMON_NAME)
1052+
AC_SUBST(BITCOIN_GUI_NAME)
1053+
AC_SUBST(BITCOIN_CLI_NAME)
1054+
AC_SUBST(BITCOIN_TX_NAME)
10581055

10591056
AC_SUBST(RELDFLAGS)
10601057
AC_SUBST(HARDENED_CXXFLAGS)
@@ -1070,8 +1067,6 @@ AC_SUBST(TESTDEFS)
10701067
AC_SUBST(LEVELDB_TARGET_FLAGS)
10711068
AC_SUBST(MINIUPNPC_CPPFLAGS)
10721069
AC_SUBST(MINIUPNPC_LIBS)
1073-
AC_SUBST(LEVELDB_ATOMIC_CPPFLAGS)
1074-
AC_SUBST(LEVELDB_ATOMIC_CXXFLAGS)
10751070
AC_CONFIG_FILES([Makefile src/Makefile share/setup.nsi share/qt/Info.plist src/test/buildenv.py])
10761071
AC_CONFIG_FILES([qa/pull-tester/run-bitcoind-for-test.sh],[chmod +x qa/pull-tester/run-bitcoind-for-test.sh])
10771072
AC_CONFIG_FILES([qa/pull-tester/tests_config.py],[chmod +x qa/pull-tester/tests_config.py])

contrib/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ Contains files used to package dashd/dash-qt
3434
for Debian-based Linux systems. If you compile dashd/dash-qt yourself, there are some useful files here.
3535

3636
### [Gitian-descriptors](/contrib/gitian-descriptors) ###
37-
Gavin's notes on getting gitian builds up and running using KVM.
37+
Notes on getting Gitian builds up and running using KVM.
3838

39-
### [Gitian-downloader](/contrib/gitian-downloader)
40-
Various PGP files of core developers.
39+
### [Gitian-keys](/contrib/gitian-keys)
40+
PGP keys used for signing Bitcoin Core [Gitian release](/doc/release-process.md) results.
4141

4242
### [MacDeploy](/contrib/macdeploy) ###
4343
Scripts and notes for Mac builds.

contrib/devtools/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ the commit it claims to have been updated to.
4848

4949
To use, make sure that you have fetched the upstream repository branch in which the subtree is
5050
maintained:
51-
* for `src/secp256k1`: https://github.com/bitcoin/secp256k1.git (branch master)
52-
* for `src/leveldb`: https://github.com/bitcoin/leveldb.git (branch bitcoin-fork)
53-
* for `src/univalue`: https://github.com/bitcoin/univalue.git (branch master)
51+
* for `src/secp256k1`: https://github.com/bitcoin-core/secp256k1.git (branch master)
52+
* for `src/leveldb`: https://github.com/bitcoin-core/leveldb.git (branch bitcoin-fork)
53+
* for `src/univalue`: https://github.com/bitcoin-core/univalue.git (branch master)
5454

5555
Usage: `git-subtree-check.sh DIR COMMIT`
5656

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)