aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-05-23Fix warning when compiling in OS XFederico Bond
2014-05-23qt: Periodic language updateWladimir J. van der Laan
Last-minute language update before release 0.9.2.
2014-05-23Merge pull request #4152Wladimir J. van der Laan
3e8ac6a Replace non-threadsafe gmtime and setlocale (Wladimir J. van der Laan) a60838d Replace non-threadsafe strerror (Wladimir J. van der Laan)
2014-05-23Replace non-threadsafe gmtime and setlocaleWladimir J. van der Laan
Make DateTimeStrFormat use boost::posix_time. Also re-enable the util_DateTimeStrFormat tests, as they are no longer platform specific.
2014-05-23Merge pull request #4212Wladimir J. van der Laan
d90491a Update test_main.cpp (LongShao007)
2014-05-23Merge pull request #4166Wladimir J. van der Laan
b641c9c Fix addnode "onetry": Connect with OpenNetworkConnection (Cozz Lovan)
2014-05-23Replace non-threadsafe strerrorWladimir J. van der Laan
Log the name of the error as well as the error code if a network problem happens. This makes network troubleshooting more convenient. Use thread-safe strerror_r and the WIN32 equivalent FormatMessage.
2014-05-22Update test_main.cppLongShao007
i think should delete (#include "bitcoin-config.h")。
2014-05-22Remove forward declaration for non-existent class CCoinsDBWladimir J. van der Laan
Found by stephenreed on #bitcoin.dev.
2014-05-21Merge pull request #4204Wladimir J. van der Laan
305ccaa Add missing LOCK(cs_main) (Pieter Wuille)
2014-05-21qt: Periodic language updateWladimir J. van der Laan
2014-05-20Add missing LOCK(cs_main)Pieter Wuille
2014-05-20Merge pull request #4197Wladimir J. van der Laan
0b78ba8 Remove fDaemon flag checking on return from main(), which is useless and looks really strange. (Huang Le)
2014-05-20Merge pull request #4199Wladimir J. van der Laan
0a59723 Remove extraneous c_str (R E Broadley)
2014-05-20Remove extraneous c_strR E Broadley
2014-05-20Remove fDaemon flag checking on return from main(), which is useless and ↵Huang Le
looks really strange.
2014-05-19Merge pull request #4173Wladimir J. van der Laan
8c93bf4 LoadBlockIndexDB(): Require block db reindex if any blk*.dat files are missing. (Ashley Holman) 7a0e84d ProcessGetData(): abort if a block file is missing from disk (Ashley Holman)
2014-05-19Merge pull request #4174Wladimir J. van der Laan
5248ff4 SetupEnvironment() - clean commit (Stuart Cardall)
2014-05-13SetupEnvironment() - clean commitStuart Cardall
2014-05-13remove ParseString(...) which is never usedKamil Domanski
2014-05-13removed a few unnecessary castsKamil Domanski
2014-05-13json_spirit: #include <stdint.h>Kamil Domanski
2014-05-13switch from boost int types to <stdint.h>Kamil Domanski
2014-05-13Support IPv6 lookup in bitcoin-cli even when IPv6 only bound on localhostWladimir J. van der Laan
First query in the current way (intelligently determining which network has a non-localhost interface). If this does not succeed, try plain lookup. Needed for testing. Fixes #1827 by always allowing IPv6 to be used.
2014-05-13Add -rpcbind option to allow binding RPC port on a specific interfaceWladimir J. van der Laan
Add -rpcbind command option to specify binding RPC service on one or multiple specific interfaces. Functionality if -rpcbind is not specified remains the same as before: - If no -rpcallowip specified, bind on localhost - If no -rpcbind specified, bind on any interface Implements part of #3111.
2014-05-13Merge pull request #4181Wladimir J. van der Laan
f25e3ad Fix build in OS X 10.9 (Federico Bond)
2014-05-13qt: periodic language updateWladimir J. van der Laan
Pull updated translations from Transifex. Add mn (Mongolian) language. Do not update English translation for now as we want to keep compatibility with 0.9.
2014-05-13Fix build in OS X 10.9Federico Bond
2014-05-12Merge pull request #4142Wladimir J. van der Laan
cef4494 rpc: keep track of acceptors, and cancel them in StopRPCThreads (Wladimir J. van der Laan) 381b25d doc: remove mention of `-rpctimeout` from man page (Wladimir J. van der Laan) 1a44522 rpc: Make sure conn object is always cleaned up (Wladimir J. van der Laan) 0a0cd34 rpc: pass errors from async_accept (Wladimir J. van der Laan)
2014-05-12LoadBlockIndexDB(): Require block db reindex if any blk*.dat files are missing.Ashley Holman
2014-05-12Merge pull request #4138Wladimir J. van der Laan
783b182 Remove dummy PRIszX macros for formatting (Wladimir J. van der Laan)
2014-05-12Merge pull request #4165Wladimir J. van der Laan
f6b7c64 Move base58.h implementation code to base58.cpp (Pieter Wuille)
2014-05-12Merge pull request #4161Wladimir J. van der Laan
938b689 Squashed 'src/leveldb/' changes from 9094c7f..7924331 (Pieter Wuille)
2014-05-12rpc: keep track of acceptors, and cancel them in StopRPCThreadsWladimir J. van der Laan
Fixes #4156. The problem is that the boost::asio::io_service destructor waits for the acceptors to finish (on windows, and boost 1.55). Fix this by keeping track of the acceptors and cancelling them before stopping the event loops.
2014-05-12rpc: Make sure conn object is always cleaned upWladimir J. van der Laan
Make sure conn object always gets cleaned up by using a `boost::shared_ptr`. This makes valgrind happy - before this commit, one connection object always leaked at shutdown, as well as can avoid other leaks, when for example an exception happens. Also add an explicit Close() to the !ClientAllowed path to make it similar to the normal path (I'm not sure whether it is needed, but it can't hurt).
2014-05-12rpc: pass errors from async_acceptWladimir J. van der Laan
According to the [boost::asio documentation](http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/basic_socket_acceptor/async_accept/overload2.html), the function signature of the handler must be: void handler( const boost::system::error_code& error // Result of operation. ); We were binding *all* the arguments, instead of all but the error, resulting in nullary function that never got the error. Fix this by adding an input argument substitution.
2014-05-11Switch stdout to line bufferingshshshsh
Use line buffering (instead of block buffering) so that messages arrive immediately in systemd-journald, tail -f debug.log, and the like.
2014-05-11ProcessGetData(): abort if a block file is missing from diskAshley Holman
2014-05-10Merge pull request #4160Wladimir J. van der Laan
7cd0af7 Move bignum.h to test/ (Pieter Wuille) ccc84e0 Reduce bignum.h now it is only needed for scriptnum_tests (Pieter Wuille)
2014-05-10Move base58.h implementation code to base58.cppPieter Wuille
2014-05-10Fix addnode "onetry": Connect with OpenNetworkConnectionCozz Lovan
2014-05-09fixes #4163Matthew Bogosian
2014-05-09Merge src/leveldb changes for LevelDB 1.17.Pieter Wuille
2014-05-09Move bignum.h to test/Pieter Wuille
2014-05-09Reduce bignum.h now it is only needed for scriptnum_testsPieter Wuille
2014-05-09Merge pull request #4102Wladimir J. van der Laan
21bf3d2 Add tests for BoostAsioToCNetAddr (Wladimir J. van der Laan) fdbd707 Remove unused function WildcardMatch (Wladimir J. van der Laan) ee21912 rpc: Use netmasks instead of wildcards for IP address matching (Wladimir J. van der Laan) e16be73 net: Add CSubNet class for subnet matching (Wladimir J. van der Laan) d864275 Use new function parseint32 in SplitHostPort (Wladimir J. van der Laan) 0d4ea1c util: add parseint32 function with strict error reporting (Wladimir J. van der Laan)
2014-05-09Merge pull request #4076Wladimir J. van der Laan
397668e Deduplicate uint* comparison operator logic (Pieter Wuille) df9eb5e Move {Get,Set}Compact from bignum to uint256 (Pieter Wuille) a703150 Add multiplication and division to uint160/uint256 (Pieter Wuille) 4d480c8 Exception instead of assigning 0 in case of wrong vector length (Pieter Wuille) eb2cbd7 Deduplicate shared code between uint160 and uint256 (Pieter Wuille)
2014-05-09Merge pull request #4134Wladimir J. van der Laan
aa250f0 Remove NumBlocksOfPeers (Wladimir J. van der Laan)
2014-05-09Add tests for BoostAsioToCNetAddrWladimir J. van der Laan
2014-05-09Remove unused function WildcardMatchWladimir J. van der Laan
No longer necessary after implementing netmask-based matching. Also remove a longer-unused function `skipspaces`.