aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-16configure.ac: Revert autotools-auto-updated 2.69 autoconf requirementJeff Garzik
Also, autotools reformatted the AC_ARG_ENABLE erroneously as well.
2015-09-16Merge pull request #6317Jeff Garzik
2015-09-16Merge pull request #6103Jeff Garzik
2015-09-16QA: Add ZeroMQ RPC testJonas Schnelli
2015-09-16Add ZeroMQ support. Notify blocks and transactions via ZeroMQJeff Garzik
Continues Johnathan Corgan's work. Publishing multipart messages Bugfix: Add missing zmq header includes Bugfix: Adjust build system to link ZeroMQ code for Qt binaries
2015-09-16Depends: Add ZeroMQ packageCory Fields
2015-09-16Add UpdatedBlockTip signal to CMainSignals and CValidationInterfaceJoão Barbosa
2015-09-15Merge pull request #6663Jeff Garzik
2015-09-15Merge pull request #5665Jeff Garzik
2015-09-12Fixes typo in build-osx.md.Irving Ruan
2015-09-08Merge pull request #6635Wladimir J. van der Laan
a1df1e8 [docs] add libevent dependency to build-osx.md (Jonas Schnelli) d6a92dd [release notes] mention apache reverse proxy to re-enable SSL (Jonas Schnelli)
2015-09-08Merge pull request #6579Wladimir J. van der Laan
afb0cca Add NODE_BLOOM service bit and bump protocol version (Matt Corallo)
2015-09-08Merge pull request #6594Wladimir J. van der Laan
5ffaaba Disallow duplicate windows. (Casey Rodarmor)
2015-09-08Merge pull request #6640Wladimir J. van der Laan
eb3002b [TRIVIAL] Fix typo: exactmath -> exactmatch (paveljanik)
2015-09-08Merge pull request #6644Wladimir J. van der Laan
7a7e68d Prune the -prune help to reflect that the wallet is no longer disabled. (Gregory Maxwell)
2015-09-08Merge pull request #6643Wladimir J. van der Laan
238851b [doc] [tor] Clarify when to use bind (MarcoFalke)
2015-09-08Merge pull request #6648Wladimir J. van der Laan
9cdc335 Simplify logic of REST request suffix parsing. (Daniel Kraft)
2015-09-07Prune the -prune help to reflect that the wallet is no longer disabled.Gregory Maxwell
The wallet hasn't been disabled since 3201035f22fe451c808b0bb157d33a58f0d99c07.
2015-09-07Simplify logic of REST request suffix parsing.Daniel Kraft
This patch changes the way the suffix (giving the requested data format) is parsed for REST requests. Before, the string was split at '.' characters and it was assumed that the second part was the suffix. Now, we look for the last dot and use that to determine the suffix. This allows for strings that contain dots (not used now, though), and seems, in general, to be clearer and more intuitive.
2015-09-07[docs] add libevent dependency to build-osx.mdJonas Schnelli
2015-09-06[doc] [tor] Clarify when to use bindMarcoFalke
c.f. #6585
2015-09-05Add NODE_BLOOM service bit and bump protocol versionMatt Corallo
Lets nodes advertise that they offer bloom filter support explicitly. The protocol version bump allows SPV nodes to assume that NODE_BLOOM is set if NODE_NETWORK is set for pre-70011 nodes. Also adds an option to turn bloom filter support off for nodes which advertise a version number >= 70011. Nodes attempting to use bloom filters on such protocol versions are banned, and a later upgade should drop nodes of an older version which attempt to use bloom filters. Much code stolen from Peter Todd. Implements BIP 111
2015-09-04Disallow duplicate windows.Casey Rodarmor
2015-09-04[TRIVIAL] Fix typo: exactmath -> exactmatchpaveljanik
... but not yet in trivial tree
2015-09-04Merge pull request #6636Wladimir J. van der Laan
93ff1b9 net: correctly initialize nMinPingUsecTime (Wladimir J. van der Laan)
2015-09-04Merge pull request #6626Wladimir J. van der Laan
f4b9132 Update gitian build guide for Debian 8.1 (fanquake)
2015-09-04net: correctly initialize nMinPingUsecTimeWladimir J. van der Laan
`nMinPingUsecTime` was left uninitialized in CNode. The correct initialization for a minimum-until-now is int64_t's max value, so initialize it to that. Thanks @MarcoFalke for noticing.
2015-09-04[release notes] mention apache reverse proxy to re-enable SSLJonas Schnelli
2015-09-04Merge pull request #6633Wladimir J. van der Laan
a6eb4ba Report minimum ping time in getpeerinfo (Matt Corallo)
2015-09-04Merge pull request #5677Wladimir J. van der Laan
d528025 Revert "rpc-tests: re-enable rpc-tests for Windows" (Wladimir J. van der Laan) 1e700c9 doc: update deps in build-unix.md after libevent (Wladimir J. van der Laan) 26c9b83 Move windows socket init to utility function (Wladimir J. van der Laan) 4be0b08 libevent: Windows reuseaddr workaround in depends (Cory Fields) 3a174cd Fix race condition between starting HTTP server thread and setting EventBase() (Wladimir J. van der Laan) 6d2bc22 Document options for new HTTP/RPC server in --help (Wladimir J. van der Laan) be33f3f Implement RPCTimerHandler for Qt RPC console (Wladimir J. van der Laan) 57d85d9 doc: mention SSL support dropped for RPC in release notes (Wladimir J. van der Laan) 40b556d evhttpd implementation (Wladimir J. van der Laan) ee2a42b tests: GET requests cannot have request body, use POST in rest.py (Wladimir J. van der Laan) 6e996d3 tests: fix qt payment test (Cory Fields) 3140ef9 build: build-system changes for libevent (Wladimir J. van der Laan) a9af234 libevent: add depends (Cory Fields) 6a21dd5 Remove rpc_boostasiotocnetaddr test (Wladimir J. van der Laan) 8f9301c qa: Remove -rpckeepalive tests from httpbasics (Wladimir J. van der Laan) 51fcfc0 doc: remove documentation for rpcssl (Wladimir J. van der Laan)
2015-09-04Revert "rpc-tests: re-enable rpc-tests for Windows"Wladimir J. van der Laan
This reverts commit bd30c3dced21fca869a14c75081f15195762afe1. Disable windows RPC tests for now. These should be re-enabled once a suitable Wine version is used on Travis.
2015-09-04doc: update deps in build-unix.md after libeventWladimir J. van der Laan
Add libevent, change usage of libssl from "secure communication" to "crypto" that's more accurate after RPC SSL support removed.
2015-09-04Merge pull request #6631Wladimir J. van der Laan
e83df07 Update RPC generate help for numblocks to include required (Ian T)
2015-09-03Report minimum ping time in getpeerinfoMatt Corallo
2015-09-03Merge pull request #6630Wladimir J. van der Laan
86270c8 Replace boost::reverse_lock with our own. (Casey Rodarmor)
2015-09-03Replace boost::reverse_lock with our own.Casey Rodarmor
2015-09-03Update RPC generate help for numblocks to include requiredIan T
The `generate` RPC has no default `numblocks` and a numeric value is required.
2015-09-03Merge pull request #6374Wladimir J. van der Laan
027de94 Use network group instead of CNetAddr in final pass to select node to disconnect (Patrick Strateman) 000c18a Fix comment (Patrick Strateman) fed3094 Acquire cs_vNodes before changing refrence counts (Patrick Strateman) 69ee1aa CNodeRef copy constructor and assignment operator (Patrick Strateman) dc81dd0 Return false early if vEvictionCandidates is empty (Patrick Strateman) 17f3533 Better support for nodes with non-standard nMaxConnections (Patrick Strateman) 1317cd1 RAII wrapper for CNode* (Patrick Strateman) df23937 Add comments to AttemptToEvictConnection (Patrick Strateman) a8f6e45 Remove redundant whiteconnections option (Patrick Strateman) b105ba3 Prefer to disconnect peers in favor of whitelisted peers (Patrick Strateman) 2c70153 AttemptToEvictConnection (Patrick Strateman) 4bac601 Record nMinPingUsecTime (Patrick Strateman) ae037b7 Refactor: Move failure conditions to the top of AcceptConnection (Patrick Strateman) 1ef4817 Refactor: Bail early in AcceptConnection (Patrick Strateman) 541a1dd Refactor: AcceptConnection (Patrick Strateman)
2015-09-03Merge pull request #6611Wladimir J. van der Laan
5b85126 Update build-unix.md (Altoidnerd)
2015-09-03Merge pull request #6627Wladimir J. van der Laan
88f856a [doc] Clarify authors in assets-attribution.md (MarcoFalke)
2015-09-03[doc] Clarify authors in assets-attribution.mdMarcoFalke
2015-09-03Move windows socket init to utility functionWladimir J. van der Laan
2015-09-03libevent: Windows reuseaddr workaround in dependsCory Fields
Make it possible to reuse sockets. This is necessary to make the RPC tests work in WINE.
2015-09-03Fix race condition between starting HTTP server thread and setting EventBase()Wladimir J. van der Laan
Split StartHTTPServer into InitHTTPServer and StartHTTPServer to give clients a window to register their handlers without race conditions. Thanks @ajweiss for figuring this out.
2015-09-03Document options for new HTTP/RPC server in --helpWladimir J. van der Laan
2015-09-03Implement RPCTimerHandler for Qt RPC consoleWladimir J. van der Laan
Implement RPCTimerHandler for Qt RPC console, so that `walletpassphrase` works with GUI and `-server=0`. Also simplify HTTPEvent-related code by using boost::function directly.
2015-09-03doc: mention SSL support dropped for RPC in release notesWladimir J. van der Laan
2015-09-03evhttpd implementationWladimir J. van der Laan
- *Replace usage of boost::asio with [libevent2](http://libevent.org/)*. boost::asio is not part of C++11, so unlike other boost there is no forwards-compatibility reason to stick with it. Together with #4738 (convert json_spirit to UniValue), this rids Bitcoin Core of the worst offenders with regard to compile-time slowness. - *Replace spit-and-duct-tape http server with evhttp*. Front-end http handling is handled by libevent, a work queue (with configurable depth and parallelism) is used to handle application requests. - *Wrap HTTP request in C++ class*; this makes the application code mostly HTTP-server-neutral - *Refactor RPC to move all http-specific code to a separate file*. Theoreticaly this can allow building without HTTP server but with another RPC backend, e.g. Qt's debug console (currently not implemented) or future RPC mechanisms people may want to use. - *HTTP dispatch mechanism*; services (e.g., RPC, REST) register which URL paths they want to handle. By using a proven, high-performance asynchronous networking library (also used by Tor) and HTTP server, problems such as #5674, #5655, #344 should be avoided. What works? bitcoind, bitcoin-cli, bitcoin-qt. Unit tests and RPC/REST tests pass. The aim for now is everything but SSL support. Configuration options: - `-rpcthreads`: repurposed as "number of work handler threads". Still defaults to 4. - `-rpcworkqueue`: maximum depth of work queue. When this is reached, new requests will return a 500 Internal Error. - `-rpctimeout`: inactivity time, in seconds, after which to disconnect a client. - `-debug=http`: low-level http activity logging
2015-09-03Update gitian build guide for Debian 8.1fanquake
Signed-off-by: fanquake <fanquake@gmail.com>
2015-09-02tests: GET requests cannot have request body, use POST in rest.pyWladimir J. van der Laan
Sending a request body with GET request is not valid in HTTP spec, and not compatible with evhttpd.