aboutsummaryrefslogtreecommitdiff
path: root/src/test/rpc_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* rpc_tests: use BOOST_CHECK_EQUALJeff Garzik2014-08-201-16/+16
| | | | | Upon failure, BOOST_CHECK_EQUAL provides additional diagnostic information, displaying that data that failed to match.
* Add tests for BoostAsioToCNetAddrWladimir J. van der Laan2014-05-091-0/+16
|
* Add licenses for tests and test dataWladimir J. van der Laan2014-03-181-0/+4
| | | | | | | | - Add license headers to source files (years based on commit dates) in `src/test` as well as `qa` - Add `README.md` to `src/test/data` specifying MIT license Fixes #3848
* Split off rpc_wallet_testsWladimir J. van der Laan2013-12-041-71/+3
| | | | | Split wallet tests from other RPC tests. Now no #ifdef ENABLE_WALLET are needed anymore in either file.
* Delimit code with #ifdef ENABLE_WALLETWladimir J. van der Laan2013-12-041-1/+4
| | | | | Delimit all code that uses the wallet functions in implementation files that conditionally use the wallet.
* Split up bitcoinrpc (code movement only)Wladimir J. van der Laan2013-11-271-1/+2
| | | | | | | | | | | | | | 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.
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-5/+4
| | | | | | | | | 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.
* Add test for monetary value parsingWladimir J. van der Laan2013-10-231-6/+27
| | | | | | Just-in-case sanity test for JSON spirit and AmountFromValue. Also update rpc_format_monetary_values test to use ValueFromAmount, so that ValueFromAmount is also tested.
* Add test for monetary value formattingWladimir J. van der Laan2013-10-231-0/+10
| | | | | Tests for issue #3126. This problem pops up after upgrading json-spirit.
* Updated help and tests for getreceivedby(account|address)Andrey2012-12-161-7/+28
|
* Add redeemScript to listunspent output and signrawtransaction inputGavin Andresen2012-10-291-0/+20
| | | | | | | signrawtransaction was unable to sign pay-to-script-hash inputs when given the list of private keys to use. With this commit you can provide the p2sh redemption script in the list of inputs.
* Tests for raw transactions argument checkingGavin Andresen2012-10-291-1/+69
|
* No need for test fixture now that multisig is enabled on main network.Gavin Andresen2012-10-291-8/+1
|
* Wrong address added to collection in testxanatos2012-09-071-1/+1
| | | The wrong address is added to the collection. As was written a second copy of address1 was added (and so address2 was useless).
* Small fix to rpc_testsxanatos2012-06-221-3/+3
|
* Expose CRPCTable via bitcoinrpc.h for testingPieter Wuille2012-04-211-7/+2
|
* Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).Gavin Andresen2012-01-131-0/+74