aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-09-03Remove last occurrence of potentially insecure function sprintf.Wladimir J. van der Laan
%d can return up to 11 characters. Move away from fixed buffer completely and use our own safe function strprintf.
2012-09-02Merge pull request #1774 from luke-jr/refactor_timesGavin Andresen
Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list
2012-09-02Merge pull request #1761 from Diapolo/timeout_descWladimir J. van der Laan
add default value in -timeout description
2012-09-02Bugfix: Require OrderedTxItems to provide properly scoped accounting entry listLuke Dashjr
OrderedTxItems returns a multimap of pointers, but needs a place to store the actual CAccountingEntries it points to. It had been using a stack item, which was clobbered as soon as it returned, resulting in undefined behaviour. This fixes at least bug #1768.
2012-09-01Merge pull request #1771 from luke-jr/bugfix_bip22_modeJeff Garzik
Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided
2012-09-01Bugfix: getblocktemplate: Accept optional "mode" parameter not being providedLuke Dashjr
2012-09-01RPC console: escaping within ' and " now handled differentlyWladimir J. van der Laan
Should now mimic bash quoting and escaping (see http://wiki.bash-hackers.org/syntax/quoting) exactly, leaving out argument expansion and obscure syntax like $''.
2012-08-31Merge pull request #1758 from laanwj/2012_08_uiconsole_parsingGregory Maxwell
Fix RPC console parser to handle escaped arguments more like bash
2012-08-31In RPC console, attempt to format errorsWladimir J. van der Laan
Try to display a nicer message instead of dumping raw JSON object when possible. If the error somehow doesn't have the required 'code' and 'message' fields, fall back to printing raw JSON object.
2012-08-31Fix RPC console parser to handle escaped arguments more like bashWladimir J. van der Laan
- Fix issue #1750
2012-08-30add default value in -timeout descriptionPhilip Kaufmann
2012-08-29enable ASLR and DEP for bitcoind.exe via linker flagsPhilip Kaufmann
- this is already active for bitcoin-qt.exe
2012-08-29Merge pull request #1745 from gmaxwell/irc_fixesJeff Garzik
Misc IRC fixes.
2012-08-29Update strings for 0.7.0rc2Wladimir J. van der Laan
2012-08-29Merge pull request #1617 from Diapolo/Show_Hide_stringWladimir J. van der Laan
Update string for Show/Hide in the tray
2012-08-29Merge pull request #1720 from Diapolo/Qt_aboutWladimir J. van der Laan
Qt: add copyrightLabel to aboutdialog.ui
2012-08-29Update string for Show/Hide in the trayPhilip Kaufmann
- be clear we don't "Show/Hide Bitcoins", but just the client window - remove the tooltip for toggleHideAction as this is not shown anyway - update a comment to be more general
2012-08-28Don't retry a failing IRC nickname forever.Gregory Maxwell
If our IRC nick is in use (because some other node thinks it has the same address we think we have) don't fruitlessly try to reconnect using that name forever. After three tries, give up and use a random nick. Either we'll learn a new local address from IRC and switch to that, or it was right and the other guy is advertising for us. This avoids a pessimal case where a second testnet node behind a nat is unable to get any peers because he can't get on IRC.
2012-08-28Don't force IRC off if not listening, do force it off if IPv4 is off.Gregory Maxwell
Previously Bitcoin would refuse to use IRC if it was either not accepting inbound connections or not making outbound. Instead this changes it to not use IRC only if it's not doing either or if IPv4 is off completely. If Bitcoin is not listening this will use the default random nicks rather than the IP based ones.
2012-08-29Bugfix: increase score, not portPieter Wuille
2012-08-27Add boost chrono lib for windows builds (required for boost 1.50)v0.7.0rc1Wladimir J. van der Laan
2012-08-27Version numbers -> 0.7.0Gavin Andresen
2012-08-27Upgrade to Boost 1.50Matt Corallo
2012-08-27Merge branch 'alert_fix' of git://github.com/gavinandresen/bitcoin-gitGavin Andresen
2012-08-27Fix compiler warning on macGavin Andresen
2012-08-27Merge branch 'bugfix_gitian' of git://github.com/luke-jr/bitcoinGavin Andresen
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-27Bugfix: Move boost::interprocess Win32 workaround to Bitcoin-Qt sources, ↵Luke Dashjr
rather than hacking boost in gitian
2012-08-26Alert 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-25Merge branch '2012_08_progressbarwin' of git://github.com/laanwj/bitcoinGavin Andresen
2012-08-25Merge branch 'nozeroout' of git://github.com/sipa/bitcoinGavin Andresen
2012-08-25Merge branch 'checkpoint'Gavin Andresen
2012-08-25Update Czech translation from TransifexWladimir J. van der Laan
2012-08-24Abstract all IPC communication to qtipcserverLuke Dashjr
2012-08-24Override 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-24Merge pull request #1699 from laanwj/2012_08_secureallocPieter Wuille
Handle locked pages more robustly (Fixes issue #1462)
2012-08-24Qt: add copyrightLabel to aboutdialog.uiPhilip Kaufmann
- add a new label, which can be updated independently from the whole license information stuff - the benefit is, we don't need to re-translate that whole wall of text every year the copyright info changes - update to the same copyright string we use in the source and in the bitcoin-qt.exe meta-data information - removes an obsolete entry from the ui-file
2012-08-24Make 0-value outputs non-standardPieter Wuille
2012-08-24Merge pull request #1672 from gmaxwell/filter_listunspentGregory Maxwell
Listunspent txout address filtering and listaddressgroupings
2012-08-24Change CWallet addressgrouping to use CTxDestination instead of strings.Gregory Maxwell
This is cleanup for the listaddressgroupings code. Also add some real help text.
2012-08-24Avoid leaving return types or function attributes on their own lines.Gregory Maxwell
2012-08-23Treat generation (mined) transactions less different from receive transactionsLuke Dashjr
- Show address receiving the generation, and include it in the correct "account" - Multiple entries in listtransactions output if the coinbase has multiple outputs to us
2012-08-23Merge pull request #1431 from luke-jr/opt_ipv6Gregory Maxwell
Make IPv6 support optional again (defaults to enabled)
2012-08-23Allow building with IPv6 support, but it disabled by defaultLuke Dashjr
2012-08-23Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} tooLuke Dashjr
2012-08-23Make IPv6 support buildtime-optional again (defaults to enabled)Luke Dashjr
2012-08-23Add icon for "About Qt" in menuWladimir J. van der Laan
Use the built-in icon that is also used in the dialog box itself.
2012-08-23Add txout address filtering to listunspent.Gregory Maxwell
This applies on top of the coincontrol listaddressgroupings patch and makes finding eligible outputs from the groups returned by listaddressgroupings possible.
2012-08-23Add address groupings RPC from the coincontrol patches.coderrr
Signed-off-by: Gregory Maxwell <greg@xiph.org>
2012-08-23Choose reasonable "smart" times to display for transactionsLuke Dashjr
Logic: - If sending a transaction, assign its timestamp to the current time. - If receiving a transaction outside a block, assign its timestamp to the current time. - If receiving a block with a future timestamp, assign all its (not already known) transactions' timestamps to the current time. - If receiving a block with a past timestamp, before the most recent known transaction (that we care about), assign all its (not already known) transactions' timestamps to the same timestamp as that most-recent-known transaction. - If receiving a block with a past timestamp, but after the most recent known transaction, assign all its (not already known) transactions' timestamps to the block time.