aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-21Merge pull request #6695Wladimir J. van der Laan
ddf98d1 Make RPC tests cope with server-side timeout between requests (Wladimir J. van der Laan) 2190ea6 rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeout (Wladimir J. van der Laan) 8b2d6ed http: Disable libevent debug logging, if not explicitly enabled (Wladimir J. van der Laan) 5ce43da init: Ignore SIGPIPE (Wladimir J. van der Laan)
2015-09-21Make RPC tests cope with server-side timeout between requestsWladimir J. van der Laan
Python's httplib does not graciously handle disconnections from the http server, resulting in BadStatusLine errors. See https://bugs.python.org/issue3566 "httplib persistent connections violate MUST in RFC2616 sec 8.1.4." This was fixed in Python 3.5. Work around it for now.
2015-09-21rpc: Split option -rpctimeout into -rpcservertimeout and -rpcclienttimeoutWladimir J. van der Laan
The two timeouts for the server and client, are essentially different: - In the case of the server it should be a lower value to avoid clients clogging up connection slots - In the case of the client it should be a high value to accomedate slow responses from the server, for example for slow queries or when the lock is contended Split the options into `-rpcservertimeout` and `-rpcclienttimeout` with respective defaults of 30 and 900.
2015-09-21Merge pull request #6654Wladimir J. van der Laan
5add7a7 Track transaction packages in CTxMemPoolEntry (Suhas Daftuar) 34628a1 TxMemPool: Change mapTx to a boost::multi_index_container (Ashley Holman)
2015-09-21http: Disable libevent debug logging, if not explicitly enabledWladimir J. van der Laan
Add a option "-debug=libevent" to enable libevent debugging for troubleshooting. Libevent logging is redirected to our own log.
2015-09-19Track transaction packages in CTxMemPoolEntrySuhas Daftuar
Associate with each CTxMemPoolEntry all the size/fees of descendant mempool transactions. Sort mempool by max(feerate of entry, feerate of descendants). Update statistics on-the-fly as transactions enter or leave the mempool. Also add ancestor and descendant limiting, so that transactions can be rejected if the number or size of unconfirmed ancestors exceeds a target, or if adding a transaction would cause some other mempool entry to have too many (or too large) a set of unconfirmed in- mempool descendants.
2015-09-19TxMemPool: Change mapTx to a boost::multi_index_containerAshley Holman
Indexes on: - Tx Hash - Fee Rate (fee-per-kb)
2015-09-18Merge pull request #6692Wladimir J. van der Laan
3802ae7 devtools: don't push if signing fails in github-merge (Wladimir J. van der Laan)
2015-09-18init: Ignore SIGPIPEWladimir J. van der Laan
Ignore SIGPIPE on all non-win32 OSes, otherwise an unexpectedly disconnecting RPC client will terminate the application. This problem was introduced with the libhttp-based RPC server. Fixes #6660.
2015-09-18devtools: don't push if signing fails in github-mergeWladimir J. van der Laan
If a problem happens with gpg, exit prematurely so that it doesn't push the branch upstream.
2015-09-18Merge pull request #6422Wladimir J. van der Laan
c73a8ea Clarifying offline build process using gbuild --url and noting it is not done automatically. (Midnight Magic)
2015-09-17Clarifying offline build process using gbuild --url and noting it is notMidnight Magic
done automatically. At some point along the line, fully offline builds were no longer happening when strictly following the release-process.md instructions. We should ensure that users who might want to torify or build offline need to take extra steps to remain offline. Also, corrections to build process: including gverify examples for new builders.
2015-09-17Temporarily disable ZMQ tests in bitcoin test suiteJeff Garzik
2015-09-17Merge pull request #6685Jeff Garzik
2015-09-17fix rpc-tests.shJonas Schnelli
`${testScripts[@]}` now does split up `testscript --agument` in two elements pushed to the array (`testscript` and `--agument`).
2015-09-17Merge pull request #6684Jeff Garzik
Fixes #6682
2015-09-17depends: fix platform specific packages variableJonas Schnelli
prefix instead of postfix
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)