aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
AgeCommit message (Collapse)Author
2012-05-23JSON-RPC: Add 'sendrawtx' op, for sending pre-built TX's to networkJeff Garzik
2012-05-20Merge pull request #1354 from fanquake/masterPieter Wuille
Update Header Licenses
2012-05-20Make testcases build, prevent windows symbol collisionWladimir J. van der Laan
2012-05-20Convert UI interface to boost::signals2.Wladimir J. van der Laan
- Signals now go directly from the core to WalletModel/ClientModel. - WalletModel subscribes to signals on CWallet: Prepares for multi-wallet support, by no longer assuming an implicit global wallet. - Gets rid of noui.cpp, the few lines that were left are merged into init.cpp - Rename wxXXX message flags to MF_XXX, to make them UI indifferent. - ThreadSafeMessageBox no longer returns the value `4` which was never used, converted to void.
2012-05-19Merge pull request #1358 from luke-jr/shared_lockchkPieter Wuille
Shared code for wallet lock help and check
2012-05-18Shared code for wallet lock help and checkLuke Dashjr
2012-05-18change strings to Bitcoin (uppercase), where it is used as a noun and update ↵Philip Kaufmann
strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string
2012-05-18Update License in File HeadersFordy
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.
2012-05-17JSON-RPC: remove 'getblocknumber' deprecated RPCJeff Garzik
RPC 'getblockcount' should be used instead.
2012-05-17Merge pull request #1334 from rebroad/Exiting2ExitedJeff Garzik
Corrected grammar. As per Principle Of Least Surprise.
2012-05-17Corrected grammar. As per Principle Of Least Surprise.R E Broadley
2012-05-14Always check return values of TxnBegin() and TxnCommit()Jeff Garzik
2012-05-13Fix warning about uninitialized valuePieter Wuille
Only reported when using -flto.
2012-05-12convert 4 tabs into 4 x 4 spaces in bitcoinrpc.cppPhilip Kaufmann
2012-05-11Merge pull request #1101 from jgarzik/http11Jeff Garzik
Multithreaded JSON-RPC with HTTP 1.1 Keep-Alive support
2012-05-09Kill warning from unavoidable signed/unsigned comparison in bitcoinrpc.cpp.Gregory Maxwell
2012-05-08RPC: Support HTTP/1.0 and HTTP/1.1, including the proper use of keep-alivesDavid Joel Schwartz
2012-05-08Support multi-threaded JSON-RPCDavid Joel Schwartz
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]
2012-05-08Support for decomposing scripts as "obj"Luke Dashjr
2012-05-08Second parameter to JSON-RPC getblock/gettransaction: decompositionsLuke Dashjr
This is an Object specifying how to decompose specific elements. Currently supported: - "tx": "no", "hash", "hex", "obj" - "script": "no", "hex", "asm"
2012-05-08Add block "confirmations" to getblock, mainly for identifying orphansLuke Dashjr
2012-05-08Merge pull request #841 from sipa/getalltransactionsGregory Maxwell
gettransaction RPC for non-wallet transactions
2012-05-08Merge pull request #1075 from laanwj/2012_04_consoleuiGregory Maxwell
Add UI RPC console / debug window
2012-05-05Add UI RPC console / debug windowWladimir J. van der Laan
2012-05-04Fixed non-sensical error messagePeter Todd
Previously trying to create a multisig address that required less than one signature would output something like the following: "wrong number of keys(got 1, need at least 0)"
2012-04-26Merge pull request #1151 from freewil/listsinceblock-blockhashGavin Andresen
listsinceblock: rpc param blockid -> blockhash
2012-04-26remove strange debug message from listsinceblockfreewil
2012-04-26listsinceblock: rpc param blockid -> blockhashfreewil
This is more consistent with the rest of the labeling seen by the user when accessing the rpc commands.
2012-04-23Add casts for unavoidable signed/unsigned comparisonsJeff Garzik
At these code sites, it is preferable to cast rather than change a variable's type.
2012-04-21Expose CRPCTable via bitcoinrpc.h for testingPieter Wuille
2012-04-21Encapsulate mapCommands in class CRPCTablePieter Wuille
2012-04-21Encapsulate RPC command dispatch in an array of CRPCCommand'sJeff Garzik
2012-04-18gettransaction RPC for non-wallet transactionsPieter Wuille
Works for wallet transactions, memory-pool transaction and block chain transactions. Available for all: * txid * version * locktime * size * coinbase/inputs/outputs * confirmations Available only for wallet transactions: * amount * fee * details * blockindex Available for wallet transactions and block chain transactions: * blockhash * time
2012-04-17Merge remote-tracking branch 'jgarzik/mempool'Pieter Wuille
2012-04-17Further reduce header dependenciesPieter Wuille
This commit removes the dependency of serialize.h on PROTOCOL_VERSION, and makes this parameter required instead of implicit. This is much saner, as it makes the places where changing a version number can have an influence obvious.
2012-04-17Move CWalletDB code to new walletdb module.Jeff Garzik
In addition to standard code separation, this change opens the door to fixing several include inter-dependencies.
2012-04-17Remove headers.hPieter Wuille
2012-04-15Fix loop index var types, fixing many minor sign comparison warningsJeff Garzik
foo.size() typically returns an unsigned integral type; make loop variables match those types' signedness.
2012-04-15The string class returns string::npos, when find() fails.Jeff Garzik
Noticed when sign-comparison warnings were enabled.
2012-04-15CTxMemPool: encapsulate AddToMemoryPoolUnchecked(), RemoveFromMemoryPool(),Jeff Garzik
and nPooledTx
2012-04-15fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]Wladimir J. van der Laan
2012-04-12Merge pull request #1041 from gavinandresen/listtransactionsfixGavin Andresen
Bug fix listtransactions from/count handling.
2012-04-11Use filesystem::path instead of manual string tinkeringPieter Wuille
Where possible, use boost::filesystem::path instead of std::string or char* for filenames. This avoids a lot of manual string tinkering, in favor of path::operator/. GetDataDir is also reworked significantly, it now only keeps two cached directory names (the network-specific data dir, and the root data dir), which are decided through a parameter instead of pre-initialized global variables. Finally, remove the "upgrade from 0.1.5" case where a debug.log in the current directory has to be removed.
2012-04-11Remove path.make_preferred() calls, and fix compiler error in bitcoinrpc RE: ↵Gavin Andresen
boost::system
2012-04-10Merge pull request #1046 from laanwj/2012_04_rpcporterrorWladimir J. van der Laan
Show error message instead of exception crash when unable to bind RPC port
2012-04-09Merge pull request #1052 from sipa/scopedlocksPieter Wuille
Use scoped locks instead of CRITICAL_BLOCK
2012-04-09Use scoped locks instead of CRITICAL_BLOCKPieter Wuille
2012-04-06Show error message instead of exception crash when unable to bind RPC portWladimir J. van der Laan
Fixes issue #875
2012-04-06fixed small error in bitcoinrpc.cppPhilip Kaufmann
2012-04-06updated bitcoinrpc.cpp to use make_preferred() and removed double inclusion ↵Philip Kaufmann
of boost/filesystem.hpp