aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | Merge pull request #4173Wladimir J. van der Laan2014-05-191-1/+19
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | | | | LoadBlockIndexDB(): Require block db reindex if any blk*.dat files are missing.Ashley Holman2014-05-121-0/+18
| | | | | | | | | | |
| * | | | | | | | | | ProcessGetData(): abort if a block file is missing from diskAshley Holman2014-05-111-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #4174Wladimir J. van der Laan2014-05-195-0/+23
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | 5248ff4 SetupEnvironment() - clean commit (Stuart Cardall)
| * | | | | | | | | | SetupEnvironment() - clean commitStuart Cardall2014-05-135-0/+23
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #4182Wladimir J. van der Laan2014-05-132-21/+0
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | be54b87 remove ParseString(...) which is never used (Kamil Domanski)
| * | | | | | | | | | remove ParseString(...) which is never usedKamil Domanski2014-05-132-21/+0
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #4129Wladimir J. van der Laan2014-05-139-82/+82
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d56e30c removed a few unnecessary casts (Kamil Domanski) 3e74ac2 json_spirit: #include <stdint.h> (Kamil Domanski) 4b61a6a switch from boost int types to <stdint.h> (Kamil Domanski)
| * | | | | | | | | | removed a few unnecessary castsKamil Domanski2014-05-134-18/+18
| | | | | | | | | | |
| * | | | | | | | | | json_spirit: #include <stdint.h>Kamil Domanski2014-05-131-0/+1
| | | | | | | | | | |
| * | | | | | | | | | switch from boost int types to <stdint.h>Kamil Domanski2014-05-139-81/+80
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #3695Wladimir J. van der Laan2014-05-136-44/+396
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5ad5e7 Add Python test for -rpcbind and -rpcallowip (Wladimir J. van der Laan) f923c07 Support IPv6 lookup in bitcoin-cli even when IPv6 only bound on localhost (Wladimir J. van der Laan) deb3572 Add -rpcbind option to allow binding RPC port on a specific interface (Wladimir J. van der Laan)
| * | | | | | | | | | Add Python test for -rpcbind and -rpcallowipWladimir J. van der Laan2014-05-133-4/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new test, `rpcbind_test.py`, that extensively tests the new `-rpcbind` functionality.
| * | | | | | | | | | Support IPv6 lookup in bitcoin-cli even when IPv6 only bound on localhostWladimir J. van der Laan2014-05-131-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | Add -rpcbind option to allow binding RPC port on a specific interfaceWladimir J. van der Laan2014-05-132-36/+62
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Merge pull request #4181Wladimir J. van der Laan2014-05-131-0/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f25e3ad Fix build in OS X 10.9 (Federico Bond)
| * | | | | | | | | | Fix build in OS X 10.9Federico Bond2014-05-131-0/+1
| | | | | | | | | | |
* | | | | | | | | | | qt: periodic language updateWladimir J. van der Laan2014-05-1372-484/+4414
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Merge pull request #4142Wladimir J. van der Laan2014-05-122-17/+23
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | | | | rpc: keep track of acceptors, and cancel them in StopRPCThreadsWladimir J. van der Laan2014-05-121-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | doc: remove mention of `-rpctimeout` from man pageWladimir J. van der Laan2014-05-121-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That option hasn't existed for a long time.
| * | | | | | | | | | rpc: Make sure conn object is always cleaned upWladimir J. van der Laan2014-05-121-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | | | | | | | | | rpc: pass errors from async_acceptWladimir J. van der Laan2014-05-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | Merge pull request #4138Wladimir J. van der Laan2014-05-1210-40/+28
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 783b182 Remove dummy PRIszX macros for formatting (Wladimir J. van der Laan)
| * | | | | | | | | | | Remove dummy PRIszX macros for formattingWladimir J. van der Laan2014-05-0610-40/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Size specifiers are no longer needed now that we use typesafe tinyformat for string formatting, instead of the system's sprintf. No functional changes. This continues the work in #3735.
* | | | | | | | | | | | Merge pull request #4165Wladimir J. van der Laan2014-05-123-227/+219
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | f6b7c64 Move base58.h implementation code to base58.cpp (Pieter Wuille)
| * | | | | | | | | | | Move base58.h implementation code to base58.cppPieter Wuille2014-05-103-227/+219
| | |_|_|/ / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge pull request #4161Wladimir J. van der Laan2014-05-129-43/+60
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | 938b689 Squashed 'src/leveldb/' changes from 9094c7f..7924331 (Pieter Wuille)
| * | | | | | | | | | Merge src/leveldb changes for LevelDB 1.17.Pieter Wuille2014-05-099-43/+60
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| | * | | | | | | | | Squashed 'src/leveldb/' changes from 9094c7f..7924331Pieter Wuille2014-05-099-43/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42dcc7e Merge upstream LevelDB 1.17. e353fbc Release LevelDB 1.17 269fc6c Release LevelDB 1.16 REVERT: 9094c7f Temporarily revert to writing .sst files instead of .ldb git-subtree-dir: src/leveldb git-subtree-split: 79243314e40ac31d79c68e5658a1d6a64800d50b
* | | | | | | | | | | Merge pull request #4175Wladimir J. van der Laan2014-05-121-0/+2
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | 283e405 Switch stdout to line buffering (shshshsh)
| * | | | | | | | | | Switch stdout to line bufferingshshshsh2014-05-111-0/+2
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use line buffering (instead of block buffering) so that messages arrive immediately in systemd-journald, tail -f debug.log, and the like.
* | | | | | | | | | Merge pull request #4160Wladimir J. van der Laan2014-05-108-670/+182
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7cd0af7 Move bignum.h to test/ (Pieter Wuille) ccc84e0 Reduce bignum.h now it is only needed for scriptnum_tests (Pieter Wuille)
| * | | | | | | | | | Move bignum.h to test/Pieter Wuille2014-05-093-1/+2
| | | | | | | | | | |
| * | | | | | | | | | Reduce bignum.h now it is only needed for scriptnum_testsPieter Wuille2014-05-096-492/+3
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #4164 from mbogosian/masterJeff Garzik2014-05-101-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | | fixes #4163 (lockunspent help docs are (partially) wrong)
| * | | | | | | | | | fixes #4163Matthew Bogosian2014-05-091-1/+1
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #4102Wladimir J. van der Laan2014-05-099-79/+301
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | | | Add tests for BoostAsioToCNetAddrWladimir J. van der Laan2014-05-093-2/+21
| | | | | | | | | |
| * | | | | | | | | Remove unused function WildcardMatchWladimir J. van der Laan2014-05-093-57/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No longer necessary after implementing netmask-based matching. Also remove a longer-unused function `skipspaces`.
| * | | | | | | | | rpc: Use netmasks instead of wildcards for IP address matchingWladimir J. van der Laan2014-05-091-14/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `-rpcallowip` currently has a wacky wildcard-based format. After this commit it will accept the more standard format, for example: - Ranges with netmask 127.0.0.0/255.255.255.0, ::/0 - Ranges with cidr 12.3.4.5/24, 12:34:56:78:9a:bc:de:00/112 - Loose IPs ::1, 127.0.0.1 Trying to use the old *?-based format will result in an error message at launch.
| * | | | | | | | | net: Add CSubNet class for subnet matchingWladimir J. van der Laan2014-05-093-3/+187
| | | | | | | | | |
| * | | | | | | | | Use new function parseint32 in SplitHostPortWladimir J. van der Laan2014-05-091-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the new function parseint32 in SplitHostPort instead of calling strtol directly.
| * | | | | | | | | util: add parseint32 function with strict error reportingWladimir J. van der Laan2014-05-093-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | None of the current integer parsing functions in util check whether the result is valid and fits in the range of the type. This is required for less sloppy error reporting.
* | | | | | | | | | Merge pull request #4076Wladimir J. van der Laan2014-05-0913-508/+473
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | | | | Deduplicate uint* comparison operator logicPieter Wuille2014-05-091-69/+20
| | | | | | | | | | |
| * | | | | | | | | | Move {Get,Set}Compact from bignum to uint256Pieter Wuille2014-05-0913-199/+243
| | | | | | | | | | |
| * | | | | | | | | | Add multiplication and division to uint160/uint256Pieter Wuille2014-05-092-0/+141
| | | | | | | | | | |
| * | | | | | | | | | Exception instead of assigning 0 in case of wrong vector lengthPieter Wuille2014-05-092-10/+15
| | | | | | | | | | |
| * | | | | | | | | | Deduplicate shared code between uint160 and uint256Pieter Wuille2014-05-091-241/+65
| |/ / / / / / / / /