Gavin Andresen
21eb5adadb
Port Thread* methods to boost::thread_group
12 years ago
freewil
10ef361169
CRPCCommand.unlocked -> CRPCCommand.threadSafe
...
unlocked could be confused with wallet encryption
12 years ago
Matt Corallo
67a11bd6c5
Add a getaddednodeinfo RPC.
12 years ago
Matt Corallo
72a348fd9a
Add addnode RPC command.
12 years ago
Jeff Garzik
fdbb537d26
Add new RPC "lockunspent", to prevent spending of selected outputs
...
and associated RPC "listlockunspent".
This is a memory-only filter, which is empty when a node restarts.
12 years ago
Gavin Andresen
34226be7a8
New createmultisig rpc command
...
This is to support the signrawtransaction API call; given the public
keys involved in a multisig transaction, this gives back the redeemScript
needed to sign it.
12 years ago
Pieter Wuille
beeb57610c
Add gettxout and gettxoutsetinfo RPCs
12 years ago
Wladimir J. van der Laan
285746d3db
Add constants for HTTP status codes
12 years ago
Wladimir J. van der Laan
738835d7b8
Document RPC error codes
...
Replace all "magic values" in RPCError(...) by constants.
12 years ago
coderrr
22dfd73598
Add address groupings RPC from the coincontrol patches.
...
Signed-off-by: Gregory Maxwell <greg@xiph.org>
12 years ago
Jeff Garzik
0e1d3551da
RPC: add facility to enable RPCs to run outside cs_main, wallet locks
...
Use with 'stop' and 'help' RPCs.
This provides a facility to individually evaluate the locking for an RPC, and
potentially make it more parallel.
12 years ago
Gavin Andresen
b4b7ed1915
Fix 32-bit build error: include util.h to get int64 typedef
12 years ago
Jeff Garzik
c625ae04d2
RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module
12 years ago
Jeff Garzik
e3bc569865
RPC, cosmetic: move wallet-related RPCs to new rpcwallet.cpp module
12 years ago
Gavin Andresen
cc6dfd1f4b
Allow signrawtransaction '...' null null 'hashtype'
...
Allows the user to pass null as the second or third parameter
to signrawtransaction, in case you need to (for example) fetch
private keys from the wallet but want to specify the hash type.
12 years ago
Gavin Andresen
899d373b3c
RPCTypeCheck method to make type-checking JSON Arrays easier.
13 years ago
Jeff Garzik
480d44bd0b
rpcdump: include cleanup. move JSONRPCError def to bitcoinrpc.h.
13 years ago
Jeff Garzik
7b671f52e0
Define BOOST_SPIRIT_THREADSAFE in all makefiles
...
rather than at each include site.
Fixes #1371
13 years ago
Fordy
3a25a2b9b0
Update License in File Headers
...
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
13 years ago
David Joel Schwartz
e9205293bd
Support multi-threaded JSON-RPC
...
Change internal HTTP JSON-RPC server from single-threaded to
thread-per-connection model. The IP filter list is applied prior to starting
the thread, which then processes the RPC.
A mutex covers the entire RPC operation, because not all RPC operations are
thread-safe.
[minor modifications by jgarzik, to make change upstream-ready]
13 years ago
Wladimir J. van der Laan
460c51fdad
Add UI RPC console / debug window
13 years ago
Pieter Wuille
e46704dd90
Expose CRPCTable via bitcoinrpc.h for testing
13 years ago
Gavin Andresen
882164196e
Update all copyrights to 2012
13 years ago
Wladimir J. van der Laan
42c405ad23
temp patch for qtui
14 years ago
Wladimir J. van der Laan
8fe2308b34
windows build fixes
14 years ago
Wladimir J. van der Laan
ba4081c1fc
move back to original directory structure
14 years ago
Wladimir J. van der Laan
69d605f410
integration of core bitcoin
14 years ago