aboutsummaryrefslogtreecommitdiff
path: root/src/rpcprotocol.h
Commit message (Collapse)AuthorAgeFilesLines
* Move AcceptedConnection class to rpcserver.h.Jeff Garzik2014-06-271-10/+0
| | | | Also, add parens to HTTPReply() to assist readability.
* RPC cleanup: Improve HTTP server repliesJeff Garzik2014-06-261-1/+13
| | | | | | | 1) support varying content types 2) support only sending the header 3) properly deliver error message as content, if HTTP error 4) move AcceptedConnection class to header, for wider use
* 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.
* 'sendrawtransaction' improvementsWladimir J. van der Laan2014-03-271-0/+3
| | | | | - Make it report the reject code and reason - Make it possible to re-send transactions that are already in the mempool
* Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* qt: allow `walletpassphrase` in debug console without -serverWladimir J. van der Laan2014-01-171-1/+0
| | | | | | | | | | | | | | 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.
* Split up bitcoinrpc (code movement only)Wladimir J. van der Laan2013-11-271-0/+138
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.