aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge #10193: scripted-diff: Remove #include <boost/foreach.hpp>Wladimir J. van der Laan2017-07-041-1/+0
|\ | | | | | | | | | | | | | | | | | | b1268a1 clang-format: Delete ForEachMacros (Jorge Timón) 5995735 scripted-diff: Remove #include <boost/foreach.hpp> (Jorge Timón) 3eff827 scripted-diff: Remove BOOST_REVERSE_FOREACH (Jorge Timón) 33aed5b Fix const_reverse_iterator constructor (pass const ptr) (Jorge Timón) 300851e Introduce src/reverse_iterator.hpp and include it... (Jorge Timón) Tree-SHA512: df3405328e9602d0a433ac134ba59a5c9a6202ef64188df2f94a59b2ce58dec7c988b25d0671c7937de516a96b2e6daeb9d04c82fa363b616ee4cf6e9cb0fac6
| * scripted-diff: Remove #include <boost/foreach.hpp>Jorge Timón2017-06-221-1/+0
| | | | | | | | | | | | -BEGIN VERIFY SCRIPT- sed -i ':a;N;$!ba;s/#include <boost\/foreach.hpp>\n//' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp -END VERIFY SCRIPT-
* | [RPC] Add an uptime command that displays the amount of time that bitcoind ↵Ricardo Velhote2017-06-251-0/+17
|/ | | | has been running
* Merge #10502: scripted-diff: Remove BOOST_FOREACH, Q_FOREACH and PAIRTYPEPieter Wuille2017-06-131-3/+3
|\ | | | | | | | | | | | | | | | | 1238f13cf scripted-diff: Remove PAIRTYPE (Jorge Timón) 18dc3c396 scripted-diff: Remove Q_FOREACH (Jorge Timón) 7c00c2672 scripted-diff: Fully remove BOOST_FOREACH (Jorge Timón) a5410ac5e Small preparations for Q_FOREACH, PAIRTYPE and #include <boost/foreach.hpp> removal (Jorge Timón) Tree-SHA512: d3ab4a173366402e7dcef31608977b757d4aa07abbbad2ee1bcbcfa311e994a4552f24e5a55272cb22c2dcf89a4b0495e02e9d9aceae4b08c0bab668f20e324c
| * scripted-diff: Remove PAIRTYPEJorge Timón2017-06-051-1/+1
| | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- sed -i 's/PAIRTYPE(\([^,]*\), \([^\)]*\))/std::pair<\1, \2>/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ; sed -i ':a;N;$!ba;s/#define std::pair<t1, t2> std::pair<t1, t2>\n//' ./src/utilstrencodings.h ; -END VERIFY SCRIPT-
| * scripted-diff: Fully remove BOOST_FOREACHJorge Timón2017-06-051-3/+3
| | | | | | | | | | | | -BEGIN VERIFY SCRIPT- sed -i 's/BOOST_FOREACH *(\(.*\),/for (\1 :/' ./src/*.h ./src/*.cpp ./src/*/*.h ./src/*/*.cpp ./src/*/*/*.h ./src/*/*/*.cpp ; -END VERIFY SCRIPT-
* | Remove unused Boost includespracticalswift2017-06-091-2/+0
|/
* Merge #10395: Replace boost::function with std::function (C++11)Pieter Wuille2017-05-171-4/+4
|\ | | | | | | | | | | 1b936f5 Replace boost::function with std::function (C++11) (practicalswift) Tree-SHA512: c4faec8cf3f801842010976115681f68ffa08fbc97ba50b22e95c936840f47e1b3bd8d7fd2f5b4e094b5a46bf3d29fc90b69d975a99e77322c0d19f8a00d53d3
| * Replace boost::function with std::function (C++11)practicalswift2017-05-131-4/+4
| |
* | RPC: Allow multiple names for parametersLuke Dashjr2017-04-101-2/+12
|/
* Merge #10162: [trivial] Log calls to getblocktemplateWladimir J. van der Laan2017-04-071-3/+1
|\ | | | | | | | | | | 1352092 Log calls to getblocktemplate (John Newbery) Tree-SHA512: de2c6faac8baea2f63eb499dbcd0669062a71759050cf8bcada9b454fe82f056c23635d41c755badf55158ffc40a380f82bea1f40c8a2cc51604d981515b71eb
| * Log calls to getblocktemplateJohn Newbery2017-04-061-3/+1
| |
* | Replace includes of boost/filesystem.h with fs.hWladimir J. van der Laan2017-04-031-1/+1
|/ | | | This is step one in abstracting the use of boost::filesystem.
* [rpc] Remove auth cookie on shutdownpracticalswift2017-04-021-0/+1
| | | | Accidentally removed in 40b556d3742a1f65d67e2d4c760d0b13fe8be5b7
* Change LogAcceptCategory to use uint32_t rather than sets of strings.Gregory Maxwell2017-04-011-6/+7
| | | | | | | | | | | | | | | | | This changes the logging categories to boolean flags instead of strings. This simplifies the acceptance testing by avoiding accessing a scoped static thread local pointer to a thread local set of strings. It eliminates the only use of boost::thread_specific_ptr outside of lockorder debugging. This change allows log entries to be directed to multiple categories and makes it easy to change the logging flags at runtime (e.g. via an RPC, though that isn't done by this commit.) It also eliminates the fDebug global. Configuration of unknown logging categories now produces a warning.
* Merge #9575: Remove unused, non-working RPC PostCommand signalWladimir J. van der Laan2017-03-091-8/+0
|\ | | | | | | | | | | 54fae05 Remove unreachable code (g_rpcSignals.PostCommand) (practicalswift) Tree-SHA512: b416d63ffa1c35fa0434b6bc0a930ae1b04919a12114ef65154ce4621aa43d744eb4fc515f48eac2e96c0f528cedb4cdbe2349952d215c2c74e900a63e155e0a
| * Remove unreachable code (g_rpcSignals.PostCommand)practicalswift2017-03-091-8/+0
| |
* | Refactor: Remove using namespace <xxx> from rpc/Karl-Johan Alm2017-03-081-29/+26
| |
* | Merge #8775: RPC refactoring: Access wallet using new GetWalletForJSONRPCRequestWladimir J. van der Laan2017-03-031-4/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d678771 Wallet: Sanitise -wallet parameter (Luke Dashjr) 9756be3 Wallet/RPC: Use filename rather than CWallet pointer, for lockwallet RPCRunLater job name (Luke Dashjr) 86be48a More tightly couple EnsureWalletIsAvailable with GetWalletForJSONRPCRequest where appropriate (Luke Dashjr) a435632 Move wallet RPC declarations to rpcwallet.h (Luke Dashjr) ad15734 RPC: Pass on JSONRPCRequest metadata (URI/user/etc) for "help" method (Luke Dashjr) bf8a04a Reformat touched lines with C++11 (Luke Dashjr) 2e518e3 Move nWalletUnlockTime to CWallet::nRelockTime, and name timed task unique per CWallet (Luke Dashjr) d77ad6d RPC: Do all wallet access through new GetWalletForJSONRPCRequest (Luke Dashjr) eca550f RPC/Wallet: Pass CWallet as pointer to helper functions (Luke Dashjr) Tree-SHA512: bfd592da841693390e16f83b451503eb5cedb71208089aa32b3fc45e973555584a3ed7696dd239f6409324464d565dacf0f3d0e36e8e13ae6a7843848465f960
| * | RPC: Pass on JSONRPCRequest metadata (URI/user/etc) for "help" methodLuke Dashjr2017-02-271-4/+7
| | |
* | | remove 'label' filter for rpc command helpGregory Sanders2017-03-011-3/+0
|/ /
* | boost: remove iostreams includesCory Fields2017-02-171-2/+0
| | | | | | | | They're unused and produce nasty deprecation warnings
* | [wallet] Add include_unsafe argument to listunspent RPCRussell Yanofsky2017-01-191-5/+9
|/
* rpc: Support named argumentsWladimir J. van der Laan2017-01-051-9/+56
| | | | | | | | | | | | | | The [JSON-RPC specification](http://www.jsonrpc.org/specification) allows passing parameters as an Array, for by-position arguments, or an Object, for by-name arguments. This implements by-name arguments, but preserves full backwards compatibility. API using by-name arguments are easier to extend, and easier to use (no need to guess which argument goes where). Named are mapped to positions by a per-call structure, provided through the RPC command table. Missing arguments will be replaced by null, except if at the end, then the argument is left out completely. Currently calls fail (though not crash) on intermediate nulls, but this should be improved on a per-call basis later.
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Add option to return non-segwit serialization via rpcGregory Sanders2016-12-051-0/+8
|
* [rpc] ParseHash: Fail when length is not 64MarcoFalke2016-10-311-0/+2
|
* [RPC] Give RPC commands more information about the RPC requestJonas Schnelli2016-10-191-14/+15
|
* use std::map::emplace() instead of std::map::insert()whythat2016-08-091-1/+1
|
* use c++11 std::unique_ptr instead of boost::shared_ptrwhythat2016-08-091-4/+5
|
* [rpc] fundrawtransaction feeRate: Use BTC/kBMarcoFalke2016-06-071-8/+6
| | | | | | | | | Also introduce UniValueType UniValueType is a wrapper for UniValue::VType which allows setting a typeAny flag. This flag indicates the type does not matter. (Used by RPCTypeCheckObj)
* Add strict flag to RPCTypeCheckObjJoão Barbosa2016-04-151-1/+14
| | | | Strict flag forces type check on all object keys.
* rpc: Register calls where they are definedWladimir J. van der Laan2016-03-311-64/+0
| | | | | | | | | | | | Split out methods to every module, apart from 'help' and 'stop' which are implemented in rpcserver.cpp itself. - This makes it easier to add or remove RPC commands - no longer everything that includes rpcserver.h has to be rebuilt when there's a change there. - Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions. - Removes most of the bitcoin-specific code from rpcserver.cpp and .h. Continues #7307 for the non-wallet.
* Create generatetoaddress rpcAndrew C2016-03-211-0/+1
| | | | | | Creates the generatetoaddress rpc which is virtually identical to the generate rpc except that it takes an argument for the address to mine to. It does not rely on wallet functionality. The mining code shared by generate and generatetoaddress has been moved to another method to reduce duplication.
* Merge #7507: Remove internal minerWladimir J. van der Laan2016-03-141-2/+0
|\ | | | | | | 8d1de43 Remove internal miner (Leviathn)
| * Remove internal minerLeviathn2016-02-101-2/+0
| | | | | | | | | | This code removes the internal miner which is only useful on Testnet. This leaves the internal miner that is useful on RegTest intact.
* | Add autocomplete to bitcoin-qt's console window.Luv Khemani2016-03-121-0/+11
|/ | | | | | | Removed externs Added listCommands() to CRPCTable Move autocomplete init to RPCConsole::setClientModel()
* move rpc* to rpc/Daniel Cousens2016-01-211-0/+539