aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-09-05check tx.CheckTransaction for data-driven tx tests.Matt Corallo
(and change so that only one case has to fail to make a tx_invalid test correct)
2012-09-05Bump version number for 0.7.0rc2v0.7.0rc2Gavin Andresen
2012-09-05Merge branch 'testnet_alert' of git://github.com/gavinandresen/bitcoin-gitGavin Andresen
2012-09-05Correct LoadWallet() return value (false -> DB_LOAD_OK)xanatos
Equivalent code. (false == 0 == DB_LOAD_OK). Fixes #1706.
2012-09-04Merge pull request #1789 from Diapolo/fix_double_StartuptimeJeff Garzik
remove double logging of startup time, when !fLogTimestamps
2012-09-05remove double logging of startup time, when !fLogTimestampsPhilip Kaufmann
2012-09-05fix signed/unsigned usage in BlockFilePath()Philip Kaufmann
2012-09-04Add block file naming helper, BlockFilePath()Jeff Garzik
2012-09-04init.cpp: fix build error, and possibly-uninit'd warningJeff Garzik
2012-09-04Merge pull request #1427 from rebroad/StartTimeFixJeff Garzik
No need to log start time if it's already being done on every line.
2012-09-04Merge pull request #1777 from laanwj/2012_09_eliminate_sprintfJeff Garzik
Remove last occurrence of potentially insecure function sprintf
2012-09-04Merge pull request #1779 from xanatos/patch-15Jeff Garzik
Useless vector declaration
2012-09-04Merge pull request #1738 from laanwj/2012_08_boostthreadJeff Garzik
implement CreateThread with boost::thread
2012-09-03Merge pull request #1743 from xanatos/patch-14Wladimir J. van der Laan
Changed nprev->pprev
2012-09-03Merge pull request #1728 from xanatos/patch-11Wladimir J. van der Laan
Removed duplicated lock
2012-09-03Useless vector declarationxanatos
The vector isn't referenced in the small code block it's declared. I don't see any "useful" side effect in its declaration.
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-01No need to log start time if it's already being done on every line.R E Broadley
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-29Rename CreateThread to NewThreadWladimir J. van der Laan
Prevent clash with win32 API symbol
2012-08-29Merge pull request #1745 from gmaxwell/irc_fixesJeff Garzik
Misc IRC fixes.
2012-08-29implement CreateThread with boost::threadWladimir J. van der Laan
I'm not sure why this wasn't done before. - Removes typedef of pthread_t on Windows, which fixes a native compile issue on mingw.
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-28Give testnet it's own alert key.Gavin Andresen
2012-08-28Refactor: move alert code from main to alert.cpp/hGavin Andresen
2012-08-28Changed nprev->pprevxanatos
It should be pprev, because the next one is pnext, and it's printing the memory address of the CBlockIndex (so pSomething).
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-27Removed duplicated lockxanatos
Around line 167 there is already a LOCK(bitdb.cs_db) that covers everything. Re-locking is useless.