Skip to content

Commit

Permalink
Merge upstream Bitcoin Core 0.10.4
Browse files Browse the repository at this point in the history
c2e7baf Bump version to 0.10.4, add release notes (Wladimir J. van der Laan)
8b3311f *: alias -h for --help (Daniel Cousens)
97546fc Change URLs to https in debian/control (Matt Corallo)
38671bf Update debian/changelog and slight tweak to debian/control (Matt Corallo)
256321e Correct spelling mistakes in doc folder (Mitchell Cash)
eae0350 Clarification of unit test build instructions. (Eric Lombrozo)
90897ab Update bluematt-key, the old one is long-since revoked (Matt Corallo)
a2f2fb6 build: disable -Wself-assign (Wladimir J. van der Laan)
cf67d8b Bugfix: Allow mining on top of old tip blocks for testnet (fixes testnet-in-a-box use case) (Luke Dashjr)
b3964e3 Drop "with minimal dependencies" from description (Zak Wilcox)
43c2789 Split bitcoin-tx into its own package (Zak Wilcox)
dfe0d4d Include bitcoin-tx binary on Debian/Ubuntu (Zak Wilcox)
612efe8 [Qt] Raise debug window when requested (MarcoFalke)
3ad96bd Fix locking in GetTransaction. (Alex Morcos)
9c81005 Fix spelling of Qt (Diego Viola)
5216f3c Squashed 'src/leveldb/' changes from 7d41e6f..20ca81f (Pieter Wuille)
72a0adf qt: Final translations update on 0.10 branch (Wladimir J. van der Laan)
5dc72f8 CLTV: Add more tests to improve coverage (Esteban Ordano)
6a1343b Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork (Peter Todd)
4137248 Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic (Peter Todd)
0e01d0f Enable CHECKLOCKTIMEVERIFY as a standard script verify flag (Peter Todd)
6d01325 Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65) (Peter Todd)
750d54f Move LOCKTIME_THRESHOLD to src/script/script.h (Peter Todd)
6897468 Make CScriptNum() take nMaxNumSize as an argument (Peter Todd)
5297194 Set TCP_NODELAY on P2P sockets. (Gregory Maxwell)
fb818b6 Bring historical release notes up to date (Micha)
0b3fd07 build: make sure OpenSSL heeds noexecstack (Wladimir J. van der Laan)

Conflicts:
	src/bitcoin-cli.cpp

```diff
diff --cc src/bitcoin-cli.cpp
index e15d940,9c85db8..0000000
--- a/src/bitcoin-cli.cpp
+++ b/src/bitcoin-cli.cpp
@@@ -66,13 -66,13 +66,18 @@@ static bool AppInitRPC(int argc, char*
      // Parameters
      //
      ParseParameters(argc, argv);
++<<<<<<< HEAD
 +    if (argc<2 || mapArgs.count("-?") || mapArgs.count("-help") || mapArgs.count("-version")) {
 +        std::string strUsage = _("Omni Core RPC client version") + " " + FormatFullVersion() + "\n";
++=======
+     if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version")) {
+         std::string strUsage = _("Bitcoin Core RPC client version") + " " + FormatFullVersion() + "\n";
++>>>>>>> 0.10
          if (!mapArgs.count("-version")) {
              strUsage += "\n" + _("Usage:") + "\n" +
 -                  "  bitcoin-cli [options] <command> [params]  " + _("Send command to Bitcoin Core") + "\n" +
 -                  "  bitcoin-cli [options] help                " + _("List commands") + "\n" +
 -                  "  bitcoin-cli [options] help <command>      " + _("Get help for a command") + "\n";
 +                  "  omnicore-cli [options] <command> [params]  " + _("Send command to Omni Core") + "\n" +
 +                  "  omnicore-cli [options] help                " + _("List commands") + "\n" +
 +                  "  omnicore-cli [options] help <command>      " + _("Get help for a command") + "\n";

              strUsage += "\n" + HelpMessageCli();
          }
```
  • Loading branch information
dexX7 committed Nov 10, 2015
2 parents c69245b + c2e7baf commit 3fc4be1
Show file tree
Hide file tree
Showing 61 changed files with 1,895 additions and 452 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 10)
define(_CLIENT_VERSION_REVISION, 3)
define(_CLIENT_VERSION_REVISION, 4)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2015)
Expand Down Expand Up @@ -173,7 +173,7 @@ fi
## compatibility with the legacy buildsystem.
##
if test "x$CXXFLAGS_overridden" = "xno"; then
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter"
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-self-assign"
fi
CPPFLAGS="$CPPFLAGS -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS"

Expand Down
1 change: 1 addition & 0 deletions contrib/debian/bitcoin-tx.install
@@ -0,0 +1 @@
usr/local/bin/bitcoin-tx usr/bin
36 changes: 36 additions & 0 deletions contrib/debian/changelog
@@ -1,3 +1,39 @@
bitcoin (0.10.2-precise1) precise; urgency=medium

* New upstream release.

-- Matt Corallo (BlueMatt) <matt@mattcorallo.com> Mon, 29 Jun 2015 17:33:00 -1000

bitcoin (0.10.1-precise3) precise; urgency=medium

* Fix build dep (include python).

-- Matt Corallo (BlueMatt) <matt@mattcorallo.com> Tue, 5 May 2015 09:28:00 -1000

bitcoin (0.10.1-precise2) precise; urgency=medium

* Fix miniupnpc dep.

-- Matt Corallo (BlueMatt) <matt@mattcorallo.com> Tue, 5 May 2015 00:33:00 -1000

bitcoin (0.10.1-precise1) precise; urgency=medium

* New upstream release.

-- Matt Corallo (BlueMatt) <matt@mattcorallo.com> Tue, 5 May 2015 00:07:00 -1000

bitcoin (0.10.0-precise1) precise; urgency=medium

* New upstream releases.

-- Matt Corallo (BlueMatt) <matt@mattcorallo.com> Wed, 18 Feb 2015 13:22:00 -1000

bitcoin (0.9.4-precise1) precise; urgency=high

* New upstream releases.

-- Matt Corallo (laptop - only while traveling) <matt@mattcorallo.com> Mon, 12 Jan 2015 23:30:00 -1000

bitcoin (0.9.3-precise1) precise; urgency=medium

* New upstream releases.
Expand Down
21 changes: 18 additions & 3 deletions contrib/debian/control
Expand Up @@ -20,11 +20,12 @@ Build-Depends: debhelper,
qt4-qmake,
libqt4-dev,
libqrencode-dev,
libprotobuf-dev, protobuf-compiler
libprotobuf-dev, protobuf-compiler,
python
Standards-Version: 3.9.2
Homepage: http://www.bitcoin.org/
Homepage: https://www.bitcoin.org/
Vcs-Git: git://github.com/bitcoin/bitcoin.git
Vcs-Browser: http://github.com/bitcoin/bitcoin
Vcs-Browser: https://github.com/bitcoin/bitcoin

Package: bitcoind
Architecture: any
Expand Down Expand Up @@ -56,3 +57,17 @@ Description: peer-to-peer network based digital currency - Qt GUI
requires 20+ GB of space, slowly growing.
.
This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt.

Package: bitcoin-tx
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: peer-to-peer digital currency - standalone transaction tool
Bitcoin is a free open source peer-to-peer electronic cash system that
is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to
check for double-spending.
.
This package provides bitcoin-tx, a command-line transaction creation
tool which can be used without a bitcoin daemon. Some means of
exchanging minimal transaction data with peers is still required.
4 changes: 2 additions & 2 deletions contrib/debian/examples/bitcoin.conf
Expand Up @@ -54,7 +54,7 @@
# JSON-RPC options (for controlling a running Bitcoin/bitcoind process)
#

# server=1 tells Bitcoin-QT and bitcoind to accept JSON-RPC commands
# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands
#server=0

# You must set rpcuser and rpcpassword to secure the JSON-RPC api
Expand All @@ -72,7 +72,7 @@
# NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED,
# because the rpcpassword is transmitted over the network unencrypted.

# server=1 tells Bitcoin-QT to accept JSON-RPC commands.
# server=1 tells Bitcoin-Qt to accept JSON-RPC commands.
# it is also read by bitcoind to determine if RPC should be enabled
#rpcallowip=10.1.1.34/255.255.255.0
#rpcallowip=1.2.3.4/24
Expand Down
Binary file modified contrib/gitian-downloader/bluematt-key.pgp
Binary file not shown.
2 changes: 1 addition & 1 deletion depends/packages/openssl.mk
Expand Up @@ -10,7 +10,7 @@ $(package)_config_opts=--prefix=$(host_prefix) --openssldir=$(host_prefix)/etc/o
$(package)_config_opts+=no-krb5 no-camellia no-capieng no-cast no-cms no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2
$(package)_config_opts+=no-mdc2 no-rc5 no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool no-rc2 no-rc4 no-ssl2 no-ssl3
$(package)_config_opts+=$($(package)_cflags) $($(package)_cppflags)
$(package)_config_opts_linux=-fPIC
$(package)_config_opts_linux=-fPIC -Wa,--noexecstack
$(package)_config_opts_x86_64_linux=linux-x86_64
$(package)_config_opts_i686_linux=linux-generic32
$(package)_config_opts_arm_linux=linux-generic32
Expand Down
2 changes: 1 addition & 1 deletion doc/Doxyfile
Expand Up @@ -34,7 +34,7 @@ PROJECT_NAME = Bitcoin
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 0.10.3
PROJECT_NUMBER = 0.10.4

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer
Expand Down
8 changes: 4 additions & 4 deletions doc/README.md
@@ -1,4 +1,4 @@
Bitcoin Core 0.10.3
Bitcoin Core 0.10.4
=====================

Setup
Expand All @@ -7,7 +7,7 @@ Setup

Running
---------------------
The following are some helpful notes on how to run Bitcoin on your native platform.
The following are some helpful notes on how to run Bitcoin on your native platform.

### Unix

Expand All @@ -26,7 +26,7 @@ Unpack the files into a directory and run:

Unpack the files into a directory, and then run bitcoin-qt.exe.

### OSX
### OS X

Drag Bitcoin-Qt to your applications folder, and then run Bitcoin-Qt.

Expand All @@ -41,7 +41,7 @@ Building
---------------------
The following are developer notes on how to build Bitcoin on your native platform. They are not complete guides, but include notes on the necessary libraries, compile flags, etc.

- [OSX Build Notes](build-osx.md)
- [OS X Build Notes](build-osx.md)
- [Unix Build Notes](build-unix.md)

Development
Expand Down
18 changes: 9 additions & 9 deletions doc/README_osx.txt
@@ -1,12 +1,12 @@
Deterministic OSX Dmg Notes.
Deterministic OS X Dmg Notes.

Working OSX DMG's are created in Linux by combining a recent clang,
Working OS X DMGs are created in Linux by combining a recent clang,
the Apple's binutils (ld, ar, etc), and DMG authoring tools.

Apple uses clang extensively for development and has upstreamed the necessary
functionality so that a vanilla clang can take advantage. It supports the use
of -F, -target, -mmacosx-version-min, and --sysroot, which are all necessary
when building for OSX. A pre-compiled version of 3.2 is used because it was not
when building for OS X. A pre-compiled version of 3.2 is used because it was not
available in the Precise repositories at the time this work was started. In the
future, it can be switched to use system packages instead.

Expand Down Expand Up @@ -35,11 +35,11 @@ This file is several gigabytes in size, but only a single directory inside is
needed: Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk

Unfortunately, the usual linux tools (7zip, hpmount, loopback mount) are incapable of opening this file.
To create a tarball suitable for gitian input, mount the dmg in OSX, then create it with:
To create a tarball suitable for Gitian input, mount the dmg in OS X, then create it with:
$ tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.7.sdk.tar.gz MacOSX10.7.sdk


The gitian descriptors build 2 sets of files: Linux tools, then Apple binaries
The Gitian descriptors build 2 sets of files: Linux tools, then Apple binaries
which are created using these tools. The build process has been designed to
avoid including the SDK's files in Gitian's outputs. All interim tarballs are
fully deterministic and may be freely redistributed.
Expand All @@ -63,20 +63,20 @@ Ideally, the creation could be fixed and genisoimage would no longer be necessar

Background images and other features can be added to DMG files by inserting a
.DS_Store before creation. The easiest way to create this file is to build a
DMG without one, move it to a device running OSX, customize the layout, then
DMG without one, move it to a device running OS X, customize the layout, then
grab the .DS_Store file for later use. That is the approach taken here.

As of OSX Mavericks (10.9), using an Apple-blessed key to sign binaries is a
As of OS X Mavericks (10.9), using an Apple-blessed key to sign binaries is a
requirement in order to satisfy the new Gatekeeper requirements. Because this
private key cannot be shared, we'll have to be a bit creative in order for the
build process to remain somewhat deterministic. Here's how it works:

- Builders use gitian to create an unsigned release. This outputs an unsigned
- Builders use Gitian to create an unsigned release. This outputs an unsigned
dmg which users may choose to bless and run. It also outputs an unsigned app
structure in the form of a tarball, which also contains all of the tools
that have been previously (deterministically) built in order to create a
final dmg.
- The Apple keyholder uses this unsigned app to create a detached signature,
using the script that is also included there.
- Builders feed the unsigned app + detached signature back into gitian. It
- Builders feed the unsigned app + detached signature back into Gitian. It
uses the pre-built tools to recombine the pieces into a deterministic dmg.
2 changes: 1 addition & 1 deletion doc/README_windows.txt
@@ -1,4 +1,4 @@
Bitcoin Core 0.10.2
Bitcoin Core 0.10.4
=====================

Intro
Expand Down
10 changes: 5 additions & 5 deletions doc/build-osx.md
@@ -1,6 +1,6 @@
Mac OS X Build Instructions and Notes
====================================
This guide will show you how to build bitcoind(headless client) for OSX.
This guide will show you how to build bitcoind(headless client) for OS X.

Notes
-----
Expand All @@ -13,8 +13,8 @@ built-in one is located in `/Applications/Utilities`.
Preparation
-----------

You need to install XCode with all the options checked so that the compiler
and everything is available in /usr not just /Developer. XCode should be
You need to install Xcode with all the options checked so that the compiler
and everything is available in /usr not just /Developer. Xcode should be
available on your OS X installation media, but if not, you can get the
current version from https://developer.apple.com/xcode/. If you install
Xcode 4.3 or later, you'll need to install its command line tools. This can
Expand Down Expand Up @@ -65,7 +65,7 @@ After exiting, you'll get a warning that the install is keg-only, which means it

### Building `bitcoind`

1. Clone the github tree to get the source code and go into the directory.
1. Clone the GitHub tree to get the source code and go into the directory.

git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
Expand All @@ -89,7 +89,7 @@ Use Qt Creator as IDE
You can use Qt Creator as IDE, for debugging and for manipulating forms, etc.
Download Qt Creator from http://www.qt.io/download/. Download the "community edition" and only install Qt Creator (uncheck the rest during the installation process).

1. Make sure you installed everything through homebrew mentioned above
1. Make sure you installed everything through Homebrew mentioned above
2. Do a proper ./configure --with-gui=qt5 --enable-debug
3. In Qt Creator do "New Project" -> Import Project -> Import Existing Project
4. Enter "bitcoin-qt" as project name, enter src/qt as location
Expand Down
2 changes: 1 addition & 1 deletion doc/coding.md
Expand Up @@ -57,7 +57,7 @@ As Doxygen recognizes the comments by the delimiters (`/**` and `*/` in this cas

To describe a class use the same construct above the class definition:
```c++
/**
/**
* Alerts are for notifying old versions if they become too obsolete and
* need to upgrade. The message is displayed in the status bar.
* @see GetWarnings()
Expand Down

0 comments on commit 3fc4be1

Please sign in to comment.