aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-14Update supported translationsLuke Dashjr
2012-11-14Merge branch '0.4.x' into 0.5.xLuke Dashjr
Conflicts: src/bitcoinrpc.cpp
2012-11-12don't use memset() in privacy/security relevant code partsPhilip Kaufmann
As memset() can be optimized out by a compiler it should not be used in privacy/security relevant code parts. OpenSSL provides the safe OPENSSL_cleanse() function in crypto.h, which perfectly does the job of clean and overwrite data. For details see: http://www.viva64.com/en/b/0178/ - change memset() to OPENSSL_cleanse() where appropriate - change a hard-coded number from netbase.cpp into a sizeof()
2012-11-12Qt: small header changes / fixesPhilip Kaufmann
- ensure header inclusion guard is named after the header file - add missing comments at the end of some inclusion guards - add a small Qt5 compatibility fix in macdockiconhandler.h
2012-11-12fix some double-spaces in stringsPhilip Kaufmann
(partial of 6b3783a9c9cc47afcf72aa0a86ea26122392efdb)
2012-11-12fix some double-spaces in stringsPhilip Kaufmann
(partial of 6b3783a9c9cc47afcf72aa0a86ea26122392efdb)
2012-11-12Fixes a race condition in CreateNewBlock.Gregory Maxwell
CreateNewBlock was reading pindexBest at the start before taking the lock so it was possible to have the the block content not match the prevheader. (Partial of faff50d129b6d4b9e6397ac989218e83a26ae692)
2012-11-12ensure AskPassphraseDialog::eventFilter forwards eventsPhilip Kaufmann
- instead of "return false;" use "return QDialog::eventFilter(object, event);" to harmonize this event filter with our default behaviour (partial of 83a3fb81f3da38461457e8dcdf5baf27b662a4b3)
2012-10-15Update supported translationsLuke Dashjr
2012-10-15fix wrong (signed/unsigned) printf format specifier in bitcoinrpc.cppPhilip Kaufmann
- also includes the required bitcoinstrings.cpp update
2012-10-09Update supported translationsLuke Dashjr
2012-10-09Merge branch '0.4.x' into 0.5.xLuke Dashjr
Conflicts: src/bitcoinrpc.cpp src/init.cpp
2012-10-09Avoid crashes at shutdown due to printf() in global destructors.Gavin Andresen
2012-10-09Send --help message to stdout i.s.o stderrWladimir J. van der Laan
This allows fun stuff such as `bitcoin --help | less`, and more easy piping to files. Looking at other tools such as bash, gcc, they all send their help text to stdout.
2012-10-09When encrypting the wallet, warn user that old backups will become useless.Rune K. Svendsen
Don't include HTML in translation strings. Do split the huge message over several lines. Prettier lines
2012-10-09Add a backup warning to the encryptwallet RPC commandkjj2
2012-10-09toHTML won't add empty wtx.mapValue elementsxanatos
As the code was before, toHTML added empty elements to mapValue to check for their existance. Now first it check for their existance and then for their non-emptiness. Removed a duplicated identical if There are two equal ifs, one inside another. If the first one is true, then the second one is true.
2012-10-09Compile/link Bitcoin-Qt.app with -pthreadGavin Andresen
2012-10-09Update Bugreport Linksfanquake
Update Qt Links Revert Qt source link Update Qt links PARTIAL of e1eb3d4
2012-10-09Change hotkey for "Send" button to "e" since "S" is already used for ↵Philip Kaufmann
"Settings" menu Partial of upstream da9413d9134a7534369a55422cadc3fdd91ba608
2012-09-17Merge branch '0.4.x' into 0.5.xLuke Dashjr
2012-09-17Apply BIP30 checks to all blocks except the two historic violations.Gregory Maxwell
Matt pointed out some time ago that there existed a minor DOS attack where a node in its initial block download could be wedged by an overwrite attack in a fork created between checkpoints before a time where BIP30 was enforced. Now that the BIP30 timestamp is irreversibly past the check can be more aggressive and apply to all blocks except the two historic violations.
2012-09-11Update supported translationsLuke Dashjr
2012-09-11Apply MIT license to md2k7 artLuke Dashjr
[21:48:14] <md2k7> feel free to make it MIT if you like
2012-09-10Docs Tidy upfanquake
Partial of f00a0dcfed248186811ae596dbe42f83c8550b31.
2012-09-10Bugfix: Correct doubled-up &amp;amp; in translations and remove extra spaces ↵Luke Dashjr
after ampersand in translations (this fixes hotkeys) Partial of upstream 4ee706243c670bf308123792d026d7dab6b5ae69.
2012-09-10Merge branch '0.4.x' into 0.5.xLuke Dashjr
2012-09-10select(): Use precise fd presence check, rather than imprecise hSocketMax testJeff Garzik
2012-09-10Bugfix: Don't consider invalid listening socket in hSocketMaxLuke Dashjr
Fixed upstream in 8f10a2889089af1b2ac64802360494b54c8c7ff1.
2012-09-06Update supported translationsLuke Dashjr
2012-09-06Merge branch '0.4.x' into 0.5.xLuke Dashjr
2012-09-06Correct LoadWallet() return value (false -> DB_LOAD_OK)xanatos
Equivalent code. (false == 0 == DB_LOAD_OK). Fixes #1706.
2012-09-06Remove json/*.cpp from Qt build systemWladimir J. van der Laan
They are unneeded as jsonspirit is always used as template library, the other makefiles don't include them either.
2012-08-28Update supported translationsLuke Dashjr
2012-08-27Merge branch '0.4.x' into 0.5.xLuke Dashjr
Conflicts: contrib/Bitcoin.app/Contents/Info.plist doc/README doc/README_windows.txt share/setup.nsi src/serialize.h
2012-08-27Bump version to 0.4.8Luke Dashjr
2012-08-27Special-case the last alert for alert-key-compromised caseGavin Andresen
Hard-code a special nId=max int alert, to be broadcast if the alert key is ever compromised. It applies to all versions, never expires, cancels all previous alerts, and has a fixed message: URGENT: Alert key compromised, upgrade required Variations are not allowed (ignored), so an attacker with the private key cannot broadcast empty-message nId=max alerts.
2012-08-27Alert system DoS preventionGavin Andresen
This fixes two alert system vulnerabilities found by Sergio Lerner; you could send peers unlimited numbers of invalid alert message to try to either fill up their debug.log with messages and/or keep their CPU busy checking signatures. Fixed by disconnecting/banning peers if they send 10 or more bad (invalid/expired/cancelled) alerts.
2012-08-26Merge branch '0.4.x' into 0.5.xLuke Dashjr
2012-08-26Support sending to script (P2SH) addressesLuke Dashjr
Upstream partials from 9e470585b35a84fcb7f6aa41ac0216c117e2a5e1, e679ec969c8b22c676ebb10bea1038f6c8f13b33, and 922e8e2929a2e78270868385aa46f96002fbcff3.
2012-08-26Merge branch '0.4.x' into 0.5.xLuke Dashjr
2012-08-26Checkpoint at block 185333 (and remove a couple of intermediate checkpoints)Gavin Andresen
2012-08-26Override progress bar on platforms with segmented progress barsWladimir J. van der Laan
Windows & WindowsXP style have a problem with displaying the block progress. Add a custom stylesheet as workaround, but only when one of those renderers is active, otherwise leave the theme alone (issue #1071).
2012-08-26Minimal adaptations to getmemorypool for BIP 34Luke Dashjr
- As long as version 1 blocks are valid, provide them to getmemorypool clients (only) - Include BIP 22 "height" key in getmemorypool output
2012-08-26Merge branch '0.4.x' into 0.5.xLuke Dashjr
Conflicts: src/main.cpp
2012-08-26Reject block.nVersion<=1 blocks if network has upgraded to version=2Gavin Andresen
If 950 of the last 1,000 blocks are nVersion=2, reject nVersion=1 (or zero, but no bitcoin release has created block.nVersion=0) blocks -- 75 of last 100 on testnet3. This rule is being put in place now so that we don't have to go through another "express support" process to get what we really want, which is for every single new block to include the block height in the coinbase.
2012-08-26Block height in coinbase as a new block ruleGavin Andresen
"Version 2" blocks are blocks that have nVersion=2 and have the block height as the first item in their coinbase. Block-height-in-the-coinbase is strictly enforced when version=2 blocks are a supermajority in the block chain (750 of the last 1,000 blocks on main net, 51 of 100 for testnet). This does not affect old clients/miners at all, which will continue producing nVersion=1 blocks, and which will continue to be valid.
2012-08-26Add CBlock::CURRENT_VERSION and CTransaction::CURRENT_VERSION constants.Gavin Andresen
Partial of upstream dae3e10a5abe93833c57183b7c00f1db9200f46e
2012-08-26Work around a distcc bug where -MMD output isn't copied.Matt Corallo
2012-08-26update some strings used as warning messages in sendcoinsdialog.cppPhilip Kaufmann