lbrycrd/src/qt/test
Jonas Schnelli 15860448d3
[Qt] RPC-Console: support nested commands and simple value queries
Commands can be executed with bracket syntax, example: `getwalletinfo()`.
Commands can be nested, example: `sendtoaddress(getnewaddress(), 10)`.
Simple queries are possible: `listunspent()[0][txid]`
Object values are accessed with a non-quoted string, example: [txid].

Fully backward compatible.
`generate 101` is identical to `generate(101)`
Result value queries indicated with `[]` require the new brackets syntax.
Comma as argument separator is now also possible: `sendtoaddress,<address>,<amount>`
Space as argument separator works also with the bracket syntax, example: `sendtoaddress(getnewaddress() 10)

No dept limitation, complex commands are possible:
`decoderawtransaction(getrawtransaction(getblock(getbestblockhash())[tx][0]))[vout][0][value]`
2016-08-23 15:32:39 +02:00
..
Makefile build: add stub makefiles for easier subdir builds 2014-06-05 16:05:43 -04:00
paymentrequestdata.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
paymentservertests.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
paymentservertests.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
rpcnestedtests.cpp [Qt] RPC-Console: support nested commands and simple value queries 2016-08-23 15:32:39 +02:00
rpcnestedtests.h [Qt] RPC-Console: support nested commands and simple value queries 2016-08-23 15:32:39 +02:00
test_main.cpp [Qt] RPC-Console: support nested commands and simple value queries 2016-08-23 15:32:39 +02:00
uritests.cpp Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
uritests.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00