aboutsummaryrefslogtreecommitdiff
path: root/src/rpcblockchain.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replaced occurrences of "bitcoin" with "dogecoin" or "Dogecoin" as appropriateRoss Nicoll2014-03-281-2/+2
| | | | (specific, use of "Dogecoin" as a noun are now capitalised).
* change currency three-letter-code to DOGEJannis Froese2014-03-241-1/+1
| | | | | | also change length of currency amounts in UI (cherry picked from commit inutoshi/inutoshi@8dcef8791a02327c8061235df7a77e2da6b59ee2)
* small changes to rpc command help message stringsPhilip Kaufmann2014-01-301-2/+2
|
* Move `settxfee` from rpcblockchain to rpcwalletWladimir J. van der Laan2013-12-131-24/+0
| | | | `settxfee` only affects the wallet, not the block chain.
* Add verbose boolean to getrawmempoolGavin Andresen2013-11-301-12/+63
| | | | | Also changes mempool to store CTxMemPoolEntries to keep track of when they enter/exit the pool.
* Split up bitcoinrpc (code movement only)Wladimir J. van der Laan2013-11-271-3/+1
| | | | | | | | | | | | | | 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.
* Issue #1865 - Clean up RPC help messagessje2013-11-131-16/+141
| | | | | | | | | | | | | | | | | | | Based on the proposal, update the help message of rpc methods - strings arguments are in double quotes rather than square brackets - numeric arguments have no quotes (and no default value) - optional parameters are surrounded by round brackets - json arguments are strings but don't use double quotes Added 3 sections for the details - Arguments: lists each argument, it's type, required or not, a default, and a description - Result: The method result, with json format if applicable, type, and a description - Examples: examples calls using bitcoin-cli and curl for json rpc call Problems - maybe this is too verbose - lines might be too long - description are not good or complete - examples may be too much
* Make CCoinsView use block hashes instead of indicesPieter Wuille2013-11-101-2/+4
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-2/+9
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Merge pull request #3119Pieter Wuille2013-10-201-1/+1
|\ | | | | | | db0e8cc Bump Year Number to 2013 (super3)
| * Bump Year Number to 2013super32013-10-201-1/+1
| |
* | Refactor/encapsulate chain globals into a CChain classPieter Wuille2013-10-111-8/+8
|/
* Add RPC call decodescriptPeter Todd2013-09-121-2/+2
|
* Make settxfee clear that units are btc/kb.Gregory Maxwell2013-09-051-2/+2
|
* Add 'chainwork' to getblockPeter Todd2013-07-241-0/+1
| | | | | Returns nChainWork from the block index, the total work done by all blocks since the genesis block.
* RPC: add getbestblockhash, to return tip of best chainJeff Garzik2013-07-031-0/+9
|
* Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in ↵Eric Lombrozo2013-06-231-1/+1
| | | | main.h
* RPC: add 'verifychain', to verify chain database at runtimeJeff Garzik2013-06-191-0/+16
|
* Merge pull request #2747 from luke-jr/getblock_verbose0Jeff Garzik2013-06-101-3/+17
|\ | | | | Add verbose flag to getblock RPC so it is possible to get hex dumps of blocks
| * RPC: getblock(): Accept 2nd "verbose" parameter, similar to ↵Luke Dashjr2013-06-071-3/+17
| | | | | | | | getrawtransaction, but defaulting to 1 for backward compatibility
* | Make FindBlockByHeight constant-time.Pieter Wuille2013-05-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Remove the pnext pointer in CBlockIndex, and replace it with a vBlockIndexByHeight vector (no effect on memory usage). pnext can now be replaced by vBlockIndexByHeight[nHeight+1], but FindBlockByHeight becomes constant-time. This also means the entire mapBlockIndex structure and the block index entries in it become purely blocktree-related data, and independent from the currently active chain, potentially allowing them to be protected by separate mutexes in the future.
* | Improve gettxoutsetinfo commandPieter Wuille2013-05-011-1/+4
| | | | | | | | | | | | | | | | | | * Bugfix: output the correct best block hash (during IBD, it can differ from the actual current best block) * Add height to output * Add hash_serialized, which is a hash of the entire UTXO state. Can be useful to compare two nodes. * Add total_amount, the sum of all UTXOs' values.
* | Make output of gettxout RPC more consistentPieter Wuille2013-01-041-3/+4
| | | | | | | | | | * Report "value" in BTC, rather than "amount" in satoshis * Use ScriptPubKeyToJSON to report script data
* | Split off CBlockHeader from CBlockPieter Wuille2012-11-161-1/+1
| | | | | | | | | | Cleaner and removes the need for the application-specific flags in serialize.h.
* | Add gettxout and gettxoutsetinfo RPCsPieter Wuille2012-10-201-0/+62
|/
* Document RPC error codesWladimir J. van der Laan2012-10-041-1/+1
| | | | Replace all "magic values" in RPCError(...) by constants.
* RPC, cosmetic: move more RPC code to new rpcblockchain.cpp moduleJeff Garzik2012-08-211-0/+165