aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | Merge branch 'refactor_times' of git://github.com/luke-jr/bitcoinGavin Andresen2012-09-186-4/+28
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Bugfix: Initialize CWallet::nOrderPosNext on an empty wallet, and save it in dbLuke Dashjr2012-09-086-4/+28
| | | | | | | | | | | |
* | | | | | | | | | | | Bump client version to 0.7.0.99 now that 0.7.0 release is final.Gavin Andresen2012-09-181-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | update comment, secure_allocator is defined in allocators.hWladimir J. van der Laan2012-09-151-1/+1
| |_|_|_|_|_|/ / / / / |/| | | | | | | | | |
* | | | | | | | | | | Bump client version number for 0.7.0rc3v0.7.0rc3v0.7.0Gavin Andresen2012-09-121-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Do not abort if RPC listening for IPv6 failsPieter Wuille2012-09-121-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, fall back to IPv4 listening.
* | | | | | | | | | | Apply BIP30 checks to all blocks except the two historic violations.Gregory Maxwell2012-09-091-3/+6
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Remove VC6 comment and pointless #ifdef'd benchmark codeWladimir J. van der Laan2012-09-091-52/+0
| |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're in a wholly different world now, C++-compiler-wise. Current std::stringstream implementations don't have the stated problem anymore, and are just as fast as CDataStream. The #ifdef'd block does not even compile anymore; CDataStream constructor changed, and missing some std::. Also timing in whole seconds is also way too granular to say anything sensible in such microbenchmarks. Just remove it, it can always be found again in git history.
* | | | | | | | | Merge pull request #1802 from luke-jr/bugfix_tsWladimir J. van der Laan2012-09-092-34/+40
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Update translations from Transifex (100% coverage for Finnish and Chinese (China)
| * | | | | | | | | Update translations from Transifex (100% coverage for Finnish and Chinese ↵Luke Dashjr2012-09-082-34/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (China)
* | | | | | | | | | Merge pull request #1796 from luke-jr/bugfix_tsWladimir J. van der Laan2012-09-0736-4759/+4922
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various translation fixups and restorations
| * | | | | | | | | Partially Bugfix: Update English translation strings and translations from ↵Luke Dashjr2012-09-0836-4759/+4922
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Transifex Bugfix: Correct doubled-up & in translations Bugfix: Remove extra spaces after ampersand in translations (this fixes hotkeys) Restore copyright translations, now split up Restore old translations lost due to changes to English structure Skipped: ca_ES et eu_ES fr_CA (under 10% coverage)
* | | | | | | | | | Merge pull request #1798 from xanatos/patch-19Wladimir J. van der Laan2012-09-071-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Wrong address added to collection in test (address1 instead of address2)
| * | | | | | | | | | Wrong address added to collection in testxanatos2012-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wrong address is added to the collection. As was written a second copy of address1 was added (and so address2 was useless).
* | | | | | | | | | | Bitcoin-Qt (Windows only): add version info to Resource FilePhilip Kaufmann2012-09-074-14/+36
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add version information to bitcoin-qt.rc, which is displayed on Windows, when looking in the executable properties and selecting "Details" - introduce a new clientversion.h (used in bitcoin-qt.rc to generate version information), which takes only the version defines from version.h and is included in it (to allow usage with the windres rc-file compiler) - move #define STRINGIFY(s) #s into clientversion.h as that is used in bitcoin-qt.rc and rename to DO_STRINGIZE(X) - add #define STRINGIZE(X) DO_STRINGIZE(X), which is needed to convert the version defines into a version string in the rc-file - this ensures we only need to update 1 file and have bitcoin-qt.exe version information - for RC-file documentation see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
* | | | | | | | | | Merge pull request #1786 from jgarzik/select-fixWladimir J. van der Laan2012-09-061-3/+7
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | select()'s first argument should be zero, if no file descriptors are selected
| * | | | | | | | | select(): Use precise fd presence check, rather than imprecise hSocketMax testJeff Garzik2012-09-051-3/+7
| | | | | | | | | |
* | | | | | | | | | Fix double-paren typoGavin Andresen2012-09-061-1/+1
| | | | | | | | | |
* | | | | | | | | | replace 2x WSAGetLastError() with 1x WSAGetLastError() callPhilip Kaufmann2012-09-051-2/+3
| |_|/ / / / / / / |/| | | | | | | |
* | | | | | | | | Bump version number for 0.7.0rc2v0.7.0rc2Gavin Andresen2012-09-051-1/+1
| | | | | | | | |
* | | | | | | | | Merge branch 'testnet_alert' of git://github.com/gavinandresen/bitcoin-gitGavin Andresen2012-09-059-293/+349
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Give testnet it's own alert key.Gavin Andresen2012-08-281-1/+4
| | | | | | | | | |
| * | | | | | | | | Refactor: move alert code from main to alert.cpp/hGavin Andresen2012-08-289-293/+346
| | | | | | | | | |
* | | | | | | | | | Correct LoadWallet() return value (false -> DB_LOAD_OK)xanatos2012-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Equivalent code. (false == 0 == DB_LOAD_OK). Fixes #1706.
* | | | | | | | | | Merge pull request #1789 from Diapolo/fix_double_StartuptimeJeff Garzik2012-09-041-1/+0
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | remove double logging of startup time, when !fLogTimestamps
| * | | | | | | | | | remove double logging of startup time, when !fLogTimestampsPhilip Kaufmann2012-09-051-1/+0
| | |/ / / / / / / / | |/| | | | | | | |
* / | | | | | | | | fix signed/unsigned usage in BlockFilePath()Philip Kaufmann2012-09-051-1/+1
|/ / / / / / / / /
* | | | | | | | | Add block file naming helper, BlockFilePath()Jeff Garzik2012-09-041-1/+7
| | | | | | | | |
* | | | | | | | | init.cpp: fix build error, and possibly-uninit'd warningJeff Garzik2012-09-041-2/+2
| | | | | | | | |
* | | | | | | | | Merge pull request #1427 from rebroad/StartTimeFixJeff Garzik2012-09-041-0/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | No need to log start time if it's already being done on every line.
| * | | | | | | | | No need to log start time if it's already being done on every line.R E Broadley2012-09-011-0/+2
| | | | | | | | | |
* | | | | | | | | | Merge pull request #1777 from laanwj/2012_09_eliminate_sprintfJeff Garzik2012-09-041-10/+8
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Remove last occurrence of potentially insecure function sprintf
| * | | | | | | | | | Remove last occurrence of potentially insecure function sprintf.Wladimir J. van der Laan2012-09-031-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | %d can return up to 11 characters. Move away from fixed buffer completely and use our own safe function strprintf.
* | | | | | | | | | | Merge pull request #1779 from xanatos/patch-15Jeff Garzik2012-09-041-1/+0
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Useless vector declaration
| * | | | | | | | | | | Useless vector declarationxanatos2012-09-031-1/+0
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | The vector isn't referenced in the small code block it's declared. I don't see any "useful" side effect in its declaration.
* | | | | | | | | | | Merge pull request #1738 from laanwj/2012_08_boostthreadJeff Garzik2012-09-049-79/+40
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | implement CreateThread with boost::thread
| * | | | | | | | | | | Rename CreateThread to NewThreadWladimir J. van der Laan2012-08-299-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent clash with win32 API symbol
| * | | | | | | | | | | implement CreateThread with boost::threadWladimir J. van der Laan2012-08-292-52/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | Merge pull request #1743 from xanatos/patch-14Wladimir J. van der Laan2012-09-031-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Changed nprev->pprev
| * | | | | | | | | | | | Changed nprev->pprevxanatos2012-08-281-1/+1
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | It should be pprev, because the next one is pnext, and it's printing the memory address of the CBlockIndex (so pSomething).
* | | | | | | | | | | | Merge pull request #1728 from xanatos/patch-11Wladimir J. van der Laan2012-09-031-4/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | | Removed duplicated lock
| * | | | | | | | | | | Removed duplicated lockxanatos2012-08-271-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Around line 167 there is already a LOCK(bitdb.cs_db) that covers everything. Re-locking is useless.
* | | | | | | | | | | | Merge pull request #1774 from luke-jr/refactor_timesGavin Andresen2012-09-023-6/+12
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / | |/| | | | | | | | | | Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list
| * | | | | | | | | | | Bugfix: Require OrderedTxItems to provide properly scoped accounting entry listLuke Dashjr2012-09-023-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | Merge pull request #1761 from Diapolo/timeout_descWladimir J. van der Laan2012-09-021-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | add default value in -timeout description
| * | | | | | | | | | | add default value in -timeout descriptionPhilip Kaufmann2012-08-301-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #1771 from luke-jr/bugfix_bip22_modeJeff Garzik2012-09-011-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided
| * | | | | | | | | | | Bugfix: getblocktemplate: Accept optional "mode" parameter not being providedLuke Dashjr2012-09-011-0/+4
| | | | | | | | | | | |
* | | | | | | | | | | | RPC console: escaping within ' and " now handled differentlyWladimir J. van der Laan2012-09-011-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should now mimic bash quoting and escaping (see http://wiki.bash-hackers.org/syntax/quoting) exactly, leaving out argument expansion and obscure syntax like $''.
* | | | | | | | | | | | Merge pull request #1758 from laanwj/2012_08_uiconsole_parsingGregory Maxwell2012-08-311-22/+111
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | | Fix RPC console parser to handle escaped arguments more like bash