Commit graph

6108 commits

Author SHA1 Message Date
langerhans 3d1362fdb3 Merge pull request #590 from sigwo/1.8-dev
version bump
2014-08-04 18:51:09 +02:00
langerhans d6f31559b1 Merge pull request #587 from rnicoll/1.8-dev-version
Updated version number to 1.8
2014-08-04 18:51:03 +02:00
Patrick Lodder 29bc6bb660 Check against the right aux block version number
Previous commit 9e9babb was based on a wrong assumption, actual
CBlockHeader->nVersion for auxpow blocks is
CBlockHeader::CURRENT_VERSION | (AUXPOW_CHAIN_ID
   * BLOCK_VERSION_CHAIN_START)

and not BLOCK_VERSION_AUXPOW
2014-08-04 18:18:24 +02:00
Patrick Lodder 766c9a0651 Break testnet difficulty reset out of never matching condition.
Testnet resets difficulty if after 2 minutes no block has been
found. However, this feature was implemented with the condition
to only trigger on blocks where no retargeting is done. Since
the introduction of DigiShield, we retarget at every block,
making this condition never to be matched. This commit removes
that condition.

WARNING: THIS COMMIT HARDFORKS THE DOGECOIN TESTNET!

The main network is not affected by this change.
2014-08-04 14:14:36 +02:00
sigwo d29fef977e version bump
version bump
2014-08-04 08:11:04 -04:00
Patrick Lodder 07f31a38f4 Tidy up retargeting code and debug.log output.
- remove unused int64_t retargetSpacing
- modulate timespan in an isolated int64_t nModulatedTimespan
- keep nActualTimespan intact, to retain the original value
- compress debug.log output from 5 into 3 lines while retaining
  all information.
2014-08-04 11:05:47 +02:00
Ross Nicoll fe1fc8fb56
Updated version number to 1.8. 2014-08-04 01:26:49 +01:00
Ross Nicoll fee8930ddf
Revert unneeded changes introduced as a side-effect AuxPoW. 2014-08-04 01:14:29 +01:00
langerhans 98b93577d2 Merge pull request #584 from patricklodder/1.8-dev-auxpow
Enable auxpow for Dogecoin
2014-08-03 23:43:37 +02:00
Patrick Lodder 9e9babb761 Make version check in UpdateTip() consider auxpow block version 2014-08-03 17:05:59 +02:00
Patrick Lodder 4456764bd3 Set chain id to 0x0062
0x0062 is 98 in decimal. Dedicated to Josh Wise.
2014-08-03 17:05:59 +02:00
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"
2014-07-13 15:09:42 +01:00
langerhans 7a8151ad01 Revert "change icons to version with 7 images"
This reverts commit 08dfa3ab81.
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