5991 Commits

Author SHA1 Message Date
Patrick Lodder
aeb626aeeb extracted auxpow consts
set testnet start of auxpow to block 158100
2014-08-03 17:05:49 +02:00
Patrick Lodder
b6a2963042 send auxpow debug info to debug.log instead of stdout 2014-08-01 16:47:03 +02:00
Patrick Lodder
5f9b807608 Replace getauxblock CBigNum with CScriptNum 2014-08-01 16:43:05 +02:00
Nell Hardcastle
5da72d7da8 Enable RPC commands for mining aux proof of work blocks. 2014-08-01 16:43:05 +02:00
Nell Hardcastle
8808f237aa Support auxillary proof of work.
Rebased from 1.7.1 into 1.7.2, moved AuxPoW checks from AcceptBlock()
into AcceptBlockHeader()
2014-08-01 16:42:50 +02:00
Nell Hardcastle
e87673bd38 Import Vince Durham's aux proof of work implementation. 2014-08-01 13:41:21 +02:00
langerhans
57253fface Merge pull request #581 from rnicoll/1.7.2-dev-uri2
Remove any / from the end of a URI
2014-07-31 21:27:35 +02:00
langerhans
27d0ec9776 Merge pull request #583 from stapler117/1.7.2-stapler-keys
stapler117's pgp keys
2014-07-31 21:26:46 +02:00
stapler117
4ccc32b393 stapler117's pgp keys 2014-07-26 01:52:58 -05:00
Ross Nicoll
b03b1e1ef6 Merge pull request #578 from patricklodder/1.7.2-dev-libpng-mirror
[minor] change libpng mirror
2014-07-24 20:48:52 +01:00
Ross Nicoll
05a1c4599a Added code to catch and remove any / from URI path elements.
Changed how URI path has path separators removed to be once the URI is parsed,
rather than when it is received by the application.
2014-07-24 20:09:11 +01:00
Patrick Lodder
22afd48a60 Changed libpng mirror to sourceforge
The libpng ftp site is a bit unreliable at times, over the course
of a month it has been rejecting access to me more than a couple
of times. Changed url to sourceforge.
2014-07-15 21:36:11 +02:00
langerhans
02a9d1c7f3 Merge pull request #575 from patricklodder/1.7.2-dev-gitian-dep-sigs
[minor] Fix expected SHA256 hashes for dogecoin-deps-*
2014-07-14 19:06:04 +02:00
Patrick Lodder
d8b11e533d Fix expected SHA256 hashes for dependencies in release-process.md
Because we use a different bdb version than bitcoin, SHA256 of
dogecoin-deps-* gitian built files are different. New hashes
match both langerhans' 1.7.2-Beta-1 committed sigs at
https://github.com/dogecoin/gitian.sigs and my own.
2014-07-14 12:10:16 +02:00
Ross Nicoll
672f04806e Merge pull request #573 from langerhans/1.7.2-revert-ico
Revert "change icons to version with 7 images"
v1.7.2-Beta-1
2014-07-13 15:09:42 +01:00
langerhans
7a8151ad01 Revert "change icons to version with 7 images"
This reverts commit 08dfa3ab81aaa5d8e519479954d3571464548177.
2014-07-13 16:07:06 +02:00
langerhans
90023110c5 Merge pull request #572 from nameEO/patch-2
Update bitcoin_ko_KR.ts
2014-07-11 21:20:47 +02:00
nameEO
fb627c52ca Update bitcoin_ko_KR.ts
How to Pronounce Doge.
many way
Much confuse!

I found "Importing..." twice.
So delete one.

Some "location line" update.


thanks.
2014-07-11 15:09:08 +09:00
Ross Nicoll
d5f76ba4cc Merge pull request #570 from langerhans/btc-0.9-batch6
Looks good.
2014-07-10 21:26:25 +01:00
Wladimir J. van der Laan
9a6ff623fe rpc: Add acceptors only when listening succeeded
Rebased-From: 6afa493
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-07-09 17:34:38 +02:00
Wladimir J. van der Laan
c7d61f3d4b rpc: Ignore and log errors during cancel
Cancelling the RPC acceptors can sometimes result in an error about
a bad file descriptor.

As this is the shutdown sequence we need to continue nevertheless,
ignore these errors, log a warning and proceed.

Fixes #4352.
2014-07-09 17:34:20 +02:00
Wladimir J. van der Laan
91b241f633 gitian: make linux qt intermediate deterministic
Make the instdate for lrelease etc deterministic. This should have been
part of 0.9.2. Luckily this doesn't affect the end product, it is just
a bit annoying.

Rebased-From: 386e732
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-07-09 17:31:37 +02:00
Wladimir J. van der Laan
aca6b9dade fix download link and release in release notes 2014-07-09 17:31:03 +02:00
Wladimir J. van der Laan
8a28cc0dce add 0.9.2rc2 changes to release notes 2014-07-09 17:30:40 +02:00
Jeff Garzik
84196ee050 CWallet: fix nTimeFirstKey init, by making constructor init common code
Don't repeat yourself etc.

Rebased-From: d04fd3e
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-07-09 17:30:21 +02:00
Wladimir J. van der Laan
8465a714f8 gitian: upgrade OpenSSL to 1.0.1h 2014-07-09 17:29:59 +02:00
tm314159
ef247ba774 Properly initialize CWallet::nTimeFirstKey
Rebased-From: 91855f2
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-07-09 17:20:24 +02:00
Huang Le
351b463462 Use pnode->nLastRecv as sync score directly
NodeSyncScore() should find the node which we recv data most recently, so put a negative sign to pnode->nLastRecv is indeed wrong.

Also change the return value type to int64_t.

Signed-off-by: Huang Le <4tarhl@gmail.com>
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 09a54a6
2014-07-09 17:20:12 +02:00
Pieter Wuille
a74d770e02 Limit number of known addresses per peer
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 5823449
2014-07-09 17:19:32 +02:00
Cory Fields
327f6e612b osx: Fix missing dock menu with qt5
Qt5 Removed the qt_mac_set_dock_menu function and left no replacement. It was
later re-added and deprecated for backwards-compatibility.

Qt5.2 adds the non-deprecated QMenu::setAsDockMenu(). Use that when possible.

Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: c21c74b
2014-07-09 17:19:16 +02:00
Pieter Wuille
f5f3212aad No references to centralized databases in help text.
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: b5ef85c
2014-07-09 17:18:40 +02:00
Cozz Lovan
b953b13b62 [Qt] Fix Start bitcoin on system login
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 066d9a5
2014-07-09 17:17:40 +02:00
Wladimir J. van der Laan
525871bd66 Add preliminary release notes for 0.9.2 2014-07-09 17:17:18 +02:00
Gavin Andresen
b983fff4a1 Add Tips and Tricks section to README 2014-07-09 17:15:04 +02:00
Wladimir J. van der Laan
ab25bec2ea Replace non-threadsafe gmtime and setlocale
Make DateTimeStrFormat use boost::posix_time.

Also re-enable the util_DateTimeStrFormat tests, as they are no
longer platform specific.

Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 3e8ac6a
2014-07-09 17:12:18 +02:00
Wladimir J. van der Laan
bc678a3ec8 Replace non-threadsafe strerror
Log the name of the error as well as the error code if a network problem
happens. This makes network troubleshooting more convenient.

Use thread-safe strerror_r and the WIN32 equivalent FormatMessage.

Conflicts:
 src/netbase.cpp
2014-07-09 17:11:55 +02:00
Pieter Wuille
e52d5c58a0 Add missing LOCK(cs_main)
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 305ccaa
2014-07-09 17:09:02 +02:00
Kamil Domanski
74b9211caf remove ParseString(...) which is never used
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: be54b87
2014-07-09 17:02:23 +02:00
Kamil Domanski
2f69f6c80d switch from boost int types to <stdint.h>
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 4b61a6a, 3e74ac2, d56e30c
Github-Pull: #4129
2014-07-09 17:02:13 +02:00
Stuart Cardall
7c8d9db4e4 SetupEnvironment() - clean commit 2014-07-09 17:01:36 +02:00
Pieter Wuille
20111387a7 Move base58.h implementation code to base58.cpp
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: f6b7c64
2014-07-09 16:36:24 +02:00
Ross Nicoll
937f65e9d1 Merge pull request #564 from langerhans/btc-0.9.2-batch-5
BTC 0.9.2 batch 5
2014-06-30 18:58:00 +01:00
Peter Todd
d3fd2ce6b0 Fix script test handling of empty scripts
Previously an empty script would evaluate to OP_0
2014-06-29 16:15:37 +02:00
Wladimir J. van der Laan
d3a1449294 rpc: keep track of acceptors, and cancel them in StopRPCThreads
Fixes #4156.

The problem is that the boost::asio::io_service destructor
waits for the acceptors to finish (on windows, and boost 1.55).

Fix this by keeping track of the acceptors and cancelling them before
stopping the event loops.
2014-06-29 16:05:47 +02:00
Philip Kaufmann
ea4d67f3dc replace custom GetFilesize() with boost::filesystem::file_size() 2014-06-29 16:00:10 +02:00
Wladimir J. van der Laan
7e3dbfd248 rpc: keep track of acceptors 2014-06-29 15:38:48 +02:00
Wladimir J. van der Laan
be18e2304e doc change, rpctimeout removed 2014-06-29 15:38:47 +02:00
Wladimir J. van der Laan
5d60b1829b rpc: Make sure conn object is always cleaned up
Make sure conn object always gets cleaned up by using a
`boost::shared_ptr`.

This makes valgrind happy - before this commit, one connection object
always leaked at shutdown, as well as can avoid other leaks, when
for example an exception happens.

Also add an explicit Close() to the !ClientAllowed path to make it similar
to the normal path (I'm not sure whether it is needed, but it
can't hurt).
2014-06-29 15:38:47 +02:00
Wladimir J. van der Laan
623ed78353 rpc: pass errors from async_accept
According to the [boost::asio documentation](http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_socket_acceptor/async_accept/overload2.html),
the function signature of the handler must be:

    void handler(
      const boost::system::error_code& error // Result of operation.
    );

We were binding *all* the arguments, instead of all but the error,
resulting in nullary function that never got the error. Fix this
by adding an input argument substitution.
2014-06-29 15:38:46 +02:00
shshshsh
876a2fb5b1 Switch stdout to line buffering
Use line buffering (instead of block buffering) so that messages arrive
immediately in systemd-journald, tail -f debug.log, and the like.

Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 283e405
2014-06-29 15:38:46 +02:00