Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
b224c02
Merge #8357: [mempool] Fix relaypriority calculation error
laanwj Sep 27, 2016
a75d611
Merge #8634: Add policy: null signature for failed CHECK(MULTI)SIG
laanwj Sep 27, 2016
8b8362f
Merge #8814: [wallet, policy] ParameterInteraction: Don't allow 0 fee
laanwj Sep 28, 2016
f9431a1
Merge #8823: doc: Add privacy recommendation when running hidden service
laanwj Sep 28, 2016
3a503b9
Merge #8820: [depends] Fix Qt compilation with Xcode 8
laanwj Sep 28, 2016
a26bad0
Merge #8784: Copyright headers for build scripts
laanwj Sep 29, 2016
79f6d3d
Merge #8832: [rpc] throw JSONRPCError when utxo set can not be read
laanwj Sep 29, 2016
cf4bdab
Merge #8827: [qa] Split up slow RPC calls to avoid pruning test timeouts
Sep 29, 2016
575f625
Merge #8658: Remove unused statements in serialization
laanwj Sep 29, 2016
e6af218
Merge #8834: [qa] blockstore: Switch to dumb dbm
laanwj Sep 29, 2016
272fddc
Merge #8826: Do not include env_win.cc on non-Windows systems
laanwj Sep 29, 2016
942fe0e
Merge #8840: test: Explicitly set encoding to utf8 when opening text …
laanwj Sep 30, 2016
6b1842a
Merge #8839: test: Avoid ConnectionResetErrors during RPC tests
laanwj Sep 30, 2016
963f6a6
Merge #8829: Add bitcoin-tx JSON tests
Sep 29, 2016
972a44b
Merge #8836: bitcoin-util-test.py should fail if the output file is e…
laanwj Sep 30, 2016
2f3abc6
Merge #8830: [test] Add option to run bitcoin-util-test.py manually
laanwj Sep 30, 2016
210242e
Merge #8813: bitcoind: Daemonize using daemon(3)
laanwj Sep 30, 2016
ba02e9d
Merge #8852: Mention Gitian building script in doc (Laudaa)
laanwj Sep 30, 2016
16532f8
Merge #8857: [qa] mininode: Only allow named args in wait_until
Oct 2, 2016
10127ae
Merge #8863: univalue: Pull subtree
laanwj Oct 3, 2016
23ac000
Merge #8860: [qa] util: Move wait_bitcoinds() into stop_nodes()
Oct 3, 2016
14483e4
Merge #8856: Globals: Decouple GetConfigFile and ReadConfigFile from …
laanwj Oct 3, 2016
6e4dad9
Merge #8850: Implement (begin|end)_ptr in C++11 and add deprecation c…
laanwj Oct 4, 2016
f45adb5
Merge #8862: Fix a few cases where messages were sent after requested…
laanwj Oct 4, 2016
fb8d46d
Merge #8879: [doc] Rework docs
laanwj Oct 5, 2016
1c1554f
Merge #8884: Bugfix: Trivial: RPC: getblockchaininfo help: pruneheigh…
laanwj Oct 5, 2016
d31c2d6
Merge #8887: [Doc] Improve GitHub issue template
Oct 6, 2016
43a377a
Merge #8896: Update INSTALL landing redirection notice for build inst…
Oct 8, 2016
76641e6
Merge #8881: Add some verbose logging to bitcoin-util-test.py
Oct 8, 2016
75668f3
Merge #8892: doc: Add build instructions for FreeBSD
laanwj Oct 13, 2016
dcc63e6
Merge #8911: qt: Translate all files, even if wallet disabled
laanwj Oct 13, 2016
552fafd
Merge #8915: Add copyright/patent issues to possible NACK reasons
Oct 14, 2016
005ae79
Refactor MSG_XXX enum values to align with Bitcoin core
codablock Sep 18, 2017
0f021e5
Merge #8880: protocol.h: Move MESSAGE_START_SIZE into CMessageHeader
laanwj Oct 15, 2016
19316b7
Merge #8920: Set minimum required Boost to 1.47.0
laanwj Oct 17, 2016
ffc9673
Merge #8932: Allow bitcoin-tx to create v2 transactions
laanwj Oct 18, 2016
c4faa32
Merge #8921: RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprec…
laanwj Oct 18, 2016
5fc2e19
Merge #8935: Documentation: Building on Windows with WSL
laanwj Oct 18, 2016
239ce53
Merge #8914: Kill insecure_random and associated global state
laanwj Oct 18, 2016
3edeea3
Merge #8929: add software-properties-common
laanwj Oct 18, 2016
0fd7c4e
Merge #8955: doc: update 0.13.0 release note info on linux arm builds
laanwj Oct 18, 2016
4fc77cc
Merge #8954: contrib: Add README for pgp keys
laanwj Oct 18, 2016
0dcca9b
Merge #8287: [wallet] Set fLimitFree = true
laanwj Oct 18, 2016
85706a0
Merge #8223: [c++11] Use std::unique_ptr for block creation.
laanwj Oct 18, 2016
b02e461
Merge #8908: Update bitcoin-qt.desktop
jonasschnelli Oct 18, 2016
6e871c0
Merge #6996: Add preciousblock RPC
laanwj Oct 18, 2016
2f86773
Merge #8873: Add microbenchmarks to profile more code paths.
laanwj Oct 18, 2016
c858429
Backport changes to ccoins_caching.cpp which were skipped
codablock Dec 9, 2017
b84ea46
Merge #8965: Mention that PPA doesn't support Debian
Oct 18, 2016
89e959d
Merge #8936: Report NodeId in misbehaving debug
laanwj Oct 19, 2016
7604a3a
Dashify INSTALL.md and build-unix.md
codablock Jan 12, 2018
5b8946c
Add Dash Copyright to Makefiles modified by Dash developers
codablock Jan 12, 2018
6989f94
Get rid of InsecureRand and use equivalent FastRandomContext
codablock Jan 12, 2018
8f13e25
Remove doubled "./" from bitcoin-util-test.json
codablock Jan 12, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 24 additions & 12 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
<!--- Remove sections that do not apply -->

This issue tracker is only for technical issues related to bitcoin-core.

General bitcoin questions and/or support requests and are best directed to the [Bitcoin StackExchange](https://bitcoin.stackexchange.com).

### Describe the issue

### Is the issue reproducible?
#### List steps to reproduce below:
1.
2.
3.
### Can you reliably reproduce the issue?
#### If so, please list the steps to reproduce below:
1.
2.
3.

### Expected behavior
### Expected behaviour
Tell us what should happen

### Actual behavior
### Actual behaviour
Tell us what happens instead

### Any information in the debug.log file related to this issue?

### Screenshots (if available)
### Screenshots.
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.

### What binary version was used (official or self compiled)
### What version of bitcoin-core are you using?
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.

### Machine specs: CPU, RAM, Disk space & OS (Windows, OS X, Linux)
### Machine specs:
- OS:
- CPU:
- RAM:
- Disk size:
- Disk Type (HD/SDD):

### Any extra information that might be useful in the debugging process.
This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred.
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ language is used within pull-request comments:

- ACK means "I have tested the code and I agree it should be merged";
- NACK means "I disagree this should be merged", and must be accompanied by
sound technical justification. NACKs without accompanying reasoning may be disregarded;
sound technical justification (or in certain cases of copyright/patent/licensing
issues, legal justification). NACKs without accompanying reasoning may be
disregarded;
- utACK means "I have not tested the code, but I have reviewed it and it looks
OK, I agree it can be merged";
- Concept ACK means "I agree in the general principle of this pull request";
Expand Down
30 changes: 0 additions & 30 deletions INSTALL

This file was deleted.

5 changes: 5 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Building Dash
=============

See doc/build-*.md for instructions on building the various
elements of the Dash Core reference implementation of Dash.
5 changes: 5 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Copyright (c) 2014-2018 The Dash Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

ACLOCAL_AMFLAGS = -I build-aux/m4
SUBDIRS = src
if ENABLE_MAN
Expand Down
4 changes: 4 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/sh
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

set -e
srcdir="$(dirname $0)"
cd "$srcdir"
Expand Down
4 changes: 2 additions & 2 deletions build-aux/m4/ax_boost_base.m4
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.

#serial 26
#serial 27

AC_DEFUN([AX_BOOST_BASE],
[
Expand Down Expand Up @@ -96,7 +96,7 @@ if test "x$want_boost" = "xyes"; then
libsubdirs="lib64 libx32 lib lib64"
;;
ppc64|s390x|sparc64|aarch64|ppc64le)
libsubdirs="lib64 lib lib64 ppc64le"
libsubdirs="lib64 lib lib64"
;;
esac

Expand Down
4 changes: 4 additions & 0 deletions build-aux/m4/bitcoin_find_bdb48.m4
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
dnl Copyright (c) 2013-2015 The Bitcoin Core developers
dnl Distributed under the MIT software license, see the accompanying
dnl file COPYING or http://www.opensource.org/licenses/mit-license.php.

AC_DEFUN([BITCOIN_FIND_BDB48],[
AC_MSG_CHECKING([for Berkeley DB C++ headers])
BDB_CPPFLAGS=
Expand Down
4 changes: 4 additions & 0 deletions build-aux/m4/bitcoin_qt.m4
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
dnl Copyright (c) 2013-2016 The Bitcoin Core developers
dnl Distributed under the MIT software license, see the accompanying
dnl file COPYING or http://www.opensource.org/licenses/mit-license.php.

dnl Helper for cases where a qt dependency is not met.
dnl Output: If qt version is auto, set bitcoin_enable_qt to false. Else, exit.
AC_DEFUN([BITCOIN_QT_FAIL],[
Expand Down
4 changes: 4 additions & 0 deletions build-aux/m4/bitcoin_subdir_to_include.m4
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
dnl Copyright (c) 2013-2014 The Bitcoin Core developers
dnl Distributed under the MIT software license, see the accompanying
dnl file COPYING or http://www.opensource.org/licenses/mit-license.php.

dnl BITCOIN_SUBDIR_TO_INCLUDE([CPPFLAGS-VARIABLE-NAME],[SUBDIRECTORY-NAME],[HEADER-FILE])
dnl SUBDIRECTORY-NAME must end with a path separator
AC_DEFUN([BITCOIN_SUBDIR_TO_INCLUDE],[
Expand Down
8 changes: 7 additions & 1 deletion build-aux/m4/l_atomic.m4
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
dnl Copyright (c) 2015 Tim Kosse <tim.kosse@filezilla-project.org>
dnl Copying and distribution of this file, with or without modification, are
dnl permitted in any medium without royalty provided the copyright notice
dnl and this notice are preserved. This file is offered as-is, without any
dnl warranty.

# Some versions of gcc/libstdc++ require linking with -latomic if
# using the C++ atomic library.
#
Expand Down Expand Up @@ -32,7 +38,7 @@ AC_DEFUN([CHECK_ATOMIC], [
AC_MSG_RESULT([yes])
],[
AC_MSG_RESULT([no])
AC_MSG_FAILURE([cannot figure our how to use std::atomic])
AC_MSG_FAILURE([cannot figure out how to use std::atomic])
])
])

Expand Down
8 changes: 7 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,9 @@ AC_SEARCH_LIBS([inet_pton], [nsl resolv], [AC_DEFINE(HAVE_INET_PTON, 1, [Define

AC_CHECK_DECLS([strnlen])

# Check for daemon(3), unrelated to --with-daemon (although used by it)
AC_CHECK_DECLS([daemon])

AC_CHECK_DECLS([le16toh, le32toh, le64toh, htole16, htole32, htole64, be16toh, be32toh, be64toh, htobe16, htobe32, htobe64],,,
[#if HAVE_ENDIAN_H
#include <endian.h>
Expand Down Expand Up @@ -595,8 +598,11 @@ fi

if test x$use_boost = xyes; then

dnl Minimum required Boost version
define(MINIMUM_REQUIRED_BOOST, 1.47.0)

dnl Check for boost libs
AX_BOOST_BASE
AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST])
AX_BOOST_SYSTEM
AX_BOOST_FILESYSTEM
AX_BOOST_PROGRAM_OPTIONS
Expand Down
3 changes: 2 additions & 1 deletion contrib/debian/dash-qt.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Name=Dash
Name=Dash Core
Comment=Dash P2P Cryptocurrency
Comment[de]=Verbinde mit dem Dash peer-to-peer Netzwerk
Comment[fr]=Dash, monnaie virtuelle cryptographique pair à pair
Comment[tr]=Dash, eşten eşe kriptografik sanal para birimi
Exec=dash-qt %u
Expand Down
16 changes: 16 additions & 0 deletions contrib/gitian-keys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PGP keys
========

This folder contains the public keys of developers and active contributors.

The keys are mainly used to sign git commits or the build results of gitian
builds.

You can import the keys into gpg as follows. Also, make sure to fetch the
latest version from the key server to see if any key was revoked in the
meantime.

```sh
gpg --import ./*.pgp
gpg --refresh-keys
```
3 changes: 2 additions & 1 deletion depends/packages/qt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $(package)_dependencies=openssl
$(package)_linux_dependencies=freetype fontconfig libxcb libX11 xproto libXext
$(package)_build_subdir=qtbase
$(package)_qt_libs=corelib network widgets gui plugins testlib
$(package)_patches=mac-qmake.conf mingw-uuidof.patch pidlist_absolute.patch fix-xcb-include-order.patch fix_qt_pkgconfig.patch
$(package)_patches=mac-qmake.conf configure-xcoderun.patch mingw-uuidof.patch pidlist_absolute.patch fix-xcb-include-order.patch fix_qt_pkgconfig.patch

$(package)_qttranslations_file_name=qttranslations-$($(package)_suffix)
$(package)_qttranslations_sha256_hash=dcc1534d247babca1840cb6d0a000671801a341ea352d0535474f86adadaf028
Expand Down Expand Up @@ -134,6 +134,7 @@ define $(package)_preprocess_cmds
cp -f qtbase/mkspecs/macx-clang/Info.plist.app qtbase/mkspecs/macx-clang-linux/ &&\
cp -f qtbase/mkspecs/macx-clang/qplatformdefs.h qtbase/mkspecs/macx-clang-linux/ &&\
cp -f $($(package)_patch_dir)/mac-qmake.conf qtbase/mkspecs/macx-clang-linux/qmake.conf && \
patch -p1 < $($(package)_patch_dir)/configure-xcoderun.patch && \
patch -p1 < $($(package)_patch_dir)/mingw-uuidof.patch && \
patch -p1 < $($(package)_patch_dir)/pidlist_absolute.patch && \
patch -p1 < $($(package)_patch_dir)/fix-xcb-include-order.patch && \
Expand Down
25 changes: 25 additions & 0 deletions depends/patches/qt/configure-xcoderun.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
--- old/qtbase/configure
+++ new/qtbase/configure
@@ -543,7 +543,7 @@ if [ "$BUILD_ON_MAC" = "yes" ]; then
exit 2
fi

- if ! /usr/bin/xcrun -find xcrun >/dev/null 2>&1; then
+ if ! /usr/bin/xcrun -find xcodebuild >/dev/null 2>&1; then
echo >&2
echo " Xcode not set up properly. You may need to confirm the license" >&2
echo " agreement by running /usr/bin/xcodebuild without arguments." >&2
diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf
index 0cc8cd6..5df99d1 100644
--- old/qtbase/mkspecs/features/mac/default_pre.prf
+++ new/qtbase/mkspecs/features/mac/default_pre.prf
@@ -12,7 +12,7 @@ isEmpty(QMAKE_XCODE_DEVELOPER_PATH) {
error("Xcode is not installed in $${QMAKE_XCODE_DEVELOPER_PATH}. Please use xcode-select to choose Xcode installation path.")

# Make sure Xcode is set up properly
- isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null"))): \
+ isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \
error("Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.")
}

--
6 changes: 4 additions & 2 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ Development
The Dash Core repo's [root README](/README.md) contains relevant information on the development process and automated testing.

- [Developer Notes](developer-notes.md)
- [Multiwallet Qt Development](multiwallet-qt.md)
- [Release Notes](release-notes.md)
- [Release Process](release-process.md)
- Source Code Documentation ***TODO***
- [Translation Process](translation_process.md)
- [Translation Strings Policy](translation_strings_policy.md)
- [Unit Tests](unit-tests.md)
- [Travis CI](travis-ci.md)
- [Unauthenticated REST Interface](REST-interface.md)
- [Shared Libraries](shared-libraries.md)
- [BIPS](bips.md)
Expand All @@ -64,11 +64,13 @@ The Dash Core repo's [root README](/README.md) contains relevant information on
### Miscellaneous
- [Assets Attribution](assets-attribution.md)
- [Files](files.md)
- [Reduce Traffic](reduce-traffic.md)
- [Tor Support](tor.md)
- [Init Scripts (systemd/upstart/openrc)](init.md)
- [ZMQ](zmq.md)

License
---------------------
Distributed under the [MIT software license](http://www.opensource.org/licenses/mit-license.php).
Distributed under the [MIT software license](/COPYING).
This product includes software developed by the OpenSSL Project for use in the [OpenSSL Toolkit](https://www.openssl.org/). This product includes
cryptographic software written by Eric Young ([eay@cryptsoft.com](mailto:eay@cryptsoft.com)), and UPnP software written by Thomas Bernard.
37 changes: 36 additions & 1 deletion doc/build-unix.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,12 @@ install necessary parts of boost:

sudo apt-get install libboost-all-dev

BerkeleyDB is required for the wallet. db4.8 packages are available [here](https://launchpad.net/~bitcoin/+archive/bitcoin).
BerkeleyDB is required for the wallet.

**For Ubuntu only:** db4.8 packages are available [here](https://launchpad.net/~bitcoin/+archive/bitcoin).
You can add the repository and install using the following commands:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
Expand Down Expand Up @@ -308,3 +311,35 @@ To build executables for ARM:


For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory.

Building on FreeBSD
--------------------

(Updated as of FreeBSD 10.3)

Clang is installed by default as `cc` compiler, this makes it easier to get
started than on [OpenBSD](build-openbsd.md). Installing dependencies:

pkg install autoconf automake libtool pkgconf
pkg install boost-libs openssl libevent2

(`libressl` instead of `openssl` will also work)

For the wallet (optional):

pkg install db5

This will give a warning "configure: WARNING: Found Berkeley DB other
than 4.8; wallets opened by this build will not be portable!", but as FreeBSD never
had a binary release, this may not matter. If backwards compatibility
with 4.8-built Dash Core is needed follow the steps under "Berkeley DB" above.

Then build using:

./autogen.sh
./configure --with-incompatible-bdb CPPFLAGS=-I/usr/local/include/db5 LDFLAGS=-L/usr/local/lib/db5
make

*Note on debugging*: The version of `gdb` installed by default is [ancient and considered harmful](https://wiki.freebsd.org/GdbRetirement).
It is not suitable for debugging a multi-threaded C++ program, not even for getting backtraces. Please install the package `gdb` and
use the versioned gdb command e.g. `gdb7111`.
Loading