aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-17Merge #5765: Implement BIP66 (0.8)v0.8-finalWladimir J. van der Laan
2015-02-06Backport of some of BIP66's testsPieter Wuille
2015-02-06Raise version of created blocks, and enforce DERSIG in mempoolPieter Wuille
2015-02-06Implement BIP 66 validation rules and switchover logicPieter Wuille
2015-01-12Improve robustness of DER recoding codeWladimir J. van der Laan
Add some defensive programming on top of #5634. This copies the respective OpenSSL code in ECDSA_verify in OpenSSL pre-1.0.1k (e.g. https://github.com/openssl/openssl/blob/OpenSSL_1_0_1j/crypto/ecdsa/ecs_vrf.c#L89) more closely. As reported by @sergiodemianlerner. Github-Pull: #5640 Rebased-From: c6b7b29f232c651f898eeffb93f36c8f537c56d2
2015-01-10fail immediately on an empty signatureCory Fields
Github-Pull: #5634 Rebased-From: 8dccba6a45db0466370726ed462b9da2eae43bce
2015-01-10consensus: guard against openssl's new strict DER checksCory Fields
New versions of OpenSSL will reject non-canonical DER signatures. However, it'll happily decode them. Decode then re-encode before verification in order to ensure that it is properly consumed. Github-Pull: #5634 Rebased-From: 488ed32f2ada1d1dd108fc245d025c4d5f252783
2013-12-05Release notes for 0.8.6v0.8.6rc1v0.8.6Wladimir J. van der Laan
2013-12-05leveldb: Use native Darwin memory barrierstheuni
2013-12-05LevelDB: use PosixWriteableFile only on MacOS XWarren Togami
mmap is proven on the other platforms, we are not changing it at the last moment before release.
2013-12-05dont use mmap in leveldb, this is a marginal performance hitPatrick Strateman
fail on short writes Ensure new files referred to by the manifest are in the filesystem.
2013-12-05Prevent empty transactions from being added to vtxPrevWladimir J. van der Laan
CWalletTx::AddSupportingTransactions() was adding empty transaction to vtxPrev in some cases. Skip over these. Part one of the solution to #3190. This prevents invalid vtxPrev from entering the wallet, but not current ones being transmitted.
2013-12-05Refuse to retransmit transactions without vinsWladimir J. van der Laan
Versions of bitcoin before 0.8.6 have a bug that inserted empty transactions into the vtxPrev in the wallet, which will cause the node to be banned when retransmitted, hence add a check for !tx.vin.empty() before RelayTransaction.
2013-12-05qt: use deleteLater to remove send entriesWladimir J. van der Laan
Use deleteLater() instead of delete, as it is not allowed to delete widgets directly in an event handler. Should solve the MacOSX random crashes on send with coincontrol. Rebased-From: 6c98cca9e47ddb9c786cd3f0445175c378515e0d
2013-12-05release notes: add warning about 32-bit systemsWladimir J. van der Laan
2013-12-05Fix typo: make default maxblocksize 350k (not 300)Gavin Andresen
2013-12-05Bitcoin-Qt: Fix display of window when bitcoin: URI is openedPhilip Kaufmann
WalletView: - add new signal showNormalIfMinimized() - emit the new signal in handleURI() to fix a bug, preventing the main window to show up when using bitcoin: URIs Upstream: dbc0a6aba2cf94aa1b167145a18e0b9c671aef5b
2013-12-05Fix typo in a comment: it's base58, not base48.Timothy Stranex
2013-12-05Don't attempt to resize vector to negative size.Robert Backhaus
2013-12-05fix memory leak in CKey::SetCompactSignature()Daniel Larimer
2013-12-05Fix memory leak on exception in Key::SignCompactDaniel Larimer
2013-12-05Made the build/release process completable verbatim as listed inMicha
release-process.md Conflicts: doc/release-process.md
2013-12-05Create parent directories if needed in GetDataDirWladimir J. van der Laan
One-line change. Fixes #2752.
2013-12-05Add wtogami to gitian download scripts.Warren Togami
2013-12-05fix comment about dust logicCozz Lovan
Conflicts: src/core.h
2013-12-05Update HomeBrew osx makefile patch to account for recent changes to makefileMichael Ford
2013-12-05Make the rand tests determinstic. (fixes #2714)Gregory Maxwell
This avoids spurious errors with the old tests but still tests enough that if the rng is replaced with a totally broken one it should still fail.
2013-12-05Fix typo in README.mdMark Friedenbach
2013-12-05fix typo in README.mdHan Lin Yap
2013-12-05fix invalid conversion error with MinGW 4.8.1 in net.cppPhilip Kaufmann
- fixes src\net.cpp:1601: Error:invalid conversion from 'void*' to 'const char*' [-fpermissive] in a setsockopt() call on Win32 that was found by using MinGW 4.8.1 compiler suite
2013-12-05Bugfix: Move boost/version include from db.cpp to walletdb.cpp where ↵Luke Dashjr
BOOST_VERSION is used
2013-12-05Add missing 0x prefix in chainparams.cppRoman Mindalev
Conflicts: src/chainparams.cpp
2013-12-05Explictly cast calculation to int, to allow std::max to work.Robert Backhaus
2013-11-28Lower maximum size for free transaction creationGavin Andresen
Changes the maximum size of a free transaction that will be created from 10,000 bytes to 1,000 bytes. The idea behind this change is to make the free transaction area available to a greater number of people; with the default 27K-per-block, just three very-large very-high-priority transactions could fill the space.
2013-11-28Remove CENT-output free transaction rule when relayingGavin Andresen
Remove the (relay/mempool) rule that all outputs of free transactions must be greater than 0.01 XBT. Dust spam is now taken care of by making dusty outputs non-standard.
2013-11-28Increase default -blockmaxsize/prioritysize to 300K/30KGavin Andresen
2013-11-28Store and use a sanitized subVerMike Hearn
Rebased-from: a946aa8d3ec7009ac670eeb65a525efe5eeb6e84
2013-11-28Add some additional logging to give extra network insight.Mike Hearn
2013-11-28special case DoS value == 0 in ProcessMessage()Philip Kaufmann
- prevents unneeded log messages, which could make users think something bad was happening Squashed: style-police code cleanup
2013-11-28Refactor: pull alert string sanitization into utilGavin Andresen
Rebased-from: 17faf562629cd27f00fc138e218ebcc1ce071765
2013-11-28Silence useless warning in src/json/json_spirit_writer_template.h to make ↵Warren Togami
important warnings easier to see. warning: typedef ‘Char_type’ locally defined but not used [-Wunused-local-typedefs]
2013-11-28Squashed 'src/leveldb/' changes from be1b0ff..be91006Wladimir J. van der Laan
936b461 Merge upstream LevelDB 1.13. 748539c LevelDB 1.13 git-subtree-dir: src/leveldb git-subtree-split: be9100673b05cec1662a54d0b7a59e4317fdda86
2013-11-26Bump version numbers for 0.8.6 releaseWladimir J. van der Laan
2013-11-26osx: fix bitcoin-qt startup crash when clicking dock iconCory Fields
Crash probably introduced by 4d17a1b0. Inialize the window to NULL and verify it before use. Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2013-11-26Fix build date for from-tarball buildsPieter Wuille
2013-11-26exclude CreatePidFile() function on WIN32 as it is unusedPhilip Kaufmann
2013-11-26Porting MinGW multithreading bugfix to makefile.mingwphelixbtc
Original fix: https://github.com/bitcoin/bitcoin/commit /8864019f6d88b13d3442843d9e6ebeb8dd938831
2013-11-26Hurricane Electric uses block 2001:470::, not 2011:470::David Hill
2013-11-26More fixes for blockchain corruption on OSX.Gregory Maxwell
As we'd previously learned, OSX's fsync is a data eating lie. Since 0.8.4 we're still getting some reports of disk corruption on OSX but now all of it looks like the block files have gotten out of sync with the database. It turns out that we were still using fsync() on the block files, so this isn't surprising.
2013-11-26make -logtimestamps default on and rework help-messagePhilip Kaufmann
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com> Rebased-From: 959e62f