Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 4, 2015
  1. @laanwj

    Merge pull request #6636

    laanwj authored
    93ff1b9 net: correctly initialize nMinPingUsecTime (Wladimir J. van der Laan)
  2. @laanwj

    Merge pull request #6626

    laanwj authored
    f4b9132 Update gitian build guide for Debian 8.1 (fanquake)
  3. @laanwj

    net: correctly initialize nMinPingUsecTime

    laanwj authored
    `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.
  4. @laanwj

    Merge pull request #6633

    laanwj authored
    a6eb4ba Report minimum ping time in getpeerinfo (Matt Corallo)
  5. @laanwj

    Merge pull request #5677

    laanwj authored
    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)
  6. @laanwj

    Revert "rpc-tests: re-enable rpc-tests for Windows"

    laanwj authored
    This reverts commit bd30c3d.
    
    Disable windows RPC tests for now. These should be re-enabled once a
    suitable Wine version is used on Travis.
  7. @laanwj

    doc: update deps in build-unix.md after libevent

    laanwj authored
    Add libevent, change usage of libssl from "secure communication" to
    "crypto" that's more accurate after RPC SSL support removed.
  8. @laanwj

    Merge pull request #6631

    laanwj authored
    e83df07 Update RPC generate help for numblocks to include required (Ian T)
Commits on Sep 3, 2015
  1. @TheBlueMatt
  2. @laanwj

    Merge pull request #6630

    laanwj authored
    86270c8 Replace boost::reverse_lock with our own. (Casey Rodarmor)
  3. @casey
  4. @ChainQuery

    Update RPC generate help for numblocks to include required

    ChainQuery authored
    The `generate` RPC has no default `numblocks` and a numeric value is required.
  5. @laanwj

    Merge pull request #6374

    laanwj authored
    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)
  6. @laanwj

    Merge pull request #6611

    laanwj authored
    5b85126 Update build-unix.md (Altoidnerd)
  7. @laanwj

    Merge pull request #6627

    laanwj authored
    88f856a [doc] Clarify authors in assets-attribution.md (MarcoFalke)
  8. @MarcoFalke
  9. @laanwj
  10. @theuni @laanwj

    libevent: Windows reuseaddr workaround in depends

    theuni authored laanwj committed
    Make it possible to reuse sockets.
    This is necessary to make the RPC tests work in WINE.
  11. @laanwj

    Fix race condition between starting HTTP server thread and setting Ev…

    laanwj authored
    …entBase()
    
    Split StartHTTPServer into InitHTTPServer and StartHTTPServer to give
    clients a window to register their handlers without race conditions.
    
    Thanks @ajweiss for figuring this out.
  12. @laanwj
  13. @laanwj

    Implement RPCTimerHandler for Qt RPC console

    laanwj authored
    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.
  14. @laanwj
  15. @laanwj

    evhttpd implementation

    laanwj authored
    - *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
  16. @fanquake

    Update gitian build guide for Debian 8.1

    fanquake authored
    Signed-off-by: fanquake <fanquake@gmail.com>
Commits on Sep 2, 2015
  1. @laanwj

    tests: GET requests cannot have request body, use POST in rest.py

    laanwj authored
    Sending a request body with GET request is not valid in HTTP spec, and
    not compatible with evhttpd.
  2. @theuni @laanwj

    tests: fix qt payment test

    theuni authored laanwj committed
    Now that boost no longer automatically initializes openssl, we have to
    do it ourselves.
  3. @laanwj
  4. @theuni @laanwj

    libevent: add depends

    theuni authored laanwj committed
  5. @laanwj

    Remove rpc_boostasiotocnetaddr test

    laanwj authored
    Dropping all use of boost::asio.
  6. @laanwj

    qa: Remove -rpckeepalive tests from httpbasics

    laanwj authored
    This option was a temporary workaround, and is no longer necessary
    with the new web server.
  7. @laanwj
  8. @laanwj

    Merge pull request #6620

    laanwj authored
    10e469a travis: bump wine to 1.7 (Cory Fields)
  9. @theuni

    travis: bump wine to 1.7

    theuni authored
  10. @laanwj

    Merge pull request #6617

    laanwj authored
    bfadae3 travis: for travis generating an extra build (Cory Fields)
  11. @Altoidnerd

    Update build-unix.md

    Altoidnerd authored
    If a user hasn't ready run autogen.sh, configure doesn't yet exist.  Do the instructions seem to presume you have already built bitcoin?  I don't think they do.
    
    Would stifle beginners.
    
    Update build-unix.md
Something went wrong with that request. Please try again.