1. 26 Nov, 2014 1 commit
  2. 20 Nov, 2014 1 commit
  3. 04 Nov, 2014 1 commit
    • Daniel Kraft's avatar
      Add "warmup mode" for RPC server. · 775aace7
      Daniel Kraft authored
      Start the RPC server before doing all the (expensive) startup
      initialisations like loading the block index.  Until the node is ready,
      return all calls immediately with a new error signalling "in warmup"
      with an appropriate status message (similar to the init message).
      
      This is useful for RPC clients to know that the server is there (e. g.,
      they don't have to start it) but not yet available.  It is used in
      Namecoin and Huntercoin already for some time, and there exists a UI
      hooked onto the RPC interface that actively uses this to its advantage.
      775aace7
  4. 03 Nov, 2014 1 commit
  5. 21 Oct, 2014 1 commit
  6. 28 Aug, 2014 1 commit
    • Philip Kaufmann's avatar
      add missing header end comments · 286f7757
      Philip Kaufmann authored
      - ensures a consistent usage in header files
      - also add a blank line after the copyright header where missing
      - also remove orphan new-lines at the end of some files
      286f7757
  7. 06 Aug, 2014 2 commits
    • Wladimir J. van der Laan's avatar
      Remove size limit in RPC client, keep it in server · 91bff21a
      Wladimir J. van der Laan authored
      The size limit makes a lot of sense for the server, as it never has to
      accept very large data.
      
      The client, however, can request arbitrary amounts of data with
      `listtransactions` on a large wallet.
      
      Fixes #4604.
      91bff21a
    • Wladimir J. van der Laan's avatar
      Avoid a copy in RPC output · bf3593e3
      Wladimir J. van der Laan authored
      Split up HTTPReply into HTTPReply and HTTPReplyHeader, so that
      the message data can be streamed directly.
      
      Also removes a c_str(), which would have prevented binary
      output with NUL characters in it.
      bf3593e3
  8. 29 Jun, 2014 1 commit
    • kazcw's avatar
      fix RPC error replies · a0e3b9fb
      kazcw authored
      After pull #4288, RPC messages indicating errors have a Content-Length unrelated
      to their actual contents, rendering bitcoin-cli and curl unable to decode the
      reply.
      
      This patch sets the Content-Length field based on the actual content returned.
      
      Additionally, pull #4288 clobbered the error descriptions provided in
      ErrorReply, which bitcoin-cli relies upon; this patch moves #4288 http-error
      descriptions to an HTTPError method, allowing HTTPReply to pass content on
      unchanged.
      a0e3b9fb
  9. 27 Jun, 2014 2 commits
  10. 13 May, 2014 1 commit
  11. 27 Mar, 2014 1 commit
  12. 10 Feb, 2014 1 commit
  13. 17 Jan, 2014 1 commit
    • Wladimir J. van der Laan's avatar
      qt: allow `walletpassphrase` in debug console without -server · c4644ff4
      Wladimir J. van der Laan authored
      Currently it is only possible to use `walletpassphrase` to unlock the
      wallet when bitcoin is started in server mode.
      
      Almost everything that manipulates the wallet in the RPC console
      needs the wallet to be unlocked and is thus unusable without -server.
      
      This is pretty unintuitive to me, and I'm sure it's even more confusing
      to users.
      
      Solve this with a very minimal change: by making the GUI start a
      dummy RPC thread just to handle timeouts.
      c4644ff4
  14. 27 Nov, 2013 1 commit
    • Wladimir J. van der Laan's avatar
      Split up bitcoinrpc (code movement only) · 39d84006
      Wladimir J. van der Laan authored
      Split bitcoinrpc up into
      
      - rpcserver: bitcoind RPC server
      - rpcclient: bitcoin-cli RPC client
      - rpcprotocol: shared common HTTP/JSON-RPC protocol code
      
      One step towards making bitcoin-cli independent from the rest
      of the code, and thus a smaller executable that doesn't have to
      be linked against leveldb.
      
      This commit only does code movement, there are no functional changes.
      39d84006