aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-09-22Adds a stopdetach <detach> RPC command. <detach> defaults to true. Works ↵kjj2
just like stop, but overrides the commandline/config file -detachdb option. Useful for upgrading, for example. Lets you use fast stops usually, but force a detach when needed. Also, allows you to do a fast stop in a system normally configured for fast stops.
2012-09-18Merge branch 'testdata' of git://github.com/TheBlueMatt/bitcoinGavin Andresen
2012-09-18When rejected TX relay due to lack of fees, log full txidJeff Garzik
2012-09-18Trim trailing whitespace for src/*.{h,cpp}Jeff Garzik
2012-09-18Merge branch 'master' of github.com:bitcoin/bitcoinGavin Andresen
2012-09-18Give makefiles 'test' and 'check' targets to compile and run unit testsGavin Andresen
2012-09-18Merge pull request #1812 from jgarzik/misc-07Jeff Garzik
Two minor generic cleanups done during OP_DROP hacking
2012-09-18Merge branch 'refactor_times' of git://github.com/luke-jr/bitcoinGavin Andresen
2012-09-18Bump client version to 0.7.0.99 now that 0.7.0 release is final.Gavin Andresen
2012-09-15update comment, secure_allocator is defined in allocators.hWladimir J. van der Laan
2012-09-12Bump client version number for 0.7.0rc3v0.7.0rc3v0.7.0Gavin Andresen
2012-09-12Do not abort if RPC listening for IPv6 failsPieter Wuille
Instead, fall back to IPv4 listening.
2012-09-09Apply 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-09Improve debug logging, for mempool TXs that do not include sufficient feesJeff Garzik
2012-09-09Cosmetic: move CTransaction::GetMinFee out of header fileJeff Garzik
2012-09-09Remove VC6 comment and pointless #ifdef'd benchmark codeWladimir J. van der Laan
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.
2012-09-09Merge pull request #1802 from luke-jr/bugfix_tsWladimir J. van der Laan
Update translations from Transifex (100% coverage for Finnish and Chinese (China)
2012-09-08Update translations from Transifex (100% coverage for Finnish and Chinese ↵Luke Dashjr
(China)
2012-09-07Merge pull request #1796 from luke-jr/bugfix_tsWladimir J. van der Laan
Various translation fixups and restorations
2012-09-08Partially Bugfix: Update English translation strings and translations from ↵Luke Dashjr
Transifex Bugfix: Correct doubled-up &amp;amp; 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)
2012-09-08Bugfix: Initialize CWallet::nOrderPosNext on an empty wallet, and save it in dbLuke Dashjr
2012-09-07Merge pull request #1798 from xanatos/patch-19Wladimir J. van der Laan
Wrong address added to collection in test (address1 instead of address2)
2012-09-07Bitcoin-Qt (Windows only): add version info to Resource FilePhilip Kaufmann
- 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
2012-09-07Wrong address added to collection in testxanatos
The wrong address is added to the collection. As was written a second copy of address1 was added (and so address2 was useless).
2012-09-06Merge pull request #1786 from jgarzik/select-fixWladimir J. van der Laan
select()'s first argument should be zero, if no file descriptors are selected
2012-09-06Fix double-paren typoGavin Andresen
2012-09-05Add various tests for CTransaction::CheckTransaction()Matt Corallo
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-05replace 2x WSAGetLastError() with 1x WSAGetLastError() callPhilip Kaufmann
2012-09-05select(): Use precise fd presence check, rather than imprecise hSocketMax testJeff Garzik
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